Ping Servo Programming
Eleuther
Posts: 20
Hi I have been trying to write a program to make my Boe-Bot Robot be able to avoid obstacles without stopping to Ping Around. I want it to navigate smoothly and I was wondering how you would write the program to make the bot turn left/right AND have the Ping Servo fave right/left. please post any ideas or thoughts thanks.
Comments
The one downside to this approach is your robot is looking and moving, so it's possible to be looking the wrong way when an obstacle is encountered.
Heck, I like that, I'll try it myself. Forget I even mentioned it. This conversation never happened! erco? Dunno him. He never worked here.
http://www.youtube.com/watch?v=_roaoDC7NyQ
My video of simple BoeBot S-turns at http://www.youtube.com/watch?v=Z_YUsDeuT-c
You'll tweak the code to make your bot run similarly (curve L/R the same amount) and add the PING routine during/instead of the PAUSE 20, and decide when/how long/which direction to turn. Let us know how you make out.