Understaning tf2 demo launch file
I have one more question regarding the same on this page Writing a tf2 broadcaster (Python)(section 3 Running the broadcaster).
Why we need to initiate two different node named turtle1_tf2_broadcaster & turtle2_tf2_broadcaster. Can anyone explain whole code inside start_demo.launch which is here:
<launch>
<node pkg="turtlesim" type="turtlesim_node" name="sim"/>
<node pkg="turtlesim" type="turtle_teleop_key" name="teleop" output="screen"/>
<node name="turtle1_tf2_broadcaster" pkg="learning_tf2" type="turtle_tf2_broadcaster.py" respawn="false" output="screen" >
<param name="turtle" type="string" value="turtle1" />
</node>
<node name="turtle2_tf2_broadcaster" pkg="learning_tf2" type="turtle_tf2_broadcaster.py" respawn="false" output="screen" >
<param name="turtle" type="string" value="turtle2" />
</node>
</launch>