Cannot export nodelet plugins in package.xml format 2
Hi,
When using the new package.xml format 2 ( http://docs.ros.org/indigo/api/catkin... ), I am not able to export any nodelet plugins from my package. The relevant parts of the package.xml are:
<depend>roscpp</depend>
<depend>nodelet</depend>
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
<run_depend>nodelet</run_depend>
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?
Please include your full package.xml in your question.
@Dirk Thomas FYI.
@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.