Elucidation / mapf-multiagent-robot-planning

Multi-Agent PathFinding (MAPF) for 2D Robots moving inventory on a grid - Practice building environment + robots + planning + inventory management etc.
MIT License
11 stars 3 forks source link

Have robots/world check that they're about to collide, error job #99

Open Elucidation opened 1 year ago

Elucidation commented 1 year ago

Right now collisions are detected but ignored besides a log message. It'd be nice if when a robot tries to move to a next path point, if that next point is blocked (by a robot or wall etc.) then it won't go there, and it doesn't pop the future path and instead the robot manager realizes robot is in error, and then job error etc. where robot will then try to replan or fail or go home?

This will allow for testing by adding new obstacles or purposefully breaking a robot (wheels don't work as an example) and seeing how the system reacts.

This will probably cause pileups as many robots will be following each other without much space, should be interesting