Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SyrianSpock opened this issue Dec 21, 2016 · 3 comments
Open

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

SyrianSpock opened this issue Dec 21, 2016 · 3 comments
Labels
enhancement strategy related to game strategy

Comments

@SyrianSpock
Copy link
Member

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.

@antoinealb antoinealb added this to the belgium-2017 milestone Apr 12, 2017
@antoinealb
Copy link
Member

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

@SyrianSpock SyrianSpock removed this from the belgium-2017 milestone Aug 21, 2017
@SyrianSpock
Copy link
Member Author

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

@antoinealb
Copy link
Member

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

@SyrianSpock SyrianSpock added the strategy related to game strategy label Nov 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement strategy related to game strategy
Projects
None yet
Development

No branches or pull requests

2 participants