GlossarySLAM
SLAM
SLAM, short for simultaneous localization and mapping, is the process by which a robot or drone builds a map of an unknown environment while tracking its own position within that map, using sensors such as cameras, lidar and an IMU. It is how robots navigate where there is no GNSS or prior map.
How it works
SLAM solves two problems at once. To place itself, the robot needs a map. To build the map, it needs to know where it is. SLAM estimates both together as new sensor data arrives.
The front end extracts features from sensor data, such as visual corner points or lidar surfaces, and matches them between frames to estimate motion. This visual or lidar odometry drifts over time, like dead reckoning.
The back end corrects drift. It keeps a graph of robot poses and observed landmarks and solves for the arrangement that best fits all measurements. When the robot returns to a place it has seen before and recognizes it, the back end pulls the whole trajectory and map into agreement, removing accumulated drift. A 2016 survey describes this graph-based approach as the standard formulation.
Visual SLAM uses cameras, often with an IMU in visual-inertial systems. A 2020 open-source system supports monocular, stereo and RGB-D cameras with inertial data and multiple maps. Lidar SLAM uses laser scans and works in darkness and on textureless surfaces.
Why it matters
Warehouses, factories, mines, tunnels and building interiors have no GNSS. Robots and drones working there depend on SLAM to know where they are and where they have been. Reliable SLAM is the basis for autonomous navigation, inspection and mapping missions.
How to get it right
- Calibrate cameras, lidar and IMU, including their positions relative to each other.
- Synchronize sensor timestamps precisely, ideally in hardware.
- Use global shutter cameras for fast motion.
- Provide enough compute for the front end to keep up at full sensor rate.
- Test in the real environment's lighting, texture and repetitive structures.
- Watch for failure cases, such as blank walls, glass, darkness and moving crowds.
SLAM in robotics and drone hardware
SLAM sets sensor and compute requirements: camera type and shutter, lidar choice, IMU quality, hardware time synchronization and an onboard processor fast enough to run in real time. On drones, weight and power limits push teams toward cameras and an IMU over heavier lidar. Ground robots more often carry lidar.