osrf / capabilities

Implements the concept of capabilities as part of the robots-in-concert system.
Other
8 stars 26 forks source link

added a builtin nodelet manager to the server #47

Closed wjwwood closed 10 years ago

wjwwood commented 10 years ago

All launch files now get the argument capability_server_nodelet_manager_name set to the name of the nodelet manager so that they may use it to load their nodelet's into.

Closes #42

wjwwood commented 10 years ago

@dirk-thomas I can't figure out why this CI is failing, do you have any idea? I am getting this error:

terminate called after throwing an instance of 'pluginlib::LibraryLoadException'
  what():  rospack could not find the nodelet package containing nodelet::Nodelet

I am trying to run this launch file:

https://github.com/osrf/capabilities/blob/issue_42/src/capabilities/capability_server_nodelet_manager.launch

as part of the capability_server. This works for me locally, can you see anything wrong with my .travis.yml or my make coverage command which might lead to this?

dirk-thomas commented 10 years ago

pluginlib internal uses roslib API which executes rospack to find the libraries containing plugins. It basically run the following command:

rospack plugins --attrib=plugin nodelet

In your case I assume it does not find a single plugin and pluginlib signals that wrongly as an exception: https://github.com/ros/pluginlib/blob/groovy-devel/include/pluginlib/class_loader_imp.h#L185

Try to add a dummy plugin to your environment and I would assume the error goes away.

Now ticketed here: ros/pluginlib#22

wjwwood commented 10 years ago

Ok, thanks.