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
navfn long plans don't start at the start #16
Comments
Fixed by increasing the previous path length limit. Old limit was map-width * 4, but no indication why it was so low. I changed it to map-area / 2, which should be enough for even the worst map. There is a "cycle" limit in NavFn::propNavFnDijkstra() which is map-area / 20, which may be the new limiting factor on plan-able path length. I'm not sure exactly what a single "cycle" means though, or how it relates to path length, so leaving alone for now. |
That bug looks similar to the one presented here, but given the size of the map, I don't think it stems from the same problem. Can you open an answers.ros.org post with your configuration? |
Ok, I opened a question here: https://answers.ros.org/question/333873/why-does-navfn-return-a-path-that-doesnt-start-from-the-robot-location/ |
I also had the same problem and I solved it as increasing pathStep = 0.5 to pathStep = 1.0 |
When navfn is asked to make a plan which ends up being quite long, the plan that is returned starts somewhere between the start and goal and ends at the goal. Usually such plans are not usable because they don't tell the robot which way to go from their current location.
Attached image shows start location as a yellow square in upper right and goal location as a green square on left side. Generated path (in cyan) does not start at the start.
The text was updated successfully, but these errors were encountered: