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

Cannot export nodelet plugins in package.xml format 2

asked 2014-09-04 01:04:12 -0500

kartikmohta gravatar image


When using the new package.xml format 2 ( ), I am not able to export any nodelet plugins from my package. The relevant parts of the package.xml are:


Trying to launch my nodelet gives me a

Failed to load nodelet [...] According to the loaded plugin descriptions the class [...] with base class type nodelet::Nodelet does not exist.

error. On running

rospack plugins --attrib=plugin nodelet

it does not list my package. But now if I add a


in the package.xml which is invalid according to the new format, rospack lists it in the plugins list but of course I'm not able to run the nodelet since the package.xml is invalid.

If I go back to package.xml format 1, everything works fine. So, is this due to some incomplete implementation of package.xml format 2?

edit retag flag offensive close merge delete


Please include your full package.xml in your question.

ahendrix gravatar image ahendrix  ( 2014-09-04 01:36:54 -0500 )edit
William gravatar image William  ( 2014-09-04 04:04:23 -0500 )edit

@kartikmohta as you describe the problem, it sounds like a bug. I believe rospack prunes the list of packages to only include ones that run_depend on the target package, in this case nodelet. It could be that this code path is not aware of the aggregate nature of the <depend> tag.

William gravatar image William  ( 2014-09-04 04:06:28 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-09-04 11:23:36 -0500

Dirk Thomas gravatar image

updated 2014-09-04 13:45:31 -0500

This is actually not yet implemented in rospack. I created a ticket to track it:

Update: A patch version has just been released into Indigo (2.2.5), Hydro and Groovy (2.1.24). It will take a while for rebuilding all packages and actually syncing the new packages to public.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-09-04 01:04:12 -0500

Seen: 584 times

Last updated: Sep 04 '14