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

Goal state changed to some other close value sometimes in waypoints #2

Open
himanshu-erol opened this issue Jun 1, 2018 · 1 comment

Comments

@himanshu-erol
Copy link

I was trying out your code while working on a path planning algorithm.
It works perfectly fine the only problem being that sometimes when i set the goal states manually to some value, when solution is found and goal states are printed, the final goal point is changed to some nearby value rather than the exact value given by me.
I am using old_path_planning code to find the waypoints using RRTstar.

@ayushgaud
Copy link
Owner

In RRTstar implementation the planner specs are set to allow approximate solutions and if no exact solution is found in the given time then it might report you the best approximate solution to the goal. You can test if the solution in approximate using pdef->hasApproximateSolution() and also find the distance from top solution to exact goal using pdef->getSolutionDifference()

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

2 participants