Closed yangwild closed 5 months ago
In ROS1 there is param for that, you may check if it is stll available in ROS2
<!-- Use image_transport Publisher plugin blacklisting to avoid publishing MJPEG -->
<rosparam param="/rgb/image_raw/disable_pub_plugins">[image_transport/compressed]</rosparam>
Some real example use:
ROS2, checking as far as Iron this is not implemented
The code is commented out which suggests that person originally porting code had no idea how to directly map this mechanic to ROS2
ROS2 Rolling
It looks like mechanic is back with reversed logic (allowlist) and parameter naming.
See also this
But also note that ROS2 Rolling is developer's rolling version, so it is probably not available yet apart from Rolling
Closing this, as @bmegli has answered.
Hello, I am currently working with the image_transport package for publishing image topics. Among the available plugins, the latest image_transport_plugins package includes three formats: image_transport/compressed, image_transport/compressedDepth, and image_transport/theora. I am interested in exclusively retaining the image_transport/compressed format and disabling the others.
While I am aware that uninstalling the corresponding plugins can disable the undesired output formats, I am wondering if it is possible to achieve this goal by modifying the launch file parameters. Is there a way to configure the launch file to specify which image transport plugins are active or deactivated?
Thank you for your assistance.
Best regards