have send tf data from multiple robot in rviz
ROS Kinetic:
I am using 2 robot and I am not sure how to display in in rviz with amcl. What I have is each robot has its own tf. I would do
<remap from="tf" to="tf1"/>
is that wrong? I think it is wrong because rviz can only take in one tf. I did some reading and it said instead to do.
<node name="robot_state_publisher" pkg="robot_state_publisher" type="state_publisher" >
<param name="tf_prefix" value="robot_0"/>
</node>
and
<node name="robot_state_publisher" pkg="robot_state_publisher" type="state_publisher" >
<param name="tf_prefix" value="robot_1"/>
</node>
Is one of these method right? Or is there another solution. Any help is appreciated! Thank you!