ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

In ROS launch files are used to start multiple nodes with one command. In the above example one starts the same node multiple times but using different parameters. So basically following will happens:

  1. one starts turtle sim node with a name sim
  2. teleoperation node for turtlesim node is started
  3. node with a name turtle1_tf2_broadcaster is started and listens on a topic /turtle1/pose
  4. node with a name turtle2_tf2_broadcaster is started and listens on a topic /turtle2/pose

So basically the two broadcasters will broadcast different stuff depending on subscribed topic.