go away spammer

Author Topic: Help with IRobot Create Script  (Read 2431 times)

0 Members and 1 Guest are viewing this topic.

Offline thesitchTopic starter

  • Beginner
  • *
  • Posts: 1
  • Helpful? 0
Help with IRobot Create Script
« 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

Offline madsci1016

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,450
  • Helpful? 43
    • Personal Website
Re: Help with IRobot Create Script
« Reply #1 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

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

 


Get Your Ad Here

data_list