Any pre-made msg migration rules? (eg. tf/tfMessage)

asked 2019-12-10 17:57:43 -0500

zacwitte gravatar image

I received a rosbag, which I think, but can't be sure was recorded with Kinetic and I need to migrate it to Melodic. I've tried rosbag check and rosbag fix but it seems there are no existing rules and I need to write my own. I have a hard time believing that no one has already made scripts to migrate most of the standard ROS messages.

zac@zac-prodesk:~$ rosbag check my_old_bag.bag
WARNING: For type [tf/tfMessage] stored md5sum [94810edda583a504dfda3829e70d7eec] does not match message definition [d41d8cd98f00b204e9800998ecf8427e].
  Try: "rosrun rosbag old_bag new_bag."
The following migrations need to occur:
 * From: tf/tfMessage [d41d8cd98f00b204e9800998ecf8427e]
   To:   tf/tfMessage [94810edda583a504dfda3829e70d7eec]
    1 rules missing:
     * From: tf/tfMessage [d41d8cd98f00b204e9800998ecf8427e]
       To:   tf/tfMessage [94810edda583a504dfda3829e70d7eec]

To generate rules, please run with -g <rulefile>

I've generated the blank rulefile, but it seems like I still need to write it all myself. Is there no easier way?

edit retag flag offensive close merge delete


As far as I can tell, the TF message hasn't changed for a _long_ time. See here ( for Melodic and here ( for diamond back, they're identical down to their parts.

Did you modify that message or anything in geometry msgs and recompile?

stevemacenski gravatar image stevemacenski  ( 2019-12-10 19:25:19 -0500 )edit

I would tend to agree with @stevemacenski. TF hasn't changed in a very long time, so I'd be more inclined to believe something else is going wrong here.

A quick google shows that d41d8cd98f00b204e9800998ecf8427e is the MD5 sum of an empty string.

That does not seem right.

Is there any chance you could provide us with the .bag, or an extract of it?

Can you provide more information on the circumstances in which it was recorded?

gvdhoorn gravatar image gvdhoorn  ( 2019-12-11 03:00:25 -0500 )edit