$ sudo apt-get update $ sudo apt-get install ros-noetic-turtle-tf2 ros-noetic-tf2-tools ros-noetic-tf $ sudo apt install evince $ roslaunch turtle_tf2 turtle_tf2_demo.launch
$ rosrun tf2_tools view_frames.py $ evince frames.pdf
$ rosrun tf tf_echo turtle1 turtle2 At time 1677784974.758 - Translation: [0.000, 0.000, 0.000] - Rotation: in Quaternion [0.000, 0.000, -0.200, 0.980] in RPY (radian) [0.000, 0.000, -0.402] in RPY (degree) [0.000, 0.000, -23.046] $ rosrun tf tf_echo turtle1 world rosrun tf tf_echo turtle1 world At time 1677785078.262 - Translation: [-5.544, -5.544, 0.000] - Rotation: in Quaternion [0.000, 0.000, 0.000, 1.000] in RPY (radian) [0.000, -0.000, 0.000] in RPY (degree) [0.000, -0.000, 0.000]
$ rosrun rviz rviz -d `rospack find turtle_tf2`/rviz/turtle_rviz.rviz
$ roslaunch samples tf2_demo.launch $ rosrun tf tf_echo /world /turtle1
$ roslaunch samples tf2_demo.launch $ rosrun tf tf_echo /world /turtle1 $ rosrun tf tf_echo /world /turtle2