correct way to subscribe to image and CameraInfo topic using image_transport C++ in Kinetic
Hi all,
I'm looking for a reference on the correct way to subscribe to an image topic, e.g. from openni2, such that I get the cameraInfo and image data. Most examples only cover the retrieval of image data but I have not found anything also covering cameraInfo.
With best practices changing in time, I'm looking for C++ example code for Kinetic or newer.
Thanks,
Ruy