You can use tools in `rosbagmigration` to convert the format of your bag file. This can convert the older messages into the new type.

http://www.ros.org/wiki/rosbagmigration

Kevin

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