ros-drivers / pointgrey_camera_driver

ROS driver for Pt. Grey cameras, based on the official FlyCapture2 SDK.
128 stars 177 forks source link

Compressed image transport support #208

Open roboticlemon opened 3 years ago

roboticlemon commented 3 years ago

Hi All,

Currently this driver doesn't appear to support compressed_image_transport which means recording the image topic will use an absurd amount of disk space. This also affects streaming for viewing purposes (like over a wireless connection).

Are there any plans to implement such support or does anyone know of any forks that do?

Cheers

AndersonRayner commented 3 years ago

I'm not sure if this helps but you can republish the stream (compressed_image_transport, Section 4) and get the compressed stream that way

rosrun image_transport republish raw in:=camera/image_raw out:=camera/image_repub

It is a bit of a hack solution but is what I've been using.

mobiiin commented 2 years ago

I'm not sure if this helps but you can republish the stream (compressed_image_transport, Section 4) and get the compressed stream that way

rosrun image_transport republish raw in:=camera/image_raw out:=camera/image_repub

It is a bit of a hack solution but is what I've been using.

do you mean doing sth like this? rosrun image_transport republish raw in:=/camera/color/image_raw/compressed out:=camera/image_repub image_transport:=compressed if so the realsense complains about the encoding needed by the subscriber: [ERROR] [1650095024.946461092]: Client [/image_republisher_1650095024664204994] wants topic /camera/color/image_raw/compressed to have datatype/md5sum [sensor_msgs/Image/060021388200f6f0f447d0fcd9c64743], but our version has [sensor_msgs/CompressedImage/8f7a12909da2c9d3332d540a0977563f]. Dropping connection. could you help me out?

Vergilwwj commented 2 years ago

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。