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

If you're trying to subscribe to the /tf topic you need to use the other datatype mentioned in your error message tf2_msgs/TFMessage

You could find that out by using rostopic info /tf.

I suggest you work through some of the core ROS tutorials which will help with your debugging.

If you're trying to subscribe to the /tf topic you need to use the other datatype mentioned in your error message tf2_msgs/TFMessage

You could find that out by using rostopic info /tf.

I suggest you work through some of the core ROS tutorials which will help with your debugging.

It's also not recommended to subscribe to /tf directly but use a TransformListener as described in the tf Tutorials