Publishing compressed images directly for 120fps streaming
Hi,
I have a usb camera able to out mjpeg up to 120fps. I would like to send this video stream over a wifi network to a remote node. So far using image_raw/compressed topic re-encode video stream and thus poorly optimal for my purpose.
According to http://wiki.ros.org/compressed_image_... :
"a quick and dirty approach is to simply copy the JPEG data into a sensor_msgs/CompressedImage message and publish it on a topic of the form image_raw/compressed"
But this is "dirty" and may not be the best way to do it. What do you think ?
Thanks
To be more specific, I run usb_cam driver and would like to stream mjpeg camera output to a remote node based on my camera framerate