ros_astra_camera icon indicating copy to clipboard operation
ros_astra_camera copied to clipboard

Change to image_transport to allow compressed images + fix deadlock

Open ArendJan opened this issue 1 year ago • 1 comments

I've changed the publishers to image_transport::publisher, to allow for compressed image transport to save bandwidth.

It works on my Orange Pi 3B running Armbian with ROS noetic and a Astra Pro Plus camera.

ArendJan avatar May 21 '24 15:05 ArendJan

Also fixes deadlock in the UVCCameraDriver::frameCallback when unsubscribing the last subscriber: The uvc_stop_streaming call would wait for the frameCallback, which is waiting on the device_lock_, held by the imageUnsubscribedCallback (waiting on uvc_stop_streaming)

ArendJan avatar Jun 10 '24 13:06 ArendJan