Society of Robots - Robot Forum

General Misc => Misc => Topic started by: badshot359 on December 14, 2007, 10:49:45 PM

Title: adaptive mapping - multiple goals?
Post by: badshot359 on December 14, 2007, 10:49:45 PM
Can you set multiple goals in adaptive mapping my guess is yes. my other question is if you would have to have the program reset in order to do this. ???
Title: Re: adaptive mapping - multiple goals?
Post by: Admin on December 15, 2007, 04:04:45 PM
Quote
Can you set multiple goals in adaptive mapping my guess is yes.
As many goals as you like. But you will have to figure out how your robot decides which goals to pursue, and which to ignore. For example, your robot can't drive to two locations at the same time - it can only do one goal at a time. Think of waypoints, where the robot changes goals after reaching previous goals.

When the robot reaches a goal, just erase the old start location for the current robot location, then add in the new goal location. Just two lines of code, really.
Title: Re: adaptive mapping - multiple goals?
Post by: badshot359 on December 15, 2007, 05:38:21 PM
so in otherwords yes to both of my questions and
THANK_YOU