I am quite new to rtabmap and I am doing the first tests to try to reconstruct an indoor environment in RealSense dual mode (T265 + Lidar L515). I tried to search a bit in the documentation, but I'm not sure if anyone else happened to be in the same condition.
Basically, L515 and T265 were accurately placed with a known transformation between them. The transformation was entered as an input parameter.
The problem is that during the reconstruction some walls appear double and I don't understand where the problem could come from:
* The rolling shutter of the RGB camera causing an inaccurate loop closure? However, it does not seem to me that there were any loop closures in this case.
* Inaccurate mounting?
Could you kindly direct me on how to try and debug the problem?
The double walls can be caused either by odometry drift or not so accurate transformation between the cameras, or both.
There is also no loop closures detected. For visual loop closure detection, you should traverse the same areas in same camera orientation. In your trajectory, there is an overlap in the trajectory, but in not the same direction, so no visual loop closures can be detected.
It is possible to calibrate the extrinsics between the camera using the Calibrate Extrinsics button in latest rtabmap version:
To make it work, you will need to calibrate the T265 (with realsense sdk 2.42, newest sdks have this issue), then do the extrinsics calibration.