RTAB-Map performs RGB-D, stereo, and lidar graph SLAM with loop closure for mapping and localization on handheld sensors or robots.
Overview
RTAB-Map (Real-Time Appearance-Based Mapping) builds maps incrementally using a bag-of-words loop closure detector. When a loop is accepted, constraints join the pose graph and optimization reduces map error. Memory management limits locations used for loop closure so large environments stay within real-time constraints.
It can run standalone with a handheld depth camera, stereo camera, or 3D lidar for six-degree-of-freedom mapping, or on robots with laser rangefinders for three-degree-of-freedom mapping. Multi-session and long-term operation are supported in published work described on the project site.
The same codebase ships as a C++ library with API documentation and command-line tools. ROS and ROS 2 integration lives in the separate rtabmap_ros packages. Mobile apps are offered on Google Play and the Apple App Store for on-device mapping.
Installation instructions, tutorials, and troubleshooting are on the project wiki and forum. License terms depend on whether OpenCV is built with nonfree modules because of SURF feature dependencies.
Key features
- RGB-D, stereo, and lidar SLAM
- Appearance-based loop closure
- Graph optimization on closures
- Memory-bounded real-time mapping
- Standalone and robot deployments
- ROS and ROS 2 packages
- Mobile mapping apps
- C++ library and CLI tools
Use cases
- Handheld environment mapping
- Robot localization and mapping
- Multi-session indoor remapping
- Research SLAM workflows