Zed2 Error Message when record all topics with ROS rosbag

Hi,

I tried to record all topics with rosbag record -a but it seems that there is a problem with the compression of depth images. The input format is mono8 or bgra8 respectively and the compression requires one channel 32f. Here is the error message:


Compressed Depth Image Transport - Compression requires single-channel 32bit-floating point or 16bit raw depth images (input format is: bgra8).
Compressed Depth Image Transport - Compression requires single-channel 32bit-floating point or 16bit raw depth images (input format is: mono8).
Compressed Depth Image Transport - Compression requires single-channel 32bit-floating point or 16bit raw depth images (input format is: bgra8).
Compressed Depth Image Transport - Compression requires single-channel 32bit-floating point or 16bit raw depth images (input format is: bgra8).
Compressed Image Transport - JPEG compression requires 8/16-bit color format (input format is: 32FC1)
cv_bridge exception: '[32FC1] is not a color format. but [bgr8] is. The conversion does not make sense'
Compressed Depth Image Transport - Compression requires single-channel 32bit-floating point or 16bit raw depth images (input format is: bgra8).
Compressed Depth Image Transport - Compression requires single-channel 32bit-floating point or 16bit raw depth images (input format is: bgra8).
Compressed Depth Image Transport - Compression requires single-channel 32bit-floating point or 16bit raw depth images (input format is: mono8).

Is anyone familiar with this problem or knows how to fix it?

Hi @hgutze
this is correct. The image_transport package automatically creates that topic and it is not possible to remove it.
It’s not a good practice to record all the topics, I suggest you record only the topics that you need.

If you need all the topics for future elaboration I suggest you record instead an SVO with the SDK SDK and use it as an input for the ZED node.