ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Where is all the frames information

asked 2018-11-21 00:13:17 -0600

AutoCar gravatar image


I am using a robot system and tying to understand the tf. When I open rviz, I saw the following frames available to be selected for Fixed Frame: odom, laser, base_link, base_footpinrt, base_imu_link. However, when I call

rostopic echo tf

I saw only the transformation from odom to base_link.

I am wondering where the transformations between other components, for example from base_link to lase, is defined?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2018-11-21 00:59:29 -0600

mgruhler gravatar image

Typically, those are static transforms, i.e. they don't change over time.

This is why they are published, most often using either a URDF in combination with the robot_state_publisher or a static_transform_publisher.

Typically, on tf, you only find the dynamic transforms, not the static ones...

edit flag offensive delete link more



For reference the static transforms are published on the /tf_static topic.

ahendrix gravatar image ahendrix  ( 2018-11-21 01:15:55 -0600 )edit

My tf_static has base_link to base_footprint only. It does not have laser. Where can I find the transformation from odom to laser then?

AutoCar gravatar image AutoCar  ( 2018-11-21 01:20:53 -0600 )edit

Sorry, I was wrong, I did see base_link to laser in tf_static...

AutoCar gravatar image AutoCar  ( 2018-11-21 01:24:04 -0600 )edit

thanks @ahendrix for adding this. I wasn't sure if all static tfs are published on tf_static and did not find anything when briefly checking out the source code...

mgruhler gravatar image mgruhler  ( 2018-11-21 01:51:02 -0600 )edit

Question Tools



Asked: 2018-11-21 00:13:17 -0600

Seen: 795 times

Last updated: Nov 21 '18