[ros-users] how to publish JPEG images with compressed_image…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Rene Ladan
Date:  
To: ros-users
Subject: [ros-users] how to publish JPEG images with compressed_image_transport ?
Hi,

I'm writing a node to publish images from the Surveyor stereo camera
(see http://www.surveyor.com/stereo/ ).
The camera publishes the images in JPEG format. The logical thing
would be to somehow feed them to the
compressed_image_format node (after setting up a handmade header?) to
publish them. Is there any example
code which does this?

Also, if I understand correctly, the subscriber can just subscribe to
the normal image_transport topic, but needs
to have extra code to decompress compressed images before using them?

Thanks,
Rene
--
http://www.rene-ladan.nl/

GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6
(subkeys.pgp.net)