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

Revision history [back]

click to hide/show revision 1
initial version

Your turtlebot's URDF should already have joints defined which implicitly define the base_scan -> base_link transformation. These should all be fixed joints so it will be a static transform. As long as you have a robot_state_publisher node using the URDF, that transformation will be published on /tf_static.

If you need to perform the frame conversion somewhere in your code to get the instantaneous positions in the base_link frame, you can look at tf2_ros's buffer_interface. But many applications (e.g. rviz) will be able to do these transformations automatically if the robot_state_publisher is running.