O'Reilly logo

Robot Operating System Cookbook by Kumar Bipin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Exporting plugins

As mentioned in the previous section, to export the plugins, we have to add the following lines to the polygon_plugins.xml package manifest file:

<export> 
  <pluginlib_tutorials_ plugin="${prefix}/polygon_plugins.xml" /> 
</export> 

To check that everything we have done is working, we will first need to build the workspace and source the resulting setup file, then try running the following rospack command:

$ catkin_make 
$ rospack plugins --attrib=plugin pluginlib_tutorials 

This should output the full path to the polygon_plugins.xml file if the ROS toolchain is set up properly to work with our plugin.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required