Is it possible to reuse the tf::TransformBroadcaster
It is simple as mentioned above. Is it possible to reuse the object br
for multiple transforms having different parent and child frames
static tf::TransformBroadcaster br;
br.sendTransform( tf::StampedTransform(tf, ros::Time::now(), "frame_1", "frame_2") );
br.sendTransform( tf::StampedTransform(tf, ros::Time::now(), "frame_2", "frame_3") );
The question popped reading the tutorial here.
Furthermore where should I start looking when the terminal erros me nan_input for the send transform, assuming the quaternion is fine, a normalized unit quaternion.
tf::Quaternion q_f2tof3(rot[3], rot[4], rot[5], qw);
tf::Transform(q_f2tof3, tf::Vector3(0,0,0))