Ask Your Question

Hi.. I have data from a sensor which is t0 be transformed&broadcasted to the robot in rviz. Am using transform_broadcaster. I used ros echo to check the topic.No messages are being broadcasted. need help!

asked 2015-05-21 13:41:15 -0500

tejaprakash gravatar image

updated 2015-05-21 20:08:41 -0500

tfoote gravatar image

the code i used to broadcast it is as follows:

tf::TransformBroadcaster br_L;
tf::Transform transform_L;
tf::Quaternion q_L;
transform_L.setOrigin( tf::Vector3(FT_L_sample[0],FT_L_sample[1],FT_L_sample[2]) );
br_L.sendTransform(tf::StampedTransform(transform_L, ros::Time::now(), "world", "base_link"));
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-05-21 20:10:42 -0500

tfoote gravatar image

That looks like it will send one message. Do you have a while loop? I recommend you look at the tutorials on broadcasting tf data

edit flag offensive delete link more


yeah it sends one message for every 10 empty messages. I do have a while loop

tejaprakash gravatar image tejaprakash  ( 2015-05-22 04:35:23 -0500 )edit

Please edit your question to provide enough information to reproduce your problem. Otherwise we can't effectively help you.

tfoote gravatar image tfoote  ( 2015-05-22 10:02:34 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-05-21 13:41:15 -0500

Seen: 38 times

Last updated: May 21 '15