Ask Your Question
0

Failed to create the global_planner/GlobalPlanner planner

asked 2017-11-29 22:54:19 -0500

ryanoldja gravatar image

Setup: ROS Kinetic, Ubuntu 16.04

on the TurtleBot platform, when launching the move_base node configured for the global_planner/GlobalPlanner, I receive the following error:

Failed to create the global_planner/GlobalPlanner planner, are you sure it is properly registered and that the containing library is built? Exception: According to the loaded plugin descriptions the class global_planner/GlobalPlanner with base class type nav_core::BaseGlobalPlanner does not exist. Declared types are navfn/NavfnROS

I load move_base_params.yaml within move_base as follows:

<node pkg="move_base" type="move_base" respawn="false" name="move_base" output="screen" > <rosparam file="$(find robust_navigation)/param/move_base_params.yaml" command="load" />

where the base_global_planner param is defined in move_base_params.yaml as follows: base_global_planner: "global_planner/GlobalPlanner"

I've re-installed the nav stack and re-built my workspace to no avail.

edit retag flag offensive close merge delete

Comments

What does rospack find global_planner return?

David Lu gravatar image David Lu  ( 2017-11-30 08:25:44 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-11-30 10:32:45 -0500

ryanoldja gravatar image

very sorry, the problem seems to have been caused by sourcing conflicting workspace. this is resolved. thanks!

edit flag offensive delete link more

Comments

Hello, Could you explain how did you resolve this issue? I am also facing the same error. I have created my own local planner. Thank you.

malgudi gravatar image malgudi  ( 2018-05-28 23:16:54 -0500 )edit

@mallikarjun have you figured this out? I am facing the same issue

aarontan gravatar image aarontan  ( 2018-06-13 15:09:13 -0500 )edit

Most likely, you are miising the global_planner package. Use to following command to install it, e.g. for melodic: sudo apt-get install ros-melodic-global_planner

AKN gravatar image AKN  ( 2020-04-23 12:14:31 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2017-11-29 22:54:19 -0500

Seen: 3,921 times

Last updated: Nov 29 '17