Ask Your Question

How to convert old bag files to newer messagetypes

asked 2014-12-19 09:37:05 -0500

ptw gravatar image

We have many older bag files(fuerte) from our robot system and we want to use them with indigo. The problem is, that the message versions are not the same and they can't be parsed by newer programs. As an Example here is the error message from rosbag when we tried to display an image topic:

Client [/image_view_1419002470714874703] wants topic /usb_cam_side/image_raw/compressed to have datatype/md5sum [sensor_msgs/Image/060021388200f6f0f447d0fcd9c64743], but our version has [sensor_msgs/CompressedImage/8f7a12909da2c9d3332d540a0977563f]. Dropping connection.

Is there a way to convert the files, so we can use them with the newer ros version?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-12-19 12:38:30 -0500

kmhallen gravatar image

Bag files can be migrated to new or arbatrary formats with rosbag check and rosbag fix.

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools


Asked: 2014-12-19 09:37:05 -0500

Seen: 248 times

Last updated: Dec 19 '14