sensor_msgs/CompressedImage docs says that acceptable format field values are: jpeg and png.
compressed_publisher.cpp produces more verbose format field. E.g.:
$ rostopic echo -n 1 /image_publisher_1587388842212983963/image_raw/compressed | grep format:
format: "bgr8; jpeg compressed bgr8"
Is this a bug in code, or bug in docs?
sensor_msgs/CompressedImagedocs says that acceptableformatfield values are:jpegandpng.compressed_publisher.cppproduces more verbose format field. E.g.:Is this a bug in code, or bug in docs?