Skip to Content
Robot Operating System Cookbook
book

Robot Operating System Cookbook

by Kumar Bipin
June 2018
Intermediate to advanced
484 pages
11h 36m
English
Packt Publishing
Content preview from Robot Operating System Cookbook

Plugin description

Similar to pluginlib, we will create a plugin description file called hello_ros.xml inside the nodelet_hello_ros package with the following contents:

<library path="libnodelet_hello_world"> 
<class name="nodelet_hello_world/Hello" type="nodelet_hello_world::Hello" base_class_type="nodelet::Nodelet"> 
      <description> 
      A node to duplicate a message 
      </description> 
</class> 
</library> 

Moreover, we will also add the export tag in package.xml, along with the build and runtime dependencies (optional):

<export> 
    <nodelet plugin="${prefix}/hello_ros.xml"/> 
</export> 
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mobile Intelligent Autonomous Systems

Mobile Intelligent Autonomous Systems

Jitendra R. Raol, Ajith K. Gopal
Wheeled Mobile Robotics

Wheeled Mobile Robotics

Gregor Klancar, Andrej Zdesar, Saso Blazic, Igor Skrjanc

Publisher Resources

ISBN: 9781783987443Supplemental Content