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

Add missing path compression option in A* planner #120

Merged
merged 2 commits into from
Jul 6, 2023

Conversation

ibrahiminfinite
Copy link
Collaborator

The mechanism to compress the A* path was missing in the implementation.

Copy link
Owner

@sea-bass sea-bass left a comment

Choose a reason for hiding this comment

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

Changes here LGTM, but this PR also includes the commits from #119. Can you isolate these?

EDIT: Did it for you

Copy link
Owner

@sea-bass sea-bass left a comment

Choose a reason for hiding this comment

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

Actually, on second thought, I'm gonna be difficult here :)

Can you add unit tests for the A-star planner, including a test that checks whether path compression shortens the overall path length? There already is something you can borrow in the test/navigation/test_rrt.py file.

@sea-bass sea-bass self-requested a review July 4, 2023 22:44
@ibrahiminfinite
Copy link
Collaborator Author

Actually, on second thought, I'm gonna be difficult here :)

Can you add unit tests for the A-star planner, including a test that checks whether path compression shortens the overall path length? There already is something you can borrow in the test/navigation/test_rrt.py file.

Haha, sure !
I am all in favour of adding tests these days lol.

@sea-bass sea-bass merged commit 0779eba into main Jul 6, 2023
4 checks passed
@sea-bass sea-bass deleted the astar-path-compression branch July 6, 2023 13:42
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.

2 participants