2

Author Topic: Learning to program with iRobot Create (first robot)  (Read 7907 times)

0 Members and 1 Guest are viewing this topic.

Offline JustAubreyTopic starter

  • Beginner
  • *
  • Posts: 5
  • Helpful? 0
Learning to program with iRobot Create (first robot)
« on: November 26, 2007, 11:44:50 PM »
So... could anyone direct me to some SUPER beginner info. Are there any tutorials to teach people basic programing with the iRobot Create? (I didn't see any one this site... I mean on other sites that I may not know about)  I googled "My first robot" and "learning to program with iRobot Create"... no dice for me.  I was given one for a project but now I don't know how to make it do what I need for my experiments.  I've done tiny stuff before in C but really I've forgotten everything.   Really I just want to put a couple LEDs on it (I have the command module) and have it run the regular roomba or "drive" code... but almost use the LEDs like a debug mechanism.

For example... hits a wall = light red LED
Going straight ( no obstacles) = light green LED
paused and turning... looking for a new viable path = light yellow LED

Any tips are welcome... I need to do this in a hurry.
God help me... this time I may actually learn to program on my own.
« Last Edit: November 27, 2007, 12:06:03 AM by JustAubrey »

Offline cooldog

  • Supreme Robot
  • *****
  • Posts: 751
  • Helpful? 4
  • be nice to nerds, one day they will be your boss
Re: Learning to program with iRobot Create (first robot)
« Reply #1 on: November 27, 2007, 06:34:36 AM »
robot will rule the world and i will be building them
-admin

favorite web sites
http://www.societyofrobots.com/
http://www.instructables.com/

Offline JustAubreyTopic starter

  • Beginner
  • *
  • Posts: 5
  • Helpful? 0
Re: Learning to program with iRobot Create (first robot)
« Reply #2 on: November 27, 2007, 03:20:24 PM »
Thanks for the reply.  I did read over this.  It's still a bit over my skill level.  My prior programing knowledge is really next to nothing.  I understand what's going on... just not how to do it all myself.  I'm trying to find friends to help.
I was really hoping someone knew of a "My first robot/ programing experience- iRobot Create."  I'll get through it.  Thanks

Offline cooldog

  • Supreme Robot
  • *****
  • Posts: 751
  • Helpful? 4
  • be nice to nerds, one day they will be your boss
Re: Learning to program with iRobot Create (first robot)
« Reply #3 on: November 27, 2007, 03:22:24 PM »
i's prety straight forward just do all the conections and re-read it. it took me 3 reads to under stand what me was talking about
robot will rule the world and i will be building them
-admin

favorite web sites
http://www.societyofrobots.com/
http://www.instructables.com/

Offline Rebelgium

  • Supreme Robot
  • *****
  • Posts: 638
  • Helpful? 0
  • It's called the future ... We like it here
Re: Learning to program with iRobot Create (first robot)
« Reply #4 on: November 27, 2007, 05:19:50 PM »
Yes, you'll have to start somewhere...
You can search on instructables.com (or .org or whatever) for irobot mods. I've seen some there, but I don't think they will be basic like you'd want.

My two cents is that it would be a good idea to replicate Admins project.  :)
because if cooldog, with exactly 8 typo's in that one line of comment, can understand it it's bound to be easy...



Sorry cooldog :D , it was too tempting.  ::)
To relax after some hard work on robotics: A very fun free online text based MMORPG
orgcrime.net

Offline cooldog

  • Supreme Robot
  • *****
  • Posts: 751
  • Helpful? 4
  • be nice to nerds, one day they will be your boss
Re: Learning to program with iRobot Create (first robot)
« Reply #5 on: November 27, 2007, 05:26:28 PM »
thank alot  lol

my key board is messed my sister took off all the buttons and switched them around
robot will rule the world and i will be building them
-admin

favorite web sites
http://www.societyofrobots.com/
http://www.instructables.com/

Offline Rebelgium

  • Supreme Robot
  • *****
  • Posts: 638
  • Helpful? 0
  • It's called the future ... We like it here
Re: Learning to program with iRobot Create (first robot)
« Reply #6 on: November 27, 2007, 05:28:10 PM »
Maybe you can make a robot that patrols around your room/desk and protects your PC from intruders like your sister. ;)
To relax after some hard work on robotics: A very fun free online text based MMORPG
orgcrime.net

Offline cooldog

  • Supreme Robot
  • *****
  • Posts: 751
  • Helpful? 4
  • be nice to nerds, one day they will be your boss
Re: Learning to program with iRobot Create (first robot)
« Reply #7 on: November 27, 2007, 05:29:32 PM »
LOL  :D ;D

robot will rule the world and i will be building them
-admin

favorite web sites
http://www.societyofrobots.com/
http://www.instructables.com/

Offline JustAubreyTopic starter

  • Beginner
  • *
  • Posts: 5
  • Helpful? 0
Re: Learning to program with iRobot Create (first robot)
« Reply #8 on: November 27, 2007, 10:00:00 PM »
Ya, I'm going to try to do that.  I need to dig out my range finder though... or what ever you call the thing on top.  I haven't used that thing since the admin helped me with my spider project... and that was -before- this site existed! ;)
This time I need to actually learn to code on my own.
I'll let you know how it goes... I'm pretty shaky with electronics... but I think I can do it.  My background is in design.

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,658
  • Helpful? 169
    • Society of Robots
Re: Learning to program with iRobot Create (first robot)
« Reply #9 on: November 28, 2007, 05:47:33 PM »
My personal opinion (non-CS opinion) is that the iRobot Create sample code was not written for beginners . . . it seriously should have been . . . I struggled for like a week to figure out just the basics.

If you study my sample code for a bit, you will see lots of comments and instructions. I tried really hard to simplify the code for less experienced people . . .

I recommend just ignoring their sample code and replicating my stuff . . .

 


Get Your Ad Here