Python examples

The source code for all these Python examples can be found under MRPT/mrpt_examples_py. Run them with python3 <script>.py once the MRPT Python bindings are installed (pip install mrpt3, the python3-mrpt packages, or source install/setup.bash after building from sources).

Tip

For interactive tutorials, see the MRPT notebooks: marimo notebooks on poses, SLAM, maps, navigation, robot arms and more, with sliders to change parameters. They can be previewed in the browser, or run locally as explained in that repository.

See also the Python API reference. C++ examples are here. A machine-readable index of all examples is available in examples.json.

3D graphics and GUIs

Maps

SLAM, Bayesian filtering and graph-SLAM

Math, poses and geometry

Images

Sensors, observations and datasets

Core, containers, I/O and system