Step 5 - Adding the export tag in package.xml

We need to add the export tag in package.xml and add build and run dependencies:

<export> 
    <nodelet plugin="${prefix}/hello_world.xml"/> 
  </export> 
 
  <build_depend>nodelet_hello_world</build_depend> 
  <run_depend>nodelet_hello_world</run_depend> 

Get Mastering ROS for Robotics Programming - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.