Many of the tf tutorials are available for both C++ and Python. The tutorials are streamlined to complete either the C++ track or the Python track. If you want to learn both C++ and Python, you should run through the tutorials once for C++ and once for Python.
Contents
All these tutorials assume that you have setup your tutorial workspace. If you have not done so click here.
Setting up the ROS tutorial workspace
This describes how to setup your environment for tutorials.
Create a file named ~/tutorials.rosinstall with the following content:
- other: { local-name: workspace }To overlay on the ROS distro you are using:
rosinstall ~/tutorials /opt/ros/%YOUR_ROS_DISTRO% ~/tutorials.rosinstall
Fill in %YOUR_ROS_DISTRO% with either { electric, fuerte } or any distro you use.
To use this workspace whenever you open a new terminal setup your ROS environment by typing:
source ~/tutorials/setup.bash
Sourcing this file adds ~/tutorials/workspace to your ROS_PACKAGE_PATH.
Create a file named ~/tutorials.rosinstall with the following content:
- other: { local-name: workspace }To overlay on the ROS distro you are using:
rosinstall ~/tutorials /opt/ros/%YOUR_ROS_DISTRO% ~/tutorials.rosinstall
Fill in %YOUR_ROS_DISTRO% with either { electric, fuerte } or any distro you use.
To use this workspace whenever you open a new terminal setup your ROS environment by typing:
source ~/tutorials/setup.bash
Sourcing this file adds ~/tutorials/workspace to your ROS_PACKAGE_PATH.
Create catkin workspace by following this tutorial. Don't forget to source setup script as mentioned in it.
Any packages you create in that directory will be found by rospack.
An alternative to source your script file is to add it to your .bashrc, but remember that this will persist in your .bashrc into the future, and you can only have one environment setup. For more on what this is doing see this page
Learning tf
C++ |
Python |
|
|
Now that you have completed these tutorials please take the time to complete this short questionnaire.
Debugging tf
- Debugging tf problems
This tutorial gives a systematic approach for debugging tf related problems.
Using sensor messages with tf
- Using Stamped datatypes with tf::MessageFilter
This tutorial describes how to use tf::MessageFIlter to process Stamped datatypes.
Setting up your robot with tf
- Setting up your robot using tf
This tutorial provides a guide to set up your robot to start using tf.
- tf を用いたロボットのセットアップ
このチュートリアルでは tf を使ってロボットをセットアップする方法を学びます.
- Using the robot state publisher on your own robot
This tutorial explains how you can publish the state of your robot to tf, using the robot state publisher.
- Using the robot state publisher on your own robot
このチュートリアルでは robot state publisher を使うことで,どのようにしてロボットの状態を tf に publish できるのかを学びます.
Create a new tutorial:
Video Tutorial (PR2 Beta Workshop)






