go_away

Author Topic: adaptive mapping - multiple goals?  (Read 2454 times)

0 Members and 1 Guest are viewing this topic.

Offline badshot359Topic starter

  • Jr. Member
  • **
  • Posts: 18
  • Helpful? 0
adaptive mapping - multiple goals?
« 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. ???

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,653
  • Helpful? 169
    • Society of Robots
Re: adaptive mapping - multiple goals?
« Reply #1 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.

Offline badshot359Topic starter

  • Jr. Member
  • **
  • Posts: 18
  • Helpful? 0
Re: adaptive mapping - multiple goals?
« Reply #2 on: December 15, 2007, 05:38:21 PM »
so in otherwords yes to both of my questions and THANK_YOU
« Last Edit: December 15, 2007, 05:39:38 PM by badshot359 »

 


Get Your Ad Here