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

OMPL Planners do not work when running study_static_obstacles #6

Open
alexperez33 opened this issue Mar 3, 2024 · 0 comments
Open

Comments

@alexperez33
Copy link

alexperez33 commented Mar 3, 2024

The OMPL Planners (PRM and RRT*) do not avoid obstacles when study_static_obstacles is run (in both 2D and 3D). This seems to be because the clearance function within the ValidityChecker class is always returning 1e4.

This seems to be because in lines 93 and 108, the code is re-declaring min_dist inside of their respective branch.
double min_dist = 1e4;.
Any modifications to min_dist after this are temporary, and once the branch is exited, the original min_dist value is returned.
Getting rid of lines 93 and 108 allow the OMPL planners to work in the static environments.

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

No branches or pull requests

1 participant