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

vslam tutorial CameraInfo error

asked 2011-03-09 02:30:23 -0600

jrcapriles gravatar image

Hi all,

I am running the vslam tutorial, I achieved to compile it but like other I got an error in the vslam-tutorial.bag

$ rosbag play --clock /path/to/your/bag/vslam_tutorial.bag

Client [/wide_stereo/stereo_vslam_node] wants topic /wide_stereo/right/camera_info to have datatype/md5sum [sensor_msgs/CameraInfo/c9a58c1b0b154e0e6da7578cb991d214], but our version has [sensor_msgs/CameraInfo/1b5cf7f984c229b6141ceb3a955aa18f]. Dropping connection.

Client [/wide_stereo/stereo_vslam_node] wants topic /wide_stereo/left/camera_info to have datatype/md5sum [sensor_msgs/CameraInfo/c9a58c1b0b154e0e6da7578cb991d214], but our version has [sensor_msgs/CameraInfo/1b5cf7f984c229b6141ceb3a955aa18f]. Dropping connection.

if I still want to use the vslam-tutorial.bag, how can I change the CameraInfo or what can I do to solve this problem?

Thanks

edit retag flag offensive close merge delete

Comments

Which distribution are you running this on?
KoenBuys gravatar image KoenBuys  ( 2011-03-10 06:28:56 -0600 )edit
Cturtle on Ubuntu 10.04
jrcapriles gravatar image jrcapriles  ( 2011-03-10 19:38:22 -0600 )edit

3 Answers

Sort by ยป oldest newest most voted
1

answered 2011-03-14 21:09:50 -0600

KoenBuys gravatar image

Have you tried running a rosbag check and rosbag fix on the bag file?

edit flag offensive delete link more
2

answered 2011-03-21 22:58:16 -0600

The same problem occurs doing the tutorial on Diamondback and the bag file as of 22nd March. (md5sum is f5aece448b7af00a38a993eb71400806)

To check:

rosbag check vslam_tutorial.bag
The following migrations need to occur:
 * From: sensor_msgs/CameraInfo [1b5cf7f984c229b6141ceb3a955aa18f]
   To:   sensor_msgs/CameraInfo [c9a58c1b0b154e0e6da7578cb991d214]

To fix:

rosbag fix vslam_tutorial.bag vslam_tutorial_diamondback.bag

To play the modified bag:

rosbag play --clock vslam_tutorial_diamondback.bag
edit flag offensive delete link more
0

answered 2011-03-15 01:59:15 -0600

jrcapriles gravatar image

updated 2011-03-15 02:00:09 -0600

Thanks! with rosbag check and rosbag fix, the CameraInfo's problem was solved!

edit flag offensive delete link more

Comments

Check the question as answered
KoenBuys gravatar image KoenBuys  ( 2011-03-15 20:43:58 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2011-03-09 02:30:23 -0600

Seen: 1,313 times

Last updated: Mar 21 '11