ROS进阶学习手记 8 -- 认识tf
ROS进阶学习手记 8 – 认识tf TF - Transform 官网wiki对 tf 包的文档资料: http://wiki.ros.org/tf 了解了基本的tf的作用,来看个Demo: http://wiki.ros.org/tf/Tutorials/Introduction%20to%20tf 这个demo运行了一个双龟跟随的游戏,使用 teleop_key node进行第一个龟的导引,第二个龟跟随。 $ roslaunch turtle_tf turtle_tf_demo.launch 坐标变换的公式: create three coordinate frames: a world frame, a turtle1 frame, a turtle2 frame. tf broadcaster ____turtle coordinate frames____»>tf listener tf Tools $ rosrun tf view_frames To view the tf tree: $ evince frames.pdf Using rqt_tf_tree $ rosrun rqt_tf_tree rqt_tf_tree or: $ rqt & Using tf_echo Usage: rosrun tf tf_echo [reference_frame] [target_frame] $ rosrun tf tf_echo turtle1 turtle2 #turtle2 相对于 turtle1 的位置(站在turtle1上看turtle2) rviz and tf
…