Mostrando entradas con la etiqueta tf_echo. Mostrar todas las entradas
Mostrando entradas con la etiqueta tf_echo. Mostrar todas las entradas

miércoles, 11 de agosto de 2010

Understanding how tf is generated

First of all consult this Tutorial: Introduction to tf

Here you can see how to use these basic tf tools:

> view_frames: creates a diagram of the frames being broadcast by tf over ROS.

$ rosrun tf view_frames

Here a tf listener is listening to the frames that are being broadcast over ROS and drawing a tree of how the frames are connected. To view the tree:

$ evince frames.pdf


This is an example of the tf tree of the activity of the first ticket of Assembla in the projecto of SSC-ITESM.

If you know the frames involved, you can ask tf_echo to report the transform between any two frames broadcast over ROS.

Usage:

rosrun tf tf_echo [reference_frame] [target_frame]

"Let's look at the transform of the turtle2 frame with respect to turtle1 frame which is equivalent to \large{$$\mathbf{T}_{turtle1\_turtle2} =\mathbf{T}_{turtle1\_world} *\mathbf{T}_{world\_turtle2}$$} :

$ rosrun tf tf_echo turtle1 turtle2

------

Next I read this Tutorial "Leraning tf" all in cpp: Learning tf

1) Writing a tf broadcaster (C++):

lunes, 9 de agosto de 2010

tf view_frames and tf_echo

These are two of the basic tools to use:

> view_frames: This tool creates a diagram of frames that are being broadcast by tf over ROS.

$ rosrun tf view_frames

It draws a tree of how the frames are connected, to see it use the next command:

$ evince frames.pdf

> tf_echo

tf_echo reports a transform between two frames broadcast over ROS. To use it you need to specify both frames in the command line.

like this:

rosrun tf tf_echo [reference_frame] [target_frame]