What is the difference between static_transform_publisher and tf_echo command?
I just started learning tf that is one of the most useful package of ROS. I came across two command-line tool 1)tf_echo
and 2) static_transform_publisher
.
1) rosrun tf tf_echo <source-frame> <target-frame>
2) rosrun tf2_ros static_transform_publisher <X Y Z qX qY qZ qW> <source-frame> <target-frame>
tf_echo
gives a transformation between source and target link. While static_transform_publisher
also gives a transform between two links.
Then why we have two command-line tool for same thing. If I mistaken understanding of these comand-line tool, please correct me.