0
$\begingroup$

Rosanswers logo

I've seen some code that looks like this:

 <node name="jointState2tf"
         pkg="robot_state_publisher"
         type="robot_state_publisher">
     <remap from="tf" to="hand/tf"/>
     <remap from="joint_states" to="hand/joint_states"/>
   </node>

Why would one remap the /tf topic to something else (in this case, hand/tf)? Shouldn't all Transform messages go on the /tf topic anyways?


Originally posted by Felix Duvallet on ROS Answers with karma: 539 on 2016-06-15

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

One use case I know of (apparently not the one you're referencing): you want to simulate the effects of commands without actually moving the robot. That is, you maintain two sets of tf information, one for the actual robot and one for the sim-robot, syncing them occasionally.


Originally posted by kramer with karma: 1470 on 2016-06-15

This answer was ACCEPTED on the original site

Post score: 3

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.