nav_msgs/Odometry to tf2_msgs/TFMessage
I am following this tutorial here for understanding how to use laserscanner data. There is a bag file which publishes laser scan data alongside odometry data. So it doesn't publish anything on /tf topic but gives out Odometry message. Is there a way to convert that Odometry info to TF ? I have rosbag file which Is there a way to convert that odometry data to tf?
What exactly do you want to publish to /tf? The pose of the robot or also the robot structure? For the latter you need to know the robot configuration (i.e. position from laserscanner to base etc.), if you just want the odometry pose as tf you can refer to this question