Ask Your Question

Yaphets's profile - activity

2017-07-13 04:56:10 -0500 received badge  Famous Question (source)
2017-07-13 04:56:10 -0500 received badge  Notable Question (source)
2017-07-13 04:55:59 -0500 received badge  Notable Question (source)
2017-07-13 04:55:59 -0500 received badge  Famous Question (source)
2016-04-18 03:46:31 -0500 received badge  Popular Question (source)
2016-04-18 03:46:11 -0500 received badge  Popular Question (source)
2016-03-01 10:04:40 -0500 received badge  Taxonomist
2016-02-05 11:54:38 -0500 asked a question How to publish tf2_msgs/TFMessage using ROS_INFO

I modified the code from the sample, but it doesn't work. Any idea?

void chatterCallback(const tf2_msgs::TFMessage::ConstPtr& msg) { ROS_INFO("I heard: [%f]", msg->transforms.data()); }

ros::Subscriber sub = n.subscribe("tf", 1000, chatterCallback);

Thanks in advance.

2016-02-05 11:54:37 -0500 asked a question 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!