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

Revision history [back]

You can run

rosrun tf tf_monitor

to see which nodes publish and which frames to tf. Alternatively, you can run

  rosrun tf view_frames

and view the resulting PDF.

There is no generic way to know which frames are used inside a node, however. All nodes with tf TransformListeners receive all messages published on the tf topic, so from a ROS communication layer view there is no way to know.

You can run

rosrun tf tf_monitor

to see which nodes publish and which frames to tf. Alternatively, you can run

  rosrun tf view_frames

and view the resulting PDF.

There is no generic way to know which frames are used inside a node, however. All nodes with tf TransformListeners receive all messages published on the tf topic, so from a ROS communication layer view there is no way to know.