How to do it…

In this section, we will develop a basic nodelet that will subscribe a topic (std_msgs/String) called /ros_in and publish the same message on the topic (std_msgs/String) called /ros_out. From there, we will discuss the workings of this nodelet.