Explainer
SLAM explained: how robots map and locate themselves
SLAM (simultaneous localization and mapping) is how a mobile robot builds a map of an unknown place while using that map to work out where it is.[1] The problem took shape in 1986.[2] Today it is usually solved as a large probability problem over a "factor graph".[3] Indoor laser mapping and slow-moving vision robots such as Mars rovers count as mature, but fast motion and changing scenes are still open problems.[4][5]
A robot that moves through a building, a mine or a city street needs to answer two questions at once: what does this place look like, and where am I in it? SLAM is the family of methods that answers both together.[1] This page explains the core idea, the main methods and what is still unsolved.
Read how robots sense the world first for the sensors that feed SLAM. This page covers the estimation methods, not specific products.
The chicken-and-egg problem
To place yourself on a map you need a map, and to draw a map you need to know where you are. SLAM solves both at the same time. The robot notes landmarks, such as corners or distinctive objects, and estimates both its own path and where the landmarks are, with no map to start from.[1]
Without a map, a robot that just adds up its own movements slowly drifts off course, the way a person walking with eyes closed does. When the robot recognises a place it has seen before, it can correct that drift. This is called “loop closure”.[6]
In the probabilistic formulation, the robot pose and every landmark position are estimated online from motion inputs and relative observations.[1] The key insight was that landmark errors are correlated, because they share the error in the robot’s position when each was observed. Those correlations grow with each observation, so the relative map converges instead of diverging.[7] Dropping loop closures reduces SLAM to odometry, and modern visual-inertial odometry drifts by less than 0.5% of the trajectory length.[8]
A short history
The probabilistic SLAM problem took shape at the 1986 IEEE Robotics and Automation Conference in San Francisco, and the acronym “SLAM” was first used in a 1995 survey paper.[2] A 2016 survey in IEEE Transactions on Robotics divides the field into a classical age (1986-2004) and an algorithmic-analysis age (2004-2015), and argues it was entering a third “robust-perception” age.[9]
The main methods
Early SLAM systems kept one running estimate of the robot and all the landmarks and updated it with each new measurement. That gets slow as the map grows, because every landmark has to be updated each time.[10] Modern systems instead treat the whole history as one big puzzle and solve for the most likely map and path. Software libraries can now solve such puzzles with tens of thousands of unknowns in a few seconds.[3]
A 2006 IEEE tutorial names the two classical solutions: the extended Kalman filter (EKF-SLAM) and Rao-Blackwellised particle filters (FastSLAM). Naive EKF-SLAM computation grows quadratically with the number of landmarks.[10] EKF-SLAM is also fragile to wrong data association, and loop closure after a long traverse is especially hard.[11] The current standard treats SLAM as maximum a posteriori estimation, often written as a factor graph. Libraries such as GTSAM, g2o and Ceres exploit the sparsity of that graph.[3] Camera-only systems are a major branch. ORB-SLAM (2015) uses the same image features for tracking, mapping, relocalization and loop closing, runs in real time indoors and outdoors, and is open source.[12]
Is SLAM solved?
In 2006 the tutorial’s authors wrote that SLAM could be considered solved at a theoretical and conceptual level, while practical, general solutions and perceptually rich maps remained hard.[13] The 2016 survey gave a more conditional answer:
- Mature: 2D indoor mapping with wheel encoders and a laser scanner is largely solved, and vision-based SLAM for slow robots such as Mars rovers and domestic robots is mature.[4]
- Open: SLAM still fails easily with fast robot motion or highly dynamic environments, and often cannot deliver the high-rate estimates needed for fast control.[5]
The survey’s “robust-perception” agenda adds goals beyond geometry, including long-term reliability and a higher-level understanding of the scene.[9]
For learned models of a robot’s surroundings, read world models next.
Read next
Next in the crash course
How legged and humanoid robots walk
How four-legged and humanoid robots keep their balance: static and dynamic gaits, the zero-moment point, model predictive control and learned walking.
Questions readers ask
What does SLAM stand for in robotics?
Simultaneous localization and mapping. The robot builds a map of an environment and at the same time uses that map to work out its own location, without knowing where it is in advance.[1]
What is loop closure in SLAM?
It is when a robot recognises a place it has already visited. Without a map, position estimates from wheel or motion sensors drift; revisiting known areas lets the robot reset that error.[6]
Sources
· 13 claims from 3 publishers
Each numbered claim is a statement we checked against the sources listed with it. Tap a number in the text to see its sources in place.
- [1]
SLAM (simultaneous localisation and mapping) is a process by which a mobile robot builds a map of an environment and at the same time uses the map to work out its location, without prior knowledge of location. confirmedas of 2006-06-01
- Simultaneous Localization and Mapping: Part I (IEEE Robotics and Automation Magazine, 2006) · UC Berkeley course reading (IEEE RAM tutorial) · Primary source · 2006-06-01 (retrieved 2026-11-22)
- [2]
According to a 2006 IEEE tutorial, the probabilistic SLAM problem originated at the 1986 IEEE Robotics and Automation Conference in San Francisco, and the acronym SLAM was first presented in a 1995 survey paper. confirmedas of 2006-06-01
- Simultaneous Localization and Mapping: Part I (IEEE Robotics and Automation Magazine, 2006) · UC Berkeley course reading (IEEE RAM tutorial) · Primary source · 2006-06-01 (retrieved 2026-11-22)
- Simultaneous Localization and Mapping: Part I (IEEE Robotics and Automation Magazine, 2006) · UC Berkeley course reading (IEEE RAM tutorial) · Primary source · 2006-06-01 (retrieved 2026-11-22)
- [3]
The 2016 survey says the de-facto standard formulation treats SLAM as maximum a posteriori estimation, often using factor graphs; modern solvers exploit the sparsity of the problem, and libraries such as GTSAM, g2o and Ceres solve problems with tens of thousands of variables in a few seconds. reportedas of 2016-12-01
- Past, Present, and Future of Simultaneous Localization And Mapping: Towards the Robust-Perception Age (full text) · arXiv (IEEE Transactions on Robotics, 2016) · Secondary source · 2016-06-19 (retrieved 2026-11-22)
- Past, Present, and Future of Simultaneous Localization And Mapping: Towards the Robust-Perception Age (full text) · arXiv (IEEE Transactions on Robotics, 2016) · Secondary source · 2016-06-19 (retrieved 2026-11-22)
- Past, Present, and Future of Simultaneous Localization And Mapping: Towards the Robust-Perception Age (full text) · arXiv (IEEE Transactions on Robotics, 2016) · Secondary source · 2016-06-19 (retrieved 2026-11-22)
- [4]
According to the survey, 2D indoor mapping with wheel encoders and a laser scanner is largely solved, and vision-based SLAM for slow robots such as Mars rovers and domestic robots is mature. reportedas of 2016-12-01
- Past, Present, and Future of Simultaneous Localization And Mapping: Towards the Robust-Perception Age (full text) · arXiv (IEEE Transactions on Robotics, 2016) · Secondary source · 2016-06-19 (retrieved 2026-11-22)
- [5]
The survey says current SLAM algorithms can easily fail with fast robot motion or highly dynamic environments, and often cannot meet strict requirements such as high-rate estimation for fast control. reportedas of 2016-12-01
- Past, Present, and Future of Simultaneous Localization And Mapping: Towards the Robust-Perception Age (full text) · arXiv (IEEE Transactions on Robotics, 2016) · Secondary source · 2016-06-19 (retrieved 2026-11-22)
- [6]
A 2016 IEEE Transactions on Robotics survey explains that without a map, dead-reckoning drifts over time, while a map lets the robot reset its error by revisiting known areas, which is called loop closure. reportedas of 2016-12-01
- Past, Present, and Future of Simultaneous Localization And Mapping: Towards the Robust-Perception Age (full text) · arXiv (IEEE Transactions on Robotics, 2016) · Secondary source · 2016-06-19 (retrieved 2026-11-22)
- [7]
The key insight in SLAM was that errors in landmark estimates are correlated, because they share the error in where the robot was, and that these correlations grow with more observations so the relative map improves rather than diverges. confirmedas of 2006-06-01
- Simultaneous Localization and Mapping: Part I (IEEE Robotics and Automation Magazine, 2006) · UC Berkeley course reading (IEEE RAM tutorial) · Primary source · 2006-06-01 (retrieved 2026-11-22)
- [8]
The survey notes that if loop closures are sacrificed, SLAM reduces to odometry, and that modern visual-inertial odometry has very small drift (under 0.5% of trajectory length). reportedas of 2016-12-01
- Past, Present, and Future of Simultaneous Localization And Mapping: Towards the Robust-Perception Age (full text) · arXiv (IEEE Transactions on Robotics, 2016) · Secondary source · 2016-06-19 (retrieved 2026-11-22)
- [9]
The 2016 survey divides SLAM history into a classical age (1986-2004) and an algorithmic-analysis age (2004-2015), and argues the field was entering a third, "robust-perception" age whose requirements include robust long-term performance and a high-level understanding of the environment beyond basic geometry. reportedas of 2016-12-01
- Past, Present, and Future of Simultaneous Localization And Mapping: Towards the Robust-Perception Age (full text) · arXiv (IEEE Transactions on Robotics, 2016) · Secondary source · 2016-06-19 (retrieved 2026-11-22)
- Past, Present, and Future of Simultaneous Localization And Mapping: Towards the Robust-Perception Age (full text) · arXiv (IEEE Transactions on Robotics, 2016) · Secondary source · 2016-06-19 (retrieved 2026-11-22)
- [10]
The 2006 tutorial names two key solutions to SLAM, the extended Kalman filter (EKF-SLAM) and Rao-Blackwellised particle filters (FastSLAM); naive EKF-SLAM computation grows quadratically with the number of landmarks. confirmedas of 2006-06-01
- Simultaneous Localization and Mapping: Part I (IEEE Robotics and Automation Magazine, 2006) · UC Berkeley course reading (IEEE RAM tutorial) · Primary source · 2006-06-01 (retrieved 2026-11-22)
- [11]
The tutorial describes loop closure, when a robot returns to re-observe landmarks after a long traverse, as especially difficult for EKF-SLAM, which is fragile to incorrect association of observations to landmarks. confirmedas of 2006-06-01
- Simultaneous Localization and Mapping: Part I (IEEE Robotics and Automation Magazine, 2006) · UC Berkeley course reading (IEEE RAM tutorial) · Primary source · 2006-06-01 (retrieved 2026-11-22)
- [12]
ORB-SLAM (IEEE Transactions on Robotics, 2015) is a feature-based monocular SLAM system that runs in real time indoors and outdoors and uses the same features for tracking, mapping, relocalisation and loop closing; its source code is public. reportedas of 2015-02-03
- ORB-SLAM: a Versatile and Accurate Monocular SLAM System · arXiv (IEEE Transactions on Robotics, 2015) · Secondary source · 2015-02-03 (retrieved 2026-11-22)
- [13]
The 2006 tutorial said SLAM could be considered solved at a theoretical and conceptual level, while substantial issues remained in practical, more general solutions and perceptually rich maps. confirmedas of 2006-06-01
- Simultaneous Localization and Mapping: Part I (IEEE Robotics and Automation Magazine, 2006) · UC Berkeley course reading (IEEE RAM tutorial) · Primary source · 2006-06-01 (retrieved 2026-11-22)
Revision history (1)
- Page created.
Created Nov 22, 2026. Last reviewed by an editor on Nov 22, 2026. Next scheduled review: Jul 12, 2027.
Cite this page
"SLAM explained: how robots map and locate themselves." ContentLora, updated Nov 22, 2026. https://contentlora.com/explain/slam-explained
Spotted an error? Suggest a correction or emailcorrections@contentlora.com.