Adding A Global Path Planner As Plugin in ROS tutorial error

asked 2017-05-23 18:54:07 -0500

avicenna gravatar image

updated 2017-05-23 19:01:22 -0500

hello, i tried to add this package. catkin_make works fine, there is no error. also source devel/setup.bash works fine.but when i change my base_global_planner in move_base.launch file, i have error message which is given below,

[FATAL] [1495582568.957827851, 4655.660000000]: Failed to create the RAstar_planner/RAstarPlannerROS planner, are you sure it is properly registered and that the containing library is built? Exception: According to the loaded plugin descriptions the class RAstar_planner/RAstarPlannerROS with base class type nav_core::BaseGlobalPlanner does not exist. Declared types are carrot_planner/CarrotPlanner global_planner/GlobalPlanner navfn/NavfnROS
[move_base-1] process has died [pid 25194, exit code 1, cmd /opt/ros/indigo/lib/move_base/move_base __name:=move_base __log:=/home/hg/.ros/log/c3bbb38c-4008-11e7-9800-ac2b6ed5e4b3/move_base-1.log].
log file: /home/hg/.ros/log/c3bbb38c-4008-11e7-9800-ac2b6ed5e4b3/move_base-1*.log

i use this project : https://github.com/coins-lab/relaxed_...

thanks,

edit retag flag offensive close merge delete

Comments

I met the same problem. Do you fix it?

brucewhut gravatar image brucewhut  ( 2018-02-01 00:47:15 -0500 )edit

You should make the .cpp file executable

panda31 gravatar image panda31  ( 2023-02-17 06:10:23 -0500 )edit