Ask Your Question
0

How to convert old bag files to newer messagetypes

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

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
0

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

kmhallen gravatar image

Bag files can be migrated to new or arbatrary formats with rosbag check and rosbag fix.
http://wiki.ros.org/rosbag/migration
http://wiki.ros.org/rosbag/Commandlin...

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

Stats

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

Seen: 199 times

Last updated: Dec 19 '14