Skip to content

Software

evo

From github.com/MichaelGrupp/evo (opens in a new tab)

  • Navigation and mapping
  • Tool
  • GPL-3.0-only

A Python package with command-line tools and a small library for evaluating and comparing trajectory output from odometry and SLAM algorithms.

Facts

GitHub stars
4,373read on 28 Nov 2026
Last update
27 Nov 2026Newest commit on master
Maintenance
Activea commit in the last 90 days
Difficulty
Intermediate
Hardware it needs, as the project states it
Requires Python 3.11+. ROS installation is optional for some ROS-related features; PyQt6, contextily and Rerun are optional extras.

Checked on GitHub on 28 Nov 2026.

Licenses

Code
GPL-3.0-only (opens in a new tab)

Read by Robotheca from LICENSE (opens in a new tab) (GPL-3.0-only) at commit 23a9155 (opens in a new tab), on 28 Nov 2026.

Commercial use
Yes

Copyleft: Modified source must be published.

At a glance

What it is
  • Computes absolute pose error (evo_ape) and relative pose error (evo_rpe) metrics on trajectories.
  • Reads TUM, KITTI and EuRoC MAV trajectory files, plus ROS and ROS2 bag topics with pose and odometry messages.
  • Compares result files from the metrics with evo_res, printing statistics, plotting, and saving tables.
  • Plots and analyzes trajectories with evo_traj, with options for association, alignment and scale adjustment.
  • Offers optional visualization through the Rerun viewer and map tiles for geo-referenced plots.
  • Installs via pip and provides a Jupyter notebook and IPython shell for interactive use.

Robotheca's summary of the project's documents, not the creator's words.

Robots on Robotheca
No robot on Robotheca uses it yet.
Licence
GPL-3.0-only. Commercial use: Yes. Where it was read
Install
In the creator's words: The project's website (opens in a new tab)
Maintenance
Active, last commit on 27 Nov 2026.

Use it

How to install it, in the creator's words: The project's website (opens in a new tab)

Robotheca doesn't review code. Read it before running it.

Files and versions

Facts read at commit 23a9155

Robotheca read the repository at two versions: the summary at dec58c0 and the facts and the README at 23a9155 (read on 28 Nov 2026).

Robotheca never hosts the code: each link goes to the creator's own page.

The README

The creator's own README, copied as written: README.md by @MichaelGrupp, at commit 23a9155, under GPL-3.0-only (opens in a new tab). The original on GitHub (opens in a new tab).

Read the README here

evo

Python package for the evaluation of odometry and SLAM

Linux / macOS / Windows / ROS / ROS2
(opens in a new tab)

This package provides executables and a small library for handling, evaluating and comparing the trajectory output of odometry and SLAM algorithms.

Supported trajectory formats:

  • 'TUM' trajectory files
  • 'KITTI' pose files
  • 'EuRoC MAV' (.csv groundtruth and TUM trajectory file)
  • ROS and ROS2 bagfile with geometry_msgs/PoseStamped, geometry_msgs/TransformStamped, geometry_msgs/PoseWithCovarianceStamped, geometry_msgs/PointStamped or nav_msgs/Odometry topics or TF messages (opens in a new tab)

See here (opens in a new tab) for more infos about the formats.

evo (opens in a new tab) evo (opens in a new tab) evo (opens in a new tab) evo (opens in a new tab)


Why?

evo has several advantages over other public benchmarking tools:

  • common tools for different formats
  • algorithmic options for association, alignment, scale adjustment for monocular SLAM etc.
  • flexible options for output, plotting (opens in a new tab), visualization (opens in a new tab) or export (e.g. LaTeX plots or Excel tables)
  • a powerful, configurable CLI that can cover many use cases
  • modular core and tools libraries for custom extensions
  • faster than other established Python-based tools (see here (opens in a new tab))

What it's not: a 1-to-1 re-implementation of a particular evaluation protocol tailored to a specific dataset.


Installation / Upgrade

Installation is easy-peasy if you're familiar with this: https://xkcd.com/1987/# (opens in a new tab)

The latest version of evo supports Python 3.11+.

Please use pip only in a proper environment (e.g. uv/uvx, pipx, venv, Pixi or a classic virtual environment (opens in a new tab)).

⚠️ ☠️☠️☠️ ⚠️

Whatever you do, don't use: pip install --user / anything with --break-system-packages / or worst: sudo pip install

From PyPi

If you just want to use the executables of the latest release version, the easiest way is to run:

pip install evo

This will download the package and its dependencies from PyPI (opens in a new tab) and install or upgrade them. If you want, you can subscribe to new releases via https://libraries.io/pypi/evo (opens in a new tab).

To upgrade to a newer version: pip install --upgrade evo

From Source

Run this in the repository's base folder:

pip install --editable .
Pixi

Pixi (opens in a new tab) is an easy-to-use alternative if you want to have an isolated development environment. Run pixi add evo if you have an existing environment, or clone this repository and run pixi shell to open a dev shell.

Tab completion

Tab completion is supported via the argcomplete (opens in a new tab) package. Run activate-global-python-argcomplete after the installation to use it.

Dependencies

Python packages

evo has some required dependencies that are automatically resolved during installation with pip. See the pyproject.toml file for all details.

PyQt6 (optional)

PyQt6 (opens in a new tab) will give you the enhanced GUI for plot figures from the "qtagg" matplotlib backend (otherwise: "TkAgg"). If PyQt6 is already installed when installing this package, it will be used as a default (see evo_config show). To change the plot backend afterwards, run evo_config set plot_backend qtagg.

If you run into issues with installing tkinter, trying PyQt6 is a good idea.

ROS (optional)

Some ROS-related features require a ROS installation, see here (opens in a new tab). We are testing this package with ROS Lyrical.

Reading ROS bag files works also without a ROS installation thanks to the great rosbags (opens in a new tab) package that is installed together with evo. This allows you also to read ROS 1 & 2 bags even if you don't have one of those ROS distros installed. (except for reading /tf topics, because there we need the buffer implementation from ROS)

contextily (optional)

contextily (opens in a new tab) is required for adding map tiles (opens in a new tab) to plots of geo-referenced data.

Rerun (optional)

You can send data also to the rerun (opens in a new tab) viewer. Just pip install rerun-sdk and add --rerun to your command. See the related Wiki page (opens in a new tab) for more details.

evo (opens in a new tab) evo (opens in a new tab)


Command Line Interface

After installation with pip, the following executables can be called globally from your command-line:

Metrics:

  • evo_ape - absolute pose error
  • evo_rpe - relative pose error

Tools:

  • evo_traj - tool for analyzing, plotting or exporting one or more trajectories
  • evo_res - tool for comparing one or multiple result files from evo_ape or evo_rpe
  • evo_config - tool for global settings and config file manipulation

Call the commands with --help to see the options, e.g. evo_ape --help. Tab-completion of command line parameters is available on UNIX-like systems.

More documentation Check out the Wiki on GitHub (opens in a new tab).


Example Workflow

There are some example trajectories in the source folder in test/data.

1.) Plot multiple trajectories

Here, we plot two KITTI pose files and the ground truth using evo_traj:

cd test/data
evo_traj kitti KITTI_00_ORB.txt KITTI_00_SPTAM.txt --ref=KITTI_00_gt.txt -p --plot_mode=xz

evo (opens in a new tab) evo (opens in a new tab)

2.) Run a metric on trajectories

For example, here we calculate the absolute pose error for two trajectories from ORB-SLAM and S-PTAM using evo_ape (KITTI_00_gt.txt is the reference (ground truth)) and plot and save the individual results to .zip files for evo_res:

First trajectory (ORB Stereo):

mkdir results
evo_ape kitti KITTI_00_gt.txt KITTI_00_ORB.txt -va --plot --plot_mode xz --save_results results/ORB.zip

evo (opens in a new tab) evo (opens in a new tab)

Second trajectory (S-PTAM):

evo_ape kitti KITTI_00_gt.txt KITTI_00_SPTAM.txt -va --plot --plot_mode xz --save_results results/SPTAM.zip

evo (opens in a new tab) evo (opens in a new tab)

3.) Process multiple results from a metric

evo_res can be used to compare multiple result files from the metrics, i.e.:

  • print infos and statistics (default)
  • plot the results
  • save the statistics in a table

Here, we use the results from above to generate a plot and a table:

evo_res results/*.zip -p --save_table results/table.csv

evo (opens in a new tab) evo (opens in a new tab) evo (opens in a new tab) evo (opens in a new tab) evo (opens in a new tab)


IPython / Jupyter Resources

For an interactive source code documentation, open the Jupyter notebook (opens in a new tab) metrics_tutorial.ipynb in the notebooks folder of the repository. More infos on Jupyter notebooks: see here (opens in a new tab)

If you have IPython installed, you can launch an IPython shell with a custom evo profile with the command evo_ipython.


Contributing Utilities

A few "inoffical" scripts for special use-cases are collected in the contrib/ directory of the repository. They are inofficial in the sense that they don't ship with the package distribution and thus aren't regularly tested in continuous integration.


Trouble

"😱, this piece of 💩 software doesn't do what I want!!1!1!!"

First aid:


Contributing

Patches are welcome, preferably as pull requests.

License

GPL-3.0 or later (opens in a new tab)

If you use this package for your research, a footnote with the link to this repository is appreciated: github.com/MichaelGrupp/evo.

...or, for citation with BibTeX:

@misc{grupp2017evo,
  title={evo: Python package for the evaluation of odometry and SLAM.},
  author={Grupp, Michael},
  howpublished={\url{https://github.com/MichaelGrupp/evo}},
  year={2017}
}

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.