global_planner Failed to get a plan from potential when a legal potential was found.

asked 2015-04-02 16:07:56 -0500

MMA gravatar image

updated 2015-04-02 21:26:14 -0500

Hello,

I am comparing between a global planner that we integrated to ROS, and the global planners in ROS (navfn and global_planner)

I am running a tour between several waypoints. The tour run successfully with navfn package and our global planner.

When I tried to run the global_planner, it does not work for all cases, at first it work fine for A* and use_grid_path:

use_dijkstra: false
use_grid_path: true

and it work for:

use_dijkstra: true
use_grid_path: false

When I tried to set (use_dijkstra: true use_grid_path: true) or (use_dijkstra: false use_grid_path: false) I got following error:

[ERROR] [1428007403.359484659]: NO PATH!
[ERROR] [1428007403.360301729]: Failed to get a plan from potential when a legal potential was found. This shouldn't happen.
edit retag flag offensive close merge delete

Comments

This question is quite old but I found myself in the same problem just today. It's a move base configuration problem. So I solved it by setting the following move base parameters:

base_global_planner: "navfn/NavfnROS"

also make sure that your planner patience is high enough:

planner_patience: 15

This worked for me.

53r61 gravatar image 53r61  ( 2022-01-06 07:07:30 -0500 )edit