MRPT

The Mobile Robot Programming Toolkit: C++ and Python libraries and apps for SLAM, localization, sensors, 3D geometry and visualization.

MRPT in action: mapping and navigation with MOLA and MRPT, LiDAR odometry, MRPT GUI apps, 3D rendering and MVSim

Install MRPT Your first program GitHub repository

What is MRPT?

MRPT is a set of portable, well-tested and open-source (BSD-3) C++ libraries, Python bindings and ready-to-use applications for mobile robotics and computer vision research and development. It powers the MOLA SLAM framework and the MVSim simulator, and it is released into ROS 2.

Sensors and datasets

Drivers for LiDARs, cameras, IMUs and GNSS; a common observation model, and the rawlog dataset format with tools to record, inspect and edit datasets.

Maps and SLAM

Point clouds, occupancy grids, voxel and landmark maps; ICP, particle filter, EKF and graph SLAM and localization.

Poses and probability

2D/3D poses and points, Lie groups, uncertainty propagation, Gaussian and particle-based PDFs, Bayesian filtering.

Navigation and planning

Reactive navigation with trajectory generators (PTGs), holonomic methods and obstacle avoidance; kinematics.

3D graphics and GUIs

Scene graphs, offscreen rendering, 3D windows and plots, and ImGui-based GUIs for your own tools.

Math, geometry, images

Matrices, optimization, RANSAC, geometry, images and camera models, serialization and many system utilities.

Where to start

Install

pip, ROS 2, Ubuntu PPA, or build from sources.

Tutorials

From your first program to SLAM, ICP, motion models and Kalman filters.

Applications

Dataset viewers, SLAM and localization, navigation simulators, converters.

C++ API

Reference documentation of all MRPT modules and classes.

Python API

The mrpt3 Python package (pip install mrpt3).

Examples

Over a hundred C++ examples and dozens of Python examples.

What’s new in MRPT 3

  • Modular packages: each module (mrpt_core, mrpt_math, mrpt_maps…) is an independent CMake/colcon package, released into ROS 2 as ros-$ROS_DISTRO-mrpt-*.

  • Python wheels on PyPI: pip install mrpt3.

  • New GUI apps built on ImGui (RawLogViewer, SceneViewer3D, navlog-viewer,…).

  • Cleaner, modern C++ API: mrpt::viz for 3D scenes, return values instead of output parameters, std::optional, scoped enums, and fewer dependencies.

Porting existing code? Read Porting code from MRPT 2.x to MRPT 3.0.

Ecosystem and community

Indices and tables