ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Some errors when using GlobalPlanner

asked 2020-04-24 12:40:44 -0600

willzoe gravatar image

I used navfn / NavfnROS as a global planner, it can correctly plan the path from the starting point to the target. But it seems that it does not support the A * algorithm.

So I used global_planner / GlobalPlanner instead. When I use the default parameters, it can complete the path planning correctly as navfn / NavfnROS; when I set use_dijkstra: false, although the robot can finally reach the target point, the following error will be displayed during this process:

[ERROR] [1587748810.128568179]: NO PATH!
[ERROR] [1587748810.128656787]: Failed to get a plan from potential when a legal potential was found. This shouldn't happen.

It seems that these errors did not affect the path planning, but I want to know why these errors occur.

Has anyone else encountered the same problem?

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2021-07-22 19:55:44 -0600

So Young gravatar image

I had the same issue with A* making NO PATH, but after tuning global costmap inflation radius and cost scaling factor (decreased the inflation radius and increased scaling factor so that global costmap doesn't show too wide cost around obstacle), the error seems to be gone. Compared to the potential map I was getting when the error was there, I can see the potential map is generated in a more reasonable way. (connecting the start and goal position and not covering the whole map!) This is just another option you can try if you are having the same error.

edit flag offensive delete link more

answered 2020-05-13 15:13:54 -0600

David Lu gravatar image

I believe there are bugs with the "precise start" mechanism. Try setting old_navfn_behavior to true

edit flag offensive delete link more

Question Tools



Asked: 2020-04-24 12:40:44 -0600

Seen: 1,678 times

Last updated: Jul 22 '21