Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compressed image transport support #208

Open
roboticlemon opened this issue Jun 28, 2021 · 3 comments
Open

Compressed image transport support #208

roboticlemon opened this issue Jun 28, 2021 · 3 comments

Comments

@roboticlemon
Copy link

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
Copy link

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
Copy link

mobiiin commented Apr 16, 2022

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
Copy link

Vergilwwj commented Apr 16, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants