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

octomap_server nodelet missing under Hydro

asked 2013-11-13 22:10:50 -0600

Huibuh gravatar image

updated 2013-11-14 10:45:46 -0600

tfoote gravatar image


1) After successfully running octomap_server as node, I would like to try running it as nodelet. If I roslaunch octomap_server octomap_mapping_nodelet.launch I get the following error:

[ERROR] [1384422211.742630096]: Failed to load nodelet [/octomap_server_nodelet] of type [octomap_server/OctomapServerNodelet]: According to the loaded plugin descriptions the class octomap_server/OctomapServerNodelet with base class type nodelet::Nodelet does not exist.

Looking at the contents of /opt/ros/hydro/share/octomap_server, I can see that there is no nodelet_plugins.xml file in there. I am using the latest octomap_server binary package that comes with Hydro. The dev version, however, does contain the nodelet definition file, see

2) When cloning into my workspace and compiling it with catkin_make, I get this "no matching function" error:

In file included from /home/ros/catkin_ws/src/octomap_mapping/octomap_server/src/OctomapServerMultilayer.cpp:30: /opt/ros/hydro/include/pcl_conversions/pcl_conversions.h: In function ‘void pcl_conversions::fromPCL(const PointIndices&, pcl_msgs::PointIndices&)’: /opt/ros/hydro/include/pcl_conversions/pcl_conversions.h:265:37: error: no matching function for call to ‘fromPCL(const _header_type&, pcl_msgs::PointIndices_<std::allocator<void> >::_header_type&)’

@AHornung:Any idea what is broken here?


edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2013-11-14 00:55:01 -0600

AHornung gravatar image

Regarding 1: Looks like the file nodelet_plugins.xml is not installed via CMake so it's missing from the binary install. This could be related to this issue on octomap_mapping. That should be easy to fix similar to this commit/patch:

Regarding 2: Cloning the devel version (hydro-devel branch) should definitely work and compile, I just verified. Could it be that you have an outdated version of pcl_conversions installed?

edit flag offensive delete link more


Thanks Armin, I managed to resolve both issues. 1): Now using octomap_mapping compiled from source which included the nodelet definition. 2): My catkin_ws was currupted. After deleting the build and devel folders and recreating them the octomap_mapping package compiled without errors. Thanks, Heiko

Huibuh gravatar image Huibuh  ( 2013-11-14 02:21:49 -0600 )edit

I just pushed the fix for the installation to the hydro-devel branch, will be part of the next release.

AHornung gravatar image AHornung  ( 2013-11-14 02:23:44 -0600 )edit

Question Tools

1 follower


Asked: 2013-11-13 22:10:50 -0600

Seen: 298 times

Last updated: Nov 14 '13