How to publish tf2_msgs/TFMessage using ROS_INFO
I modified the code from the sample, but it doesn't work. Any idea to make it work?
void chatterCallback(const tf2_msgs::TFMessage::ConstPtr& msg) { ROS_INFO("I heard: [%f]", msg->transforms.data()); }
Thanks in advance!
How doesn't it work? What do you expect, and what does it actually do?