Society of Robots - Robot Forum

Software => Software => Topic started by: thesitch on January 15, 2011, 07:32:13 PM

Title: Help with IRobot Create Script
Post by: thesitch on January 15, 2011, 07:32:13 PM
Hey,

I was having trouble figuring out how to use the scripting program for the Irobot create.


158 17 153 145 0 100 0 100 145 255 50 255 50 145 0 0 0 0 153 158 17 153

158 17 //press play; 153 //repeat; 145 0 100 0 100 //forward; 145 255 50 255 50//backwards; 145 0 0 0 0//stop;

The above command makes the roomba go forwards, back, then it repeats this one more time before stopping. While I figured out how to make an infinite loop, I was wondering if anyone knew how to make the roomba repeat things more than twice while still having the ability to stop.

Thanks
Title: Re: Help with IRobot Create Script
Post by: madsci1016 on January 15, 2011, 08:13:23 PM
I haven't used the scripts but I know they are limited. It's infinitely easier to just use a micro-controller to control the Roomba. You can even use the $50 robot controller to drive the Roomba for <$10 in parts.

Here I use an Axon to drive it around.

Axon 2 Irobot Create Force Field Test (http://www.youtube.com/watch?v=ZM2zNgn73q0&feature=player_embedded#)

Just a thought if you can't figure out the scripts.