robot-software icon indicating copy to clipboard operation
robot-software copied to clipboard

Move robot out of obstacle (if any) before planning a new path

Open SyrianSpock opened this issue 8 years ago • 3 comments
trafficstars

Sometimes the opponent is detected very close to the robot and it will think it's inside the opponent bounding box obstacle. The robot should be able to first get out of this situation before recomputing a path to its goal.

SyrianSpock avatar Dec 21 '16 13:12 SyrianSpock

We also need to handle the case where we are in a static obstacle or outside the table bouding box.

antoinealb avatar Apr 12 '17 16:04 antoinealb

One way to handle this:

  • When blocked in obstacle, set a flag in the robot state
  • Provide GOAP with a safe way to get itself out of the blocked state
  • Let GOAP do the work of actually getting out when needed

SyrianSpock avatar Apr 15 '18 11:04 SyrianSpock

Maybe as a source of inspiration, how microb (authors of aversive) did it in 2009: https://github.com/onitake/aversive/blob/master/projects/microb2009/mainboard/strat_avoid.c#L233

antoinealb avatar Apr 15 '18 11:04 antoinealb