MichaelGrupp/evo
Python package for the evaluation of odometry and SLAM
evo – Evaluation Toolkit for Odometry & SLAM
What it is – A Python package that provides command‑line tools and a small library for loading, comparing, visualising and analysing trajectory data produced by visual‑odometry, SLAM or any other pose‑estimation system.
Why it matters – Researchers and engineers need a reliable way to benchmark their algorithms against ground‑truth data (e.g. KITTI, TUM, EuRoC) and to visualise errors. evo bundles the most common file formats, offers robust association/alignment utilities, and produces publication‑ready plots and tables, all from a single, configurable CLI.
Core features (as described in the README)
| Feature | Details |
|---|---|
| Supported trajectory formats | TUM, KITTI, EuRoC MAV, ROS/ROS2 bag files (PoseStamped, TransformStamped, PoseWithCovarianceStamped, PointStamped, Odometry, TF) |
| Metrics | evo_ape – absolute pose error, evo_rpe – relative pose error |
| Tools | evo_traj (plot/convert/export trajectories), evo_res (aggregate metric results, plot statistics, export CSV), evo_config (global settings) |
| Visualization | 2‑D/3‑D plots, map‑tile overlay (via contextily), optional Qt backend for richer figures, Rerun‑SDK integration for interactive viewers |
| CLI | Powerful, tab‑completable command line with many options (association, alignment, scale‑adjustment, output formats) |
| Library | Modular core and tools packages that can be imported for custom scripts or Jupyter notebooks |
| Performance | Claims to be faster than other Python‑based benchmarking tools (see doc/performance.md) |
| Cross‑platform | Works on Linux, macOS, Windows; works with ROS 1, ROS 2, and even without a ROS installation (uses rosbags for bag parsing) |
Typical workflow (from the README)
- Plot trajectories –
evo_traj kitti file1.txt file2.txt --ref=gt.txt -p --plot_mode=xz - Compute a metric –
evo_ape kitti gt.txt file1.txt -va --plot --save_results results/ORB.zip - Compare results –
evo_res results/*.zip -p --save_table results/table.csv
The commands produce both visual plots (shown in the README) and machine‑readable archives (.zip) that evo_res can later aggregate.
Installation
- From PyPI –
pip install evo(requires Python 3.11+). - Editable from source –
pip install --editable . - Optional dependencies for extra features:
PyQt6for the Qt‑based Matplotlib backend- ROS packages for native bag handling
contextilyfor geographic map tilesrerun-sdkfor interactive Rerun visualisation
- Tab‑completion via
argcomplete(activate-global-python-argcomplete).
Who should use it?
- Robotics researchers evaluating visual‑odometry or SLAM pipelines.
- Developers of autonomous‑driving stacks needing quick benchmark reports on KITTI‑style data.
- Students learning about pose‑error metrics who want a ready‑made CLI and Jupyter notebooks.
License & citation
- Licensed under GPL‑3.0 or later.
- Suggested citation (BibTeX) is provided in the README.
Bottom line – evo is a mature, actively maintained toolbox that streamlines the tedious parts of SLAM/odometry evaluation, letting you focus on algorithm development rather than data‑handling and plotting.
Related
- Project
- Project
- Project
- Project
- Project