As it turns out, ROS's image_transportdoes not yet support Python. For us this means that if we're trying to use ros_compressed as our compression type by default, then we won't get any images from Python nodes unless we explicitly request another compression method. This is somewhat unintuitive and frustrating for our users.
My proposed fix is to check whether there's a /compressed topic for the requested image topic and to fall back to mjpeg compression if there isn't.
As it turns out, ROS's
image_transport
does not yet support Python. For us this means that if we're trying to useros_compressed
as our compression type by default, then we won't get any images from Python nodes unless we explicitly request another compression method. This is somewhat unintuitive and frustrating for our users.My proposed fix is to check whether there's a
/compressed
topic for the requested image topic and to fall back tomjpeg
compression if there isn't.