Hi,
If your camera inherits from Camera class, it will be straightforward to integrate to RTAB-Map. For example based on
C++ RGBD example:
Transform opticalRotation(0,0,1,0, -1,0,0,0, 0,-1,0,0);
// Create custom camera driver with standard arguments
// of Camera class: FrameRate (0=as fast as camera can take images), LocalTransform
Camera * camera = new MyAwesomeCameraDriver(0, opticalRotation);
if(camera->init())
{
CameraThread cameraThread(camera);
}
Camera is an abstract class, you should implement at least the pure virtual functions. Many implementations can be found in
CameraRGBD and
CameraStereo.
What is the model of the camera? Maybe one of the general drivers already in rtabmap can support it.
cheers,
Mathieu