How To Write C++ CompressedImage Subscriber?
Folks,
I can't find explicit tutorials on how to WRITE a subscriber for compressed images on roscpp. I see the one in python, as well as the image_transport tutorials, etc., but nothing concrete about how to do it in C++. I always get errors when I try to import CompressedImage.h and add "/compressed" to my image topics and replace my ImageConstPtr for CompressedImageConstPtr.
Any sample C++ code you know of?