Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It would help us if you could also identify the goal of seeing this information. If you're trying to see this information in a terminal, you can use:

rosrun tf view_frames /map /odom


rosrun tf view_frames /map /base_link

If you're trying to do this in code, you can perform this lookup in code as well.

  // Look up transform between base link and the map frame.
  tf::StampedTransform xform;
    // The waypoint frame is the source frame
    tf_.lookupTransform("/map", "/base_link", ros::Time(0), xform);
  catch (tf::TransformException ex)
    ROS_ERROR("%s", ex.what());