Skip to content

Collaborative astar #1247

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

Open
wants to merge 19 commits into
base: master
Choose a base branch
from

Conversation

SchwartzCode
Copy link
Contributor

@SchwartzCode SchwartzCode commented Jul 10, 2025

Reference issue

What does this implement/fix?

This PR implements a simple priority based planner. It plans paths for multiple agents in an environment with dynamic obstacles. It plans in descending order of distance from start position to goal. Once a path is planned for an agent, all future plans will avoid that path.

The algorithm outlined in section III of this paper: https://pure.tudelft.nl/ws/portalfiles/portal/67074672/07138650.pdf

priority_planner2

priority_planner

Additional information

PR to gifs repo: AtsushiSakai/PythonRoboticsGifs#8

CheckList

  • Did you add an unittest for your new example or defect fix?
  • Did you add documents for your new example?
  • All CIs are green? (You can check it after submitting)


This is a sub-optimal algorithm because no replanning happens once paths are found. It does not guarantee the shortest path is found for any particular robot, nor that the final set of paths found contains the lowest possible amount of time or movement.

TODO: include a gif
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(waiting on this PR to merge)

@SchwartzCode SchwartzCode marked this pull request as ready for review July 10, 2025 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant