Absolute Trajectory Error (ATE) quantifies the global drift in a robot's estimated path by computing the root mean square error between corresponding poses after an optimal rigid alignment. This rigid transformation (calculated via methods like Umeyama alignment) minimizes the overall distance between the two trajectories, isolating the global consistency error from any rotational or translational misalignment. ATE is expressed in meters (or other distance units) and provides a single, interpretable scalar value for overall trajectory accuracy.
Glossary
Absolute Trajectory Error (ATE)

What is Absolute Trajectory Error (ATE)?
Absolute Trajectory Error (ATE) is the primary metric for evaluating the global consistency of an estimated trajectory against a ground truth trajectory in Simultaneous Localization and Mapping (SLAM) and visual odometry systems.
ATE is critical for benchmarking SLAM and odometry systems because it directly measures the unbounded drift that accumulates over time, which pure relative pose error (RPE) does not capture. It is computed after the entire trajectory is estimated, making it a posteriori metric used during system validation and tuning. High ATE indicates poor loop closure performance or failures in the back-end optimization, revealing systemic issues in the mapping and localization pipeline's ability to maintain global geometric correctness.
Key Characteristics of ATE
Absolute Trajectory Error (ATE) is the definitive metric for evaluating the global consistency of a SLAM or odometry system's estimated path against a known ground truth. Its characteristics define how it quantifies performance and reveals systemic errors.
Global Consistency Measure
ATE evaluates the global alignment of an entire estimated trajectory to a ground truth trajectory, after a rigid transformation (rotation and translation) is applied to align them. This differs from metrics like Relative Pose Error (RPE), which measures local drift over fixed intervals.
- Core Purpose: Quantifies the system's ability to build a globally consistent map and path, free from unbounded drift.
- Alignment Step: A least-squares or Umeyama algorithm is used to find the optimal SE(3) or Sim(3) transformation that minimizes the overall point-to-point distance between trajectories. This step is critical, as it removes the arbitrary global coordinate frame difference.
Root-Mean-Square (RMS) ATE
The most common scalar summary of ATE is the Root-Mean-Square Error (RMSE), calculated across all aligned trajectory points. It provides a single, aggregate measure of global accuracy.
- Calculation: (\text{RMSE}{\text{ATE}} = \sqrt{\frac{1}{N} \sum{i=1}^{N} | \text{trans}(\mathbf{p}_i) - \mathbf{q}_i |^2}) Where (\mathbf{p}_i) is the estimated pose, (\mathbf{q}_i) is the ground truth pose, and (\text{trans}(·)) is the optimal alignment transform.
- Interpretation: A lower RMSE indicates better global accuracy. It is sensitive to large outliers in the trajectory, which will disproportionately increase the error.
ATE Visualization: Trajectory Plots
ATE is best understood visually by plotting the aligned estimated and ground truth trajectories in 2D or 3D. This reveals error patterns that a single RMSE number cannot.
- Error Vectors: Often visualized as lines connecting corresponding points on the aligned trajectories, making local deviations immediately apparent.
- Pattern Diagnosis: A consistent, growing gap indicates drift. A sudden large jump may indicate a tracking failure or incorrect loop closure. A wobbling pattern suggests noisy pose estimates.
- Standard Practice: Tools like evo (https://github.com/MichaelGrupp/evo) and rpg_trajectory_evaluation are industry standards for generating these diagnostic plots.
Distinction from Relative Pose Error (RPE)
ATE and Relative Pose Error (RPE) are complementary but answer different questions. Understanding the distinction is crucial for proper system evaluation.
- ATE: Measures global consistency ("Is the robot's final position on the map correct?").
- RPE: Measures local accuracy over a fixed delta (e.g., 1 second, 1 meter), quantifying drift rate ("How accurate is the odometry between nearby poses?").
- Key Insight: A system can have low RPE (good local odometry) but high ATE if it fails to perform loop closure to correct accumulated drift. Conversely, successful loop closure reduces ATE but may not affect RPE.
Sensitivity to Trajectory Alignment
The computed ATE value is inherently dependent on the quality and method of the trajectory alignment step. Misalignment can invalidate the metric.
- Scale Ambiguity (Monocular Systems): For monocular Visual SLAM, which cannot recover absolute scale, ATE is often computed under a Sim(3) alignment (7 degrees of freedom: rotation, translation, scale) rather than SE(3) (6 DoF).
- Alignment Robustness: The standard least-squares alignment is sensitive to outliers. Some evaluation protocols use a robust kernel or perform alignment after removing a initial/bootstrap period.
- Best Practice: Always report the alignment method (SE(3) or Sim(3)) alongside the ATE RMSE value.
Application in SLAM Benchmarking
ATE is the primary metric for ranking systems on standard SLAM and visual odometry datasets, such as the KITTI Odometry Benchmark, EuRoC MAV, and TUM RGB-D datasets.
- Dataset Ground Truth: These datasets provide high-fidelity ground truth trajectories from motion capture systems, laser scanners, or GPS/IMU fusion.
- Benchmarking Protocol: The standard pipeline is: 1) Run the SLAM system on the dataset sequence, 2) Align the output trajectory to the ground truth, 3) Compute RMSE ATE (and often RPE).
- Industry Standard: Published research in robotics and computer vision must report ATE to allow direct, quantitative comparison against prior state-of-the-art methods.
How is ATE Calculated?
Absolute Trajectory Error (ATE) is a fundamental metric for evaluating the global consistency of a robot's estimated path against a known ground truth.
Absolute Trajectory Error (ATE) is calculated by first performing a rigid-body transformation (a least-squares alignment) between the estimated trajectory and the ground truth trajectory to account for arbitrary global coordinate frame differences. This alignment, often solved via the Umeyama algorithm, finds the optimal rotation and translation that minimizes the overall point-wise distance between the two trajectories. After alignment, the ATE is computed as the root mean square error (RMSE) of the Euclidean distances between each corresponding pose position in the aligned sequences. This single scalar value quantifies the global drift of the entire estimated path.
The calculation requires temporal synchronization of the trajectory sequences, as poses must correspond to the same timestamps. For a trajectory with N poses, the final ATE is: ATE = sqrt( (1/N) * Σ ||trans(p_est_i) - p_gt_i||² ), where trans() applies the optimal alignment. This metric is sensitive to global consistency errors like drift but is invariant to a globally correct trajectory that is merely rotated or translated. It is the standard for evaluating SLAM and odometry systems in benchmarks like the KITTI or TUM RGB-D datasets, providing a clear, quantitative measure of a system's mapping and localization accuracy.
ATE vs. Relative Trajectory Error (RTE)
A direct comparison of two primary metrics used to evaluate the performance of SLAM, visual odometry, and robot localization systems.
| Feature / Characteristic | Absolute Trajectory Error (ATE) | Relative Trajectory Error (RTE) |
|---|---|---|
Primary Purpose | Measures global consistency and absolute drift over the entire trajectory. | Measures local accuracy and consistency over short, fixed intervals. |
Error Type | Absolute, global error. | Relative, incremental error. |
Dependency on Ground Truth Alignment | Requires a global alignment (e.g., via Umeyama algorithm) between estimated and ground truth trajectories. | Independent of global alignment; uses only local, temporally aligned segments. |
Sensitivity to Accumulated Drift | Directly quantifies the total accumulated drift. | Isolates and evaluates drift over a specific, bounded timeframe, ignoring long-term global drift. |
Typical Calculation | Root Mean Square Error (RMSE) of point distances after optimal SE(3) alignment: ATE = sqrt( mean( || trans(p_est_i) - p_gt_i ||² ) ). | RMSE of the relative pose error over fixed time intervals Δt: RTE = sqrt( mean( || trans(Q_i⁻¹ Q_{i+Δt}) - trans(P_i⁻¹ P_{i+Δt}) ||² ) ), where Q=estimated, P=ground truth. |
Interpretation | Lower ATE indicates better global map and trajectory accuracy. Essential for applications requiring absolute positioning (e.g., mapping). | Lower RTE indicates better short-term tracking and odometry performance. Critical for local control and obstacle avoidance. |
Common Use Case | Evaluating the final output of a complete SLAM system; benchmarking for long-term autonomy and mapping. | Evaluating the performance of the odometry or tracking front-end; analyzing system performance in drift-prone environments. |
Robustness to Loop Closure | ATE score improves dramatically with successful loop closure, as it corrects global drift. | RTE is largely unaffected by loop closures, as it measures error over short intervals that may not span the loop. |
Primary Application Contexts for ATE
Absolute Trajectory Error (ATE) is the definitive metric for quantifying the global accuracy of a robot's estimated path against a known ground truth. It is the primary benchmark used to evaluate and compare the performance of SLAM, visual odometry, and other localization systems.
SLAM System Benchmarking
ATE is the gold standard for evaluating the global consistency of a Simultaneous Localization and Mapping (SLAM) system's output. It answers the critical question: "How far is the robot's estimated position from where it actually is in the world?"
- Purpose: Quantifies the drift and systematic error accumulated over an entire trajectory.
- Process: After a full run, the estimated and ground truth trajectories are aligned using a rigid transformation (to account for an arbitrary global coordinate frame), and the root-mean-square error (RMSE) between corresponding poses is computed.
- Key Insight: A low ATE indicates a globally consistent map and trajectory, which is essential for long-term autonomy and reliable loop closure.
Visual & Visual-Inertial Odometry (VO/VIO) Validation
ATE is used to rigorously test odometry systems that estimate motion from cameras (VO) or cameras fused with inertial sensors (VIO). These systems are prone to drift, and ATE measures its magnitude over a complete path.
- Comparison Metric: Allows direct comparison between different VO/VIO algorithms (e.g., ORB-SLAM, DSO, VINS-Mono) on standardized datasets like KITTI, EuRoC MAV, or TUM RGB-D.
- Diagnostic Tool: A high ATE, especially one that grows with distance, indicates poor feature tracking, inaccurate scale estimation (in monocular systems), or failed bundle adjustment.
- Real-World Example: Evaluating a drone's VIO system by comparing its logged flight path to a motion-capture ground truth, with ATE reported in meters.
Sensor Fusion & Calibration Verification
ATE serves as an end-to-end validation metric for sensor fusion pipelines and calibration routines. It measures whether fused data from LiDAR, cameras, and IMUs produces a trajectory that matches physical reality.
- Calibration Check: After performing extrinsic calibration (e.g., finding the transform between a LiDAR and a camera), running a SLAM pipeline and checking the ATE validates the calibration's accuracy.
- Fusion Algorithm Tuning: The ATE score is used to tune the noise parameters and weighting in filters like the Extended Kalman Filter (EKF) or optimization back-ends.
- System Integration Test: In a full robot stack, a low ATE confirms that the perception, state estimation, and sensor synchronization are functioning correctly together.
Sim-to-Real Transfer Evaluation
In robotics simulation, ATE is a critical metric for evaluating the sim-to-real transfer of navigation policies. A policy trained in simulation is deployed on a physical robot, and its real-world trajectory is compared to ground truth.
- Reality Gap Quantification: The difference in ATE between the simulated performance and real-world performance directly measures the reality gap.
- Training Signal: In Reinforcement Learning for Robotics, ATE can be part of the reward function to encourage the learning of globally accurate navigation policies.
- Validation Step: Before costly real-world deployment, a low ATE in high-fidelity physics-based simulation (e.g., NVIDIA Isaac Sim) increases confidence in the system's real-world performance.
Mapping & Localization Service Quality Assurance
For commercial robotics and autonomous vehicle companies, ATE is a key performance indicator (KPI) for quality assurance of mapping and localization services.
- Release Criteria: A new version of a localization algorithm must achieve an ATE below a strict threshold (e.g., < 0.5% of total path length) across a suite of test tracks before deployment.
- Regression Testing: ATE is tracked over time to ensure software updates do not degrade localization accuracy.
- Specification Metric: System requirements documents for autonomous mobile robots (AMRs) or self-driving cars will specify maximum allowable ATE for operational safety and reliability.
Academic Research & Algorithm Comparison
In academic literature, ATE is the universally reported metric for comparing novel SLAM and odometry algorithms. It provides a single, comprehensible number that summarizes overall trajectory accuracy.
- Standardized Benchmarking: Papers present ATE RMSE (in meters) tables comparing their method to prior state-of-the-art on public datasets. This allows for objective, quantitative comparison.
- Algorithm Development Focus: Research often aims explicitly to reduce ATE by improving loop closure detection, place recognition, or back-end optimization (e.g., pose graph or factor graph optimization).
- Limitation Awareness: Researchers also analyze ATE distributions and plots to understand failure modes, as a single RMSE can mask outliers.
Frequently Asked Questions
Absolute Trajectory Error is a fundamental metric for evaluating the global accuracy of robotic localization and mapping systems. These questions address its calculation, interpretation, and role in engineering robust autonomous systems.
Absolute Trajectory Error is a metric that quantifies the global consistency of an estimated robot trajectory by computing the root mean square error (RMSE) between corresponding poses in the estimated trajectory and a ground truth trajectory, after aligning them via a rigid transformation (translation and rotation) to account for arbitrary global coordinate frames.
ATE provides a single, comprehensive number that captures the overall drift and global accuracy of a SLAM or odometry system over an entire run. It is distinct from Relative Pose Error (RPE), which measures local consistency over short segments. A low ATE indicates that the system's internal map and its understanding of where it has been are globally consistent with reality, which is critical for tasks like long-term autonomy and reliable loop closure.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Absolute Trajectory Error (ATE) is a core metric for evaluating global trajectory consistency in SLAM and odometry systems. It is used alongside other specialized metrics that assess different aspects of system performance.
Root Mean Square Error (RMSE)
Root Mean Square Error is the standard statistical measure used to compute both ATE and RPE, providing a single scalar value that summarizes the magnitude of error across an entire trajectory. For ATE, it is the square root of the average squared Euclidean distance between corresponding aligned trajectory points.
- Formula: RMSE = sqrt( (1/N) * Σ ||trans(p_est_i) - p_true_i||² ), where
trans()is the optimal alignment transformation. - Interpretation: A lower RMSE indicates better global trajectory consistency. It penalizes large errors more heavily than the Mean Absolute Error (MAE).
- Context: The standard reporting metric for ATE in academic benchmarks like the KITTI or TUM RGB-D datasets.
Trajectory Alignment (Sim(3) / SE(3))
Trajectory Alignment is the essential preprocessing step before calculating ATE, which finds the optimal similarity (Sim(3)) or rigid-body (SE(3)) transformation that aligns the estimated trajectory to the ground truth. This step removes global translational, rotational, and scale ambiguities that are not observable by the SLAM system.
- SE(3) Alignment: Used for trajectories with metric scale (e.g., from LiDAR or Visual-Inertial SLAM). Solves for a 6-DOF rotation and translation.
- Sim(3) Alignment: Used for monocular Visual SLAM trajectories, which suffer from scale drift. Solves for a 7-DOF transformation including a scale factor.
- Method: Typically solved via Umeyama's algorithm or Horn's method using singular value decomposition (SVD).
Odometry
Odometry is the process of estimating a robot's change in position over time using data from motion sensors. It is the foundational component that SLAM builds upon and extends. ATE directly evaluates the long-term accuracy of odometric estimates after global optimization.
- Wheel Odometry: Uses wheel encoders to measure rotation.
- Visual Odometry (VO): Uses camera images.
- Visual-Inertial Odometry (VIO): Fuses camera and IMU data.
- Key Distinction: Pure odometry systems accumulate drift without correction. SLAM systems use loop closure and bundle adjustment to correct this drift, which ATE measures the residual of.
Drift
Drift is the accumulation of unbounded error in a system's estimated state over time due to the integration of small, uncorrected measurement errors. It is the fundamental problem that SLAM aims to mitigate, and ATE quantifies the residual global drift after all corrections.
- Causes: Sensor noise, imperfect sensor calibration, linearization errors in filters, and a lack of observable global features.
- Types: Rotational drift often leads to larger errors than translational drift. Scale drift is specific to monocular systems.
- Mitigation: Techniques like loop closure detection, place recognition, and pose graph optimization are designed to detect and correct drift, directly improving ATE.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us