ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Choosing Good Stereo Parameters

asked 2015-09-25 08:48:19 -0600

stefan moore gravatar image

updated 2015-09-25 09:45:46 -0600

gvdhoorn gravatar image


I just want to do the "Choosing Good Stereo Parameters" - Tutorial for the stereo_image_proc pkg ( ). For the tutorial you have to load a bagfile with stereocamera data. When I follow the steps in the Tutorial and start the playback of the bagfile following error occurs:

[ERROR] [1443187944.160743910]: Client [/narrow_stereo_textured/stereo_image_proc] wants topic /narrow_stereo_textured/right/camera_info to have datatype/md5sum [sensor_msgs/CameraInfo/c9a58c1b0b154e0e6da7578cb991d214], but our version has [sensor_msgs/CameraInfo/1b5cf7f984c229b6141ceb3a955aa18f]

It seems like that the bagfile was recorded in an older rosversion which has not the same messagetype. I am using ros jade.

I tried to do a migration of the bagfile with the rosbag/migration option. For that i tried to get the rules for migration, but the rosbag check command is showing that 2 rules are missing. So I can´t do the migration of the bagfile. Is there a rulefile or maybe better a bagfile for this tutoriall available which works with jade?

edit retag flag offensive close merge delete


Please use the Preformatted text button (the one with 101010 on it) for error messages you copy/paste from the console, otherwise the error isn't visible in your post.

gvdhoorn gravatar image gvdhoorn  ( 2015-09-25 09:46:29 -0600 )edit

1 Answer

Sort by » oldest newest most voted

answered 2016-03-25 11:45:18 -0600

Azharudeen gravatar image

I had this problem just

rosbag check -g migration_rule.bmr rotating_detergent.bag

then edit the migration_rule.bmr file so that valid = True instead of valid=False

rosbag fix rotating_detergent.bag repaired_rotating_detergent.bag migration_rule.bmr
edit flag offensive delete link more

Question Tools


Asked: 2015-09-25 08:48:19 -0600

Seen: 343 times

Last updated: Mar 25 '16