image_pipeline icon indicating copy to clipboard operation
image_pipeline copied to clipboard

image_proc/resize does not work with image_transport_plugins

Open shuntaraw opened this issue 6 years ago • 1 comments

image_proc/resize subscribes to image and camera_info messages using image_transport, but cannot receive messages via compressed or compressedDepth (or any non raw) transports.

[repro]

  1. Publish image and camera_info with image_transport_plugins such as compressed_image_transport:
$ rostopic list
/camera_info
/image_raw
/image_raw/compressed
:
  1. Subscribe to /camera/image_raw/compressed in image_proc/resize nodelet.
$ rosrun nodelet nodelet standalone image_proc/resize image:=/image_raw camera_info:=/camera_info _image_transport:=compressed

[expected behavior]

  • image and camera_info are republished respectively at /image_proc_resize/image and /image_proc_resize/camera_info. Images are not resized because the default scale is 1.

[actual behavior]

  • /image_proc_resize/image and /image_proc_resize/camera_info are advertised but do not publish any message.

shuntaraw avatar Sep 05 '19 01:09 shuntaraw

Can you post an example message you’re sending over the compressed topic with the image data itself clipped?

SteveMacenski avatar Sep 10 '19 16:09 SteveMacenski

Closing due to lack of response

mikeferguson avatar Jan 17 '24 16:01 mikeferguson