Script on how to make a boebot go through a maze
SafetyMoose
Posts: 6
I want to make my boebot go through a maze for my cat to play i read the book accept i dont know which scripts to put in there. and i dont have all the time in the world can someone help thanks
Comments
Doing mazes is a complex problem. The BoeBot has to sense paths to the side and front of the BoeBot. You are likely to need additional sensors. A PING))) with the associated servo bracket could work. To find its way, the BoeBot also has to remember what branches it's tried so far so it won't repeat something it's tried and failed at. There's limited memory available for storing this map, so the information has to be encoded in some compact form. This is not something you're going to be able to do quickly and it's not something you're going to find ready-made. Even if you could find someone else's program, you're going to have to modify it for your maze structure.
First get the BoeBot to go in a straight line for a short distance, then go in a clean circle, then exit into a straight line for another short distance. The two straight lines should line up.
'
I would start with circles and then move to ovals.