
What is SLAM? Simultaneous localization and mapping explained for surveyors
Key takeaways
- SLAM stands for simultaneous localization and mapping: the sensor estimates its own trajectory and builds the map in one process.
- Survey SLAM systems usually combine a rotating lidar with an inertial measurement unit (IMU); visual SLAM uses cameras instead.
- Errors accumulate as drift along the walked path, so loop closures and control points are what keep a SLAM point cloud accurate.
- Handheld SLAM typically delivers centimetre-level relative accuracy, while a tripod-based terrestrial scanner remains the choice for millimetre work.
- SLAM works indoors, underground and under tree canopy where GNSS signals are blocked.
What is SLAM (simultaneous localization and mapping)?
Simultaneous localization and mapping is the computational problem of building a map of an unknown environment while tracking the sensor's position inside that map at the same moment. The two tasks depend on each other: you need a map to know where you are, and you need to know where you are to place new measurements on the map. SLAM solves both together.
The term comes from robotics research in the late 1980s and 1990s, where mobile robots had to navigate rooms without a floor plan. It is sometimes expanded as simultaneous location and mapping, and in British English it is written simultaneous localisation and mapping; all three describe the same idea. Today the same algorithms run in robot vacuum cleaners, autonomous vehicles, drones and, most relevant to us, handheld and backpack scanners used for surveying.
For a surveyor, the practical meaning is simple: a SLAM mapper lets you walk through a building, tunnel or forest and come out with a georeferenceable 3D point cloud, without setting up a tripod at each station. If you want the field side of this, our guide to SLAM scanning and mobile mapping covers walking routes and project planning; this article explains what happens inside the algorithm.
How does SLAM localization and mapping work step by step?
SLAM localization and mapping run as a continuous loop: predict the motion, measure the surroundings, match the measurement to the map, update the position and the map, and periodically correct the whole trajectory. A typical lidar-inertial SLAM pipeline looks like this:
- Motion prediction. The IMU (accelerometers and gyroscopes) measures movement hundreds of times per second and predicts where the scanner has moved since the last lidar frame.
- Scan capture. The rotating lidar head records a frame of range measurements, often hundreds of thousands of points per second, around the operator.
- Feature extraction. The software picks stable features such as planes (walls, floors, ceilings), edges and corners, and discards moving objects where it can.
- Scan matching. The new frame is aligned with the local map, using the IMU prediction as a starting point. This gives the refined position and orientation (the pose).
- Map update. The aligned points are added to the map, which grows as you walk.
- Loop closure. When the system recognises a place it has already mapped, it measures the mismatch between the two passes.
- Global optimisation. A pose-graph optimisation spreads that correction back along the whole trajectory, so the map closes neatly instead of showing doubled walls.
Steps 1 to 5 are often called the front end and run in real time; steps 6 and 7 are the back end, which is why post-processed SLAM results are usually cleaner than the live preview.
What are the main types of SLAM?
SLAM systems are grouped by the sensor that observes the environment: lidar SLAM, visual SLAM, or a fusion of several sensors. Survey-grade mobile mapping almost always uses lidar with an IMU, because lidar measures distance directly and works in the dark.
| Type | Main sensors | Strengths | Limitations |
|---|---|---|---|
| 2D lidar SLAM | Single-plane laser scanner, wheel odometry | Simple, robust floor plans for robots | No full 3D model; assumes flat floors |
| 3D SLAM (lidar-inertial) | Rotating multi-beam lidar + IMU | True 3D point clouds, works in darkness, centimetre-level relative accuracy | Struggles in long featureless corridors and open fields |
| Visual SLAM | One or more cameras, often + IMU | Low cost, light weight, captures colour | Needs light and texture; scale and accuracy weaker than lidar |
| Multi-sensor fusion | Lidar + IMU + cameras, optionally GNSS | Most robust; colourised clouds; GNSS anchors outdoor sections | More expensive and complex to calibrate |
3D SLAM is the category that matters for surveying, BIM and mining. Visual SLAM is common in phones, augmented-reality headsets and small robots, but it is rarely used where a client specifies point-cloud accuracy.
How accurate is SLAM, and what causes drift?
A good lidar SLAM system typically achieves 1 to 3 cm relative accuracy in well-structured environments, but its error grows with the distance walked unless loop closures or control points correct it. That growing error is called drift.
Drift comes from small errors in every scan match and in the IMU, which add up along the trajectory. It is worst in places where the geometry gives the algorithm little to lock onto:
- long, uniform corridors and tunnels where every frame looks the same along the axis;
- open car parks, fields and flat roofs with few vertical features;
- stairwells walked too quickly, with sharp turns and sudden changes in view;
- scenes full of moving people, vehicles or vegetation in strong wind.
In our engineers' experience, the single biggest accuracy gain comes from planning closed loops: start and finish at the same spot, and cross your own path every few minutes. Our handheld SLAM laser scanner is specified at a point-cloud thickness of 1 cm or better after post-processing and 2 cm or better in real time, with a range of 0.1 to 70 m. Treat such figures as relative precision under good conditions; absolute accuracy also depends on how the cloud is tied to control.
How do you georeference a SLAM point cloud?
A SLAM point cloud is created in its own local coordinate frame, so to put it on a project grid you tie it to surveyed control points. This also constrains drift on long routes.
- Establish control targets or marks along the route with a GNSS RTK receiver outdoors or a total station indoors.
- During the scan, pause on each control mark (or scan identifiable targets) so the software can tag them.
- In processing, enter the control coordinates and run a constrained adjustment of the trajectory.
- Check residuals on independent check points that were not used in the adjustment, and report them.
A practical rule we give customers is one control point at the start and end of every loop, plus one roughly every 50 to 100 m on long linear routes such as tunnels. For general registration and cleaning steps, see our article on point cloud processing.
What are the main simultaneous localization and mapping applications?
The main simultaneous localization and mapping applications are robot and vehicle navigation, and fast 3D capture of spaces where tripod scanning or GNSS is slow or impossible. In surveying and engineering the common jobs are:
- Building surveys and BIM: multi-storey interiors, plant rooms and risers captured in a single walk, then modelled.
- Underground mining and tunnels: drives, stopes and tunnel profiles where there is no GNSS.
- Forestry: tree height, stem diameter and stand density under canopy.
- Construction progress: weekly walk-throughs to compare built work with design.
- Stockpiles and sheds: volumes inside covered storage, linked to our guide on stockpile volume measurement.
- Heritage and facilities: complex buildings documented without hours of setups.
Outside surveying, SLAM drives warehouse robots, autonomous cars, delivery drones and augmented reality, but those consumer and automotive uses have different accuracy goals.
SLAM vs terrestrial laser scanning: which should you use?
Use SLAM when speed and coverage matter more than millimetres; use a tripod-based terrestrial laser scanner when you need the highest accuracy and density on each surface. Many projects combine both.
| Criterion | Handheld SLAM | Terrestrial laser scanning (TLS) |
|---|---|---|
| Capture method | Continuous, while walking | Static setups on a tripod |
| Typical relative accuracy | About 1–3 cm | Millimetre level at short range |
| Speed on a 2,000 m² floor | Minutes to tens of minutes | Several hours with many setups |
| Point density and noise | Lower density, thicker surfaces | High density, thin crisp surfaces |
| Best for | Floor plans, volumes, mines, forests, quick as-builts | Detailed BIM, structural deformation, plant, heritage detail |
A common hybrid workflow is to scan critical areas, such as a façade or a mechanical room, with a high-speed terrestrial laser scanner and fill the rest of the building with SLAM, registering both to the same control. Our article on terrestrial laser scanning explains the static workflow in detail.
Common SLAM mistakes in the field and how to avoid them
Most poor SLAM results come from how the route was walked, not from the hardware. SLAM engineering assumes smooth motion and enough geometry in view, so field habits matter.
- Walking too fast or turning sharply: keep a steady walking pace and turn slowly at doors and corners.
- Passing through doors without pausing: stop briefly in doorways so the scanner sees both rooms.
- No loops: design routes that close back on themselves; open-ended routes drift.
- Starting while moving: initialise the scanner while standing still for the time the manufacturer specifies.
- Ignoring control: without control points the cloud cannot be checked or placed on the project grid.
- Too-long sessions: split very large sites into overlapping missions rather than one huge walk.
If you are deciding whether SLAM fits your work, or want to compare it with other 3D laser scanners, browse our 3D laser scanner range or request a quote with your project type and site size, and our engineers will recommend a setup and control strategy.
Frequently asked questions
What is SLAM in simple terms?
SLAM is a way for a moving device to draw a map of a place it has never seen while keeping track of where it is on that map. It compares each new laser or camera view with what it has already mapped, works out how far it moved, and adds the new view to the map. Handheld scanners use it to create 3D point clouds while you walk.
What does SLAM stand for in construction?
In construction and surveying, SLAM stands for simultaneous localization and mapping. It refers to handheld, backpack or vehicle scanners that capture 3D point clouds of sites and buildings while moving. Contractors use SLAM for progress scans, as-built documentation, quantity checks and BIM inputs, because it captures large areas much faster than static tripod scanning.
Is SLAM the same as lidar?
No. Lidar is a sensor that measures distances with laser pulses. SLAM is an algorithm that uses sensor data to estimate position and build a map. Many SLAM scanners use lidar as their main sensor, but SLAM can also run on camera images, and lidar can be used without SLAM, for example on a static tripod scanner.
Does SLAM need GPS?
No. SLAM works without satellite positioning, which is why it is used indoors, underground and under dense tree canopy. Some systems add GNSS outdoors to reduce drift and place the data in real-world coordinates directly. Without GNSS, you georeference the point cloud by scanning control points measured with a total station or RTK receiver.
How accurate is a handheld SLAM scanner?
A good handheld lidar SLAM scanner typically reaches about 1 to 3 cm relative accuracy in structured indoor environments when the route includes loop closures. Accuracy falls on long open routes, featureless corridors or fast walking. Absolute accuracy depends on control points, so always check results against independent check points before delivering.
What is loop closure in SLAM?
Loop closure is the moment when a SLAM system recognises a place it has already mapped. It measures the offset between the earlier and current positions, then redistributes that error along the whole trajectory through optimisation. Planning routes with several loop closures is the most effective way to reduce drift and produce a clean point cloud.
What is the difference between 2D and 3D SLAM?
2D SLAM uses a single-plane laser and builds a flat floor plan, which is enough for many indoor robots. 3D SLAM uses a rotating multi-beam lidar and an IMU to estimate full six-degree-of-freedom motion and build a complete 3D point cloud, which is what surveying, BIM, mining and forestry projects require.
Need equipment for this work?
Tell us the job, the country and the quantity. An engineer replies with a configuration and price within one business day. MOQ is one unit; OEM is available.


