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

Navigation costmap2d

asked 2016-08-15 11:30:49 -0600

Zeeshan gravatar image

updated 2016-08-15 12:04:33 -0600

lucasw gravatar image

i get the following error while i run the launch file with

roslaunch youbot_navigation_local move_base_local.launch

...

[ INFO] [1471278418.063178560]: Loading from pre-hydro parameter style
[ INFO] [1471278418.084275407]: Using plugin "obstacle_layer"
[ INFO] [1471278418.130269680]:     Subscribed to Topics: hokuyo_laser
[ INFO] [1471278418.162015226]: Using plugin "inflation_layer"

[ INFO] [1471278418.250150436]: Using plugin "footprint_layer"
terminate called after throwing an instance of 'pluginlib::LibraryLoadException'
  what():  According to the loaded plugin descriptions the class costmap_2d::FootprintLayer with base class type costmap_2d::Layer does not exist. Declared types are  costmap_2d::InflationLayer costmap_2d::ObstacleLayer costmap_2d::StaticLayer costmap_2d::VoxelLayer
[move_base_node-2] process has died [pid 20334, exit code -6, cmd /home/zeeshan/catkin_ws/devel/lib/move_base/move_base cmd_vel:=move_base/cmd_vel __name:=move_base_node __log:=/home/zeeshan/.ros/log/cbc6dc34-62e4-11e6-aa0c-685d435eb19f/move_base_node-2.log].
log file: /home/zeeshan/.ros/log/cbc6dc34-62e4-11e6-aa0c-685d435eb19f/move_base_node-2*.log
edit retag flag offensive close merge delete

Comments

I don't think footprint layer exists any more, obstacle layer takes care of it? Is this from https://github.com/youbot/youbot-ros-pkg ? It looks like it hasn't been updated in years.

lucasw gravatar image lucasw  ( 2016-08-15 12:08:25 -0600 )edit

so please can u tell what is the solution for this?

Zeeshan gravatar image Zeeshan  ( 2016-08-15 12:20:36 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2016-10-26 04:14:10 -0600

chengwei gravatar image

updated 2016-10-27 02:39:24 -0600

gvdhoorn gravatar image

HI,Zeeshan and lucasw,

I have the same problem when I [Creating a New Layer],(http://wiki.ros.org/costmap_2d/Tutorials/Creating%20a%20New%20Layer) I got the ERROR:

terminate called after throwing an instance of 'pluginlib::LibraryLoadException'
  what():  According to the loaded plugin descriptions the classsimple_layer_namespace::SimpleLayer with base class type costmap_2d::Layer does not exist. Declared types are blablabla ...

Can you help me, Any opinion is look acceptable.

Thank you in advance

UPDATE

I have already solved the problem, the cause of error is my format error in costmap_plugins.xml.

edit flag offensive delete link more

Comments

4

It would probably be nice if you could include what was that "format error", so that future readers can try to avoid it.

gvdhoorn gravatar image gvdhoorn  ( 2016-10-27 02:39:50 -0600 )edit
0

answered 2022-12-20 05:20:29 -0600

I met the same issue, too.

In my case, I added <depend>costmap_2d</depend> into package.xml of the package containing costmap plugin source code, and it worked.

You can check whether your original plugin is working by typing the command below.

rospack plugins --attrib=plugin costmap_2d

If your plugin is working, your original costmap_plugins.xml path would be displayed.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-08-15 11:30:49 -0600

Seen: 964 times

Last updated: Dec 20 '22