What do you mean by "boe bot navigation"? What do you mean by "IR navigation"?
What do you mean by "transition"? How do you want the BoeBot to behave when it senses something?
I want my boe bot to do some maneuvers like forward, turn right, turn left, ect.Then I want it to come to a stop and go into Navigating with Infrared Headlights.
Have you actually looked at the Robotics with the BoeBot tutorial that comes with the BoeBot, can be downloaded from Parallax, and comes with the help files of the Stamp Editor? This navigates with IR headlights and contains routines to do the maneuvers you mentioned. If you don't understand Parallax Basic, you need to go through the "What's a Microcontroller?" tutorial, also downloadable from Parallax and included with the Stamp Editor.
Thanks, I have read the Robotics with the BoeBot tutorial, but I still dont understand how to do it. I will take a look at "What's a Microcontroller?" tutorial.
The Robotics with the BoeBot tutorial is pretty thorough. The IR Navigation section starts around page 249 and goes through adapting and modifying the Roaming with Whiskers program to use IR distance sensing, then further refining it for more sophisticated IR navigation.
The original Roaming programs have subroutines for the various movements. If you want the BoeBot to go through some fixed maneuvers before starting the main navigation loop, put subroutine calls before the beginning of the main loop.
[FONT="]I have done the IR part, but I don’t know how to make the bot blindly follow a set course like forward 1 foot, turn left, forward 1foot, turn left, and forward 1 foot without IR, and then start moving around with IR navigation. I will check out the book some more. [/FONT]
The "moving forward 1 foot" will take some experimentation. The move forward and move backward subroutines move for period of time at a speed dependent partially on the servos you have and what kind of surface the wheels are on. You'll have to vary the loop counts to get approximately a foot of movement. Unless you add the wheel encoders, there's no way to get exact distances.
Comments
What do you mean by "transition"? How do you want the BoeBot to behave when it senses something?
The original Roaming programs have subroutines for the various movements. If you want the BoeBot to go through some fixed maneuvers before starting the main navigation loop, put subroutine calls before the beginning of the main loop.