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

The Plugin XML File

Here's the XML:

<library path="lib/libpolygon_plugins"> 
  <class type="polygon_plugins::Triangle" base_class_type="polygon_base::RegularPolygon"> 
    <description>This is a triangle plugin.</description> 
  </class> 
  <class type="polygon_plugins::Square" base_class_type="polygon_base::RegularPolygon"> 
    <description>This is a square plugin.</description> 
  </class> 
</library> 

This is where the library tag provides the relative path of the library that contains the plugins. Similarly, the class tag declares a plugin that will be exported from the plugins library.

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