Version (Ubuntu 12.04 X64+hydro)
Tutorial Browsing: http://wiki.ros.org/tf/Tutorials
1, writing a TF broadcaster (c + +)
http://wiki.ros.org/tf/Tutorials/Writing%20a%20tf%20broadcaster%20%28C%2B%2B%29# Ca-bbe9f0e7287601c92c89c77659f8eac567563f3f_17
Tf_tree
Node diagram
2, writing a TF listener (c + +)
3, adding a frame (c + +)
4, slightly
5. Time travel with TF (c + +)
Problems encountered in the middle:
1. TF tutorial:cannot launch node of typeQuestion: When learning (Http://wiki.ros.org/tf/Tutorials/Writing%20a%20tf%20listener%20%28C%2B%2B%29)
When following the TF tutorial,there are errors here:after typing "roslaunch turtle_tf_broadcaster start_demo.launch", it Returns "Error:cannot launch node of type [Learning_tf/turtle_tf_broadcaster]: Can ' t locate node [Turtle_tf_broadcaster] In package [LEARNING_TF] "How can I correct it?"
Solve:
Executing the command "source devel/setup.sh" in the Catkin workplace before the running file. (I always forget to run it ...)
http://answers.ros.org/question/74608/tf-tutorialcannot-launch-node-of-type/
2, unable to locate package Rqt_tf_tree solution: Http://wiki.ros.org/rqt/UserGuide/Install/Groovy
If you have want to install a specific RQT plugin (Rqt_tf_tree for instance):
$ sudo apt-get install Ros-%your_ros_distro%-rqt-tf_tree
Likewise:
$ sudo apt-get install Ros-groovy-rqt-tf_tree
At this point, if you run Rosrun Rqt_moveit Rqt_tf_tree, you may receive the following problems:
"RQT Plugin not listed/found in list returned by" RQT--list-plugins ""
At this point the solution:
$ RM ~/.config/ros.org/rqt_gui.ini
$ rqt
So in the plugins list can find the corresponding plug-ins. Default Plugin list: (http://wiki.ros.org/rqt/Plugins)
3, according to the Http://wiki.ros.org/navigation/Tutorials/RobotSetup/TF operation, midway encounter a recurring forgotten to do things caused by the problem: about the tutorial on Setting Up your robot using TF
Workaround:
http://answers.ros.org/question/137566/about-the-tutorial-on-setting-up-your-robot-using-tf/
Re-source the setup.sh file inside the workspace: source~/catkin_make/devel/setup.sh (Note: catkin_make for workspace)