Hi,
yes, the CameraRGBD.h and CameraRGBD.cpp files are where the different drivers are implemented. Note that the driver should publish RGB and depth images, not depth-only. The depth image should also be
registered to RGB image.
If your sensor publishes a point cloud and not a depth image, you would have to project the cloud in the RGB camera frame, so creating a registered depth image. This is what is done in the
CameraTango class (note that in this example the resulting depth image is 8x smaller than the RGB image).
cheers