ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Instead of a std_msgs::String you would put a tf::tfMessage.
Warning: This is OK, for playing around and testing (maybe a laser or similar might be more suited), but you should not use that for actual working with tf. The tf library features dedicated classes encapsulating tf messages for broadcasting and subscribing (TransformListener).