SumoBot Modified Code out there?
George Sutton
Posts: 180
in Robotics
I know folks don't usually want to give away their secrets when it comes to competition, but I would be interested in any tips, tricks, or modified code for the SumoBot. I have the Sumobot Competition Kit, and while I won't be competing anywhere, I would like to play around with the code and learn from it, and maybe teach my kids some additional sumobot fighting skills. Thanks for any pointers, strategies, or code snippets.
Comments
You could code the robot logic on the esp8266 as well if you want. I find the basicstamp to be pretty frustrating since you have to effectively count cycles to get the servo timing right. (Is this what inspired the propeller? Am I doing it wrong?)
Haven't played with sumobots in some years. I'll look and see if I can locate some code. I also switched over to a Prop for the brain, not sure what yours use.
One thing we did that worked well was adding a tilt switch. We found that often when one was being shoved out of the ring it would get lifted up. If the tilt was detected, the bot did a back up/turn move that was pretty effective. We also added better sensors for opponent detection. Physically we modified them to change the center of balance so that there was more weight on the scoop. We also made scoops that were better at getting under an opponents scoop.
Jonathan
Jonathan,
Thanks for the reply. My sumobots are stock Stamp. I bet you can do lots of neat stuff with a Propeller on one of these things. I really like the idea of a tilt sensor... I have one and it should be easy to implement. I had not thought of that before. Different scoop design... again, never even thought of that. Thanks for the ideas.
Parallax uses a variation on the XBee SumoBot Tilt-Controller project for our in-house SumoBot demos. They're fun and visitors really like navigating (and battling) with the robots wirelessly using tilt-controllers.
You can check out the project here: http://learn.parallax.com/tutorials/projects/xbee-sumobot-tilt-controller
Pictures on P1 and link to project on P3
http://forums.parallax.com/discussion/166987/another-new-chip-bbc-micro-bit-go/p1
http://forums.parallax.com/discussion/166987/another-new-chip-bbc-micro-bit-go/p3
Anyways I think that having at least one remote controlled bot would help in the testing of an autonomous bot.