First run "rosbag check" on the bag file to see if it has migration rules: http://www.ros.org/wiki/rosbag#Check
Then if it says you can migrate it, run "rosbag fix": http://www.ros.org/wiki/rosbag#Fix

If there's no migration path you'll have to delve a bit deeper into the bag migration tools, which I'm not familiar with.

Josh

On Mon, Mar 8, 2010 at 7:59 PM, David Feil-Seifer <david.feilseifer@gmail.com> wrote:
OK, so I made some bag files a while back using the encode node from
image_publisher package that has since been deprecated. These bag
files have these images logged as sensor_msgs/CompressedImage under
the topic /overhead_cam/image_color_compressed

how would I make the image_subscriber tutorial subscribe to this topic
correctly. I currently have the following error messages:

/overhead_cam/image_color_compressed to have datatype/md5sum
[sensor_msgs/Image/060021388200f6f0f447d0fcd9c64743], but our version
has [sensor_msgs/CompressedImage/8f7a12909da2c9d3332d540a0977563f].
Dropping connection.
[ERROR] 1268106882.939315000: Client [/compressed_listener] wants
topic /overhead_cam/image_color_compressed to have datatype/md5sum
[sensor_msgs/Image/060021388200f6f0f447d0fcd9c64743], but our version
has [sensor_msgs/CompressedImage/8f7a12909da2c9d3332d540a0977563f].
Dropping connection.
[ERROR] 1268106910.267165000: Client [/compressed_listener] wants
topic /overhead_cam/image_color_compressed to have datatype/md5sum
[sensor_msgs/Image/060021388200f6f0f447d0fcd9c64743], but our version
has [sensor_msgs/CompressedImage/8f7a12909da2c9d3332d540a0977563f].
Dropping connection.

Do I have to upgrade the bag files in some way?

Thanks in advance for your help.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
ros-users mailing list
ros-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ros-users
_______________________________________________
ros-users mailing list
ros-users@code.ros.org
https://code.ros.org/mailman/listinfo/ros-users