Localization in navigation: why you need 3 different position estimates
Atlasbot · 17/8/2026 · 11 min read
The article What is navigation? places Localization as the second piece of the puzzle. Detailed theory (Odometry, IMU, Sensor Fusion, EKF, AMCL) is fully available in the section Localization of Robotics Fundamentals — this article only connects them to the correct positions in the Navigation stream.
Key concepts
Different from the odometry (net dead reckoning, not knowing anything about the environment — article Odometry in Localization ), localization in the context of Navigation specifically AMCL— localization on a map already available (the article Map just said). Without the map, AMCL has nothing to match the LiDAR scan to, it's not working.
How it works
Map (previously saved) + LiDAR scan (real time) + Odometry (real time)
→ AMCL → Estimated pose (x, y, θ) in the map frame
Path Planning (the next article) needs to know exactly "where the robot is on the map" in order to calculate the path from there to the destination — the dependent sequence Map → Localization → Path Planning said in the article Navigation is what? is exactly this path.
SLAM and Localization do not run simultaneously in normal operation — SLAM (no map) both builds maps and localizes simultaneously, much more computationally expensive; Localization/AMCL (available map) only localizes, much lighter. The standard procedure of an AMR: run SLAM once to build and store the regional map, then switch it entirely to AMCL for subsequent sessions — does not run SLAM continuously throughout the robot life cycle unless the real environment changes frequently.
Summarized: In the context of Navigation, "Localization" is almost always synonymous with AMCL — the localization suite works on a previously known stationary map, which differs from SLAM (specific categories) which both map construction and localization simultaneously. Read the full theory at What is AMCL?, and the real-world configuration in ROS2 at AMCL in Nav2 (localization section).
Technical details
Formulas
The robot should not start navigation when the AMCL has not yet sufficiently converged — The dispersion (variance) of the particle (particle) position estimate is the confidence measure used to determine this time:
Converged when: variance(x, y, θ) of the particle set < allowed threshold
Before convergence: particles spread across the map (the robot does not know where it is)
After convergence: particles cluster around 1 position (the robot is confident about its pose)
The computational cost between the 2 phases of SLAM and AMCL differs in nature: SLAM must update the entire map each step (cost ratio to grid cell number), while AMCL only updates the weights of the fixed particle set (cost ratio to particle number, usually several hundred to several thousand) — this is the reason AMCL is significantly lighter than SLAM although both share LiDAR scan data.
Parameters
| Phase | Input | Calculation costs | When to use |
|---|---|---|---|
| SLAM | Scan + Odometry (no map available) | High (update the entire map per step) | Initial mapping, or major environment changes |
| AMCL (Localization) | Scan + Odometry + Map available | Lower (only update particle weights) | Normal operation, map stabilized. |
Practical applications
In AMR real-world operation, the standard boot order is always: load the saved map → which provides an initial position estimate (initial pose, via the "2D Pose Estimate" button in RViz, or pre-set coordinates if the robot always boots at the same fixed position as the charging station) → waiting for the converging AMCL → to begin receiving navigation commands. Skipping the initial position provisioning step causes the AMCL to self-detect in the entire map space, which consumes much longer convergence times, especially in large, symmetric spaces (which are easily mistaken for identical corridors).
Practical example
# AMCL test converged not yet through the covariance of the estimating pose
ros2 topic echo /amcl_pose --once
# small (near zero) covariance at principal diagonal elements -> converged well
# large covariance -> AMCL is still distributed, no navigation should start
AMR startup scenario at a fixed charging station:
1. Load previously saved map via map_server
2. Providing initial pose = pre-defined charging station coordinates (no manual "2D Pose Estimate" required)
3. AMCL converges quickly (several seconds) because the approximate initial position is known
4. Start receiving navigation commands when covariance is below permissible
Compared to not providing initial pose: AMCL must scan full map,
It can take anywhere from 30 seconds to a few minutes depending on the symmetry of the space.
Common mistakes
- Start navigation as soon as the AMCL has not converged — moving robots based on misalignment estimation, easy bumping into obstacles or completely misaligned.
- Do not provide initial pose when the robot boots in the known position— as the above example, missing the opportunity for fast convergence, which is particularly time-consuming in large multi-symmetric space.
- Continuous SLAM retrievals instead of switching to AMCL after stable— maps take unnecessary computational resources, as stated in the Formulation section, SLAM is significantly more expensive than AMCL for the same input LiDAR scan.
- Mismatching Localization in Navigation with pure Odometry/IMU — leads to the false expectation that "localization" can work even without any maps, when in fact it is a different SLAM problem.
Conclusion
Localization in the navigation picture always implies AMCL — localization on the known static map, which is different from SLAM simultaneously building the map. Providing the correct initial position and waiting for the correlation to reach a threshold before navigation is important operational practice, not just theoretical matter. The next in the column goes into Path Planning — the path calculation step based on the AMCL location itself that was just estimated.
Get new articles and lessons by email
When a new technical article or course module is published, Atlas Robotics sends you a short email. No spam.
Unsubscribe any time with the link in each email. See our Privacy policy.