changing/remove singe tf transformation in a rosbag

asked 2019-08-20 02:59:49 -0500

Markus Bader gravatar image

Hello

I have a huge bag file and notice that there is a wrong static tf. Is there an easy way to change the bag file? I just want to change a single transformation.

Thanks

edit retag flag offensive close merge delete

Comments

1

Yes: use a simple Python script (examples here) and iterate over all broadcasted TF messages, compare the frame_id to single out the msgs that need to be changed, update them and then write them out again.

there is a wrong static tf.

is this an actual "static TF", or a regular transform that just doesn't change?

gvdhoorn gravatar image gvdhoorn  ( 2019-08-20 03:22:49 -0500 )edit