Feature: Bidirectional A*#40
Merged
ShisatoYano merged 5 commits intoJan 29, 2026
Merged
Conversation
Contributor
Author
|
@ShisatoYano I can generate a gif for an environment where Bidir A* actually performs better if needed. The sim here was a bad scenario for it Also, any rule on maps ? do you want to use the same map for all planners ? |
Owner
|
@guilyx Wow, thank you for this fantastic PR! Bidirectional A* is a great addition to this project. Yes, I wanna ask you to generate a gif for an environment where Bidir A* actually performs better. Can you improve the current scenario? We don’t have any rules for map. You can change the location of obstacles to show the better performance of Bidir A*. |
ShisatoYano
approved these changes
Jan 29, 2026
Owner
|
Hi @guilyx, your PR is LGTM and was merged successfully. I want to announce your PR was merged on X and LinkedIn. Could you tell me those accounts if you have? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR adds a bidirectional A* path planning algorithm that simultaneously searches from both the start and goal positions. This approach can be more efficient than standard A* as it explores fewer nodes in many scenarios.
Changes
New path planner:
src/components/plan/astar_bidirectional/astar_bidirectional_path_planner.pyTest:
test/test_astar_bidirectional_path_planning.pySimulation:
src/simulations/path_planning/astar_bidirectional_path_planning/Documentation: Updated README.md
Benefits
Testing