Hi everyone,
I’m working on a project (using an Oak-D-S2 (AF) camera) to create a map with RTAB-Map (ROS2), but I’ve been facing some issues that I’m struggling to resolve:
1. Drift in the z-direction:
The generated map constantly has a slope in the z-direction, even though the real environment is flat. I can bypass this by setting the parameter 'Reg/Force3DoF': 'True', but I would like to record gradients and similar terrain features in the future (i.e., without forcing 3DoF mode). Does anyone have suggestions on how to eliminate the z-drift without restricting to 3DoF?
2. Odometry inaccuracies:
During my ROS Bag recording, I used the same start and end point. However, the resulting map shows discrepancies—e.g., a building with only 90° corners is represented with angles >90°, causing the start and end points to misalign and producing an incorrect map.
I have limited experience with VIO and SLAM algorithms like RTAB-Map, so I’d be grateful for any advice, including parameter adjustments, optimization tips, or general recommendations.
Thank you in advance for your help!
Best regards.
ROS-BAG:
https://drive.google.com/file/d/1BQAxkD3iKE98WSCGJPNZdq4SXUEqOLcN/view?usp=sharingScreenshot_from_2024-12-12_21-51-07.pngScreenshot_from_2024-12-12_21-51-28.pngScreenshot_from_2024-12-12_21-50-22.png