Help with Collision Avoidance Code (Boe Bot with BS2 Stamp)
Turbo240
Posts: 3
I am working on a program for the Boe Bot that uses the PING))) eyes to detect walls. When the Boe Bot detects a wall to the left it executes a right turn fine. But, when it detects a wall to the right it won't execute a left turn correctly. Here is my code, any help is greatly appreciated.
Thanks.
Edited. Code is attached to the post below.
Post Edited (Turbo240) : 3/27/2009 2:09:17 PM GMT
Thanks.
Edited. Code is attached to the post below.
Post Edited (Turbo240) : 3/27/2009 2:09:17 PM GMT
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
http://forums.parallax.com/showthread.php?p=741023
Basically, it just avoids objects that it sees or feels.