SLAM (Simultaneous Localization and Mapping)
A robotics method for figuring out where the robot is while building a map of the space around it.
The cart returns to a familiar doorway
A library cart maps a loop between two stacks. Small errors accumulate as it estimates motion along the shelves.
- First visit
The cart records observations of a distinctive doorway and estimates its own pose relative to it.
- Around the loop
Wheel and sensor estimates accumulate error. In the provisional map the final corridor appears slightly displaced.
- Recognized return
Observations support a match to the earlier doorway. A loop-closure constraint lets the system revise earlier poses and bring parts of the map into better agreement.
Could it be another doorway?
Similar shelves and repeated doors can create false matches. Check geometric consistency and other sensor observations before accepting a loop closure. A visually tidy map still needs independent checks against the space.
How It Works
A robot gathers measurements from sensors such as cameras, lidar, inertial units, wheel encoders, or depth sensors. It then estimates its own position and updates a map at the same time. As it moves, new observations help correct earlier position estimates, while the evolving map helps the robot stay oriented.
Follow the idea
Sensor fusion combines measurements used for localization.
Path planning uses an estimated pose and map to choose a route.
Related concepts
Examples in the AI guides
Related Yenra articles (3)
Source · SLAM Toolbox documentation on mapping and loop closure
Return to SLAM (Simultaneous Localization and Mapping) in the A–Z glossary