Software
MAD-ICP
By Robots Vision and Perception Group, Italy (checked on github.com/rvp-group (opens in a new tab)), from github.com/rvp-group/mad-icp (opens in a new tab)
- Navigation and mapping
- Library
- BSD-3-Clause
MAD-ICP is a LiDAR odometry pipeline that estimates a sensor's motion from point clouds, aiming for robust, real-time operation. It was accepted to RA-L 2024.
Facts
- GitHub stars
- 335read on 28 Nov 2026
- Last update
- 20 Feb 2026Newest commit on main
- Maintenance
- Maintaineda commit in the last 12 months
- Difficulty
- Intermediate
Checked on GitHub on 28 Nov 2026.
Licenses
- Code
- BSD-3-Clause (opens in a new tab)
Read by Robotheca from LICENSE (opens in a new tab) (BSD-3-Clause) at commit cb47d83 (opens in a new tab), on 16 Oct 2026.
- Commercial use
- Yes
At a glance
- What it is
- Runs LiDAR odometry on Rosbag1, Rosbag2 and KITTI binary data via a Python launcher.
- Writes the odometry estimate in KITTI format as row-major homogeneous matrices.
- Dataset configurations cover sensor characteristics and extrinsics for many datasets.
- Internal parameters are set in a default configuration file and can be replaced with a custom one.
- Parameters such as number of keyframes and cores can be tuned for speed, and it is described as anytime realtime.
- Includes a MAD-tree for nearest neighbor search and a registration tool between two point clouds.
Robotheca's summary of the project's documents, not the creator's words.
- Robots on Robotheca
- No robot on Robotheca uses it yet.
- Licence
- BSD-3-Clause. Commercial use: Yes. Where it was read
- Install
- In the creator's words: The project's README (opens in a new tab)
- Maintenance
- Maintained, last commit on 20 Feb 2026.
Use it
How to install it, in the creator's words: The project's README (opens in a new tab)
Robotheca doesn't review code. Read it before running it.
Files and versions
- Repository on GitHubgithub.com/rvp-group/mad-icp (opens in a new tab)
- The version Robotheca readcb47d83 (opens in a new tab)
- Latest release0.0.10 (16 Jun 2025)
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 Robots Vision and Perception Group, at commit cb47d83, under BSD-3-Clause (opens in a new tab). The original on GitHub (opens in a new tab).
Read the README here
(opens in a new tab) (opens in a new tab) (opens in a new tab) (opens in a new tab)
MAD-ICP
It Is All About Matching Data -- Robust and Informed LiDAR Odometry
Accepted RA-L (opens in a new tab) 2024
Preprint (opens in a new tab)
Install using pip
You can download/install MAD-ICP using pip
pip install mad-icp
Usage
We provide a Python launcher for Rosbag1, Rosbag2, and KITTI binary formats. The dataset configuration is important for the sensor characteristics and extrinsic information (typically, ground truths are not expressed in the LiDAR frame). In configurations/datasets/dataset_configurations.py we provide configurations for many datasets.
The internal parameters (used by default) are stored in configurations/mad_params.py. All the experiments have been run with this same set.
You can specify a new set in configurations/mad_params.py and use it with the option --mad-icp-params.
Both the options --dataset-config and --mad-icp-params also accept .cfg files like those in configurations.
To run the pipeline, choose the appropriate dataset configuration (kitti for this example) and type:
mad_icp --data-path /input_dir/ \
--estimate-path /output_dir/ \
--dataset-config kitti
Our runner directly saves the odometry estimate file in KITTI format (homogenous matrix row-major 12 scalars); soon, we will provide more available formats like TUM.
Our pipeline is anytime realtime! You can play with parameters num_keyframes and num_cores and, if you have enough computation capacity, we suggest increasing these (we run demo/experiments with num_keyframes=16 and num_cores=16).
Data associtation and registration tools
If you want to use our MAD-tree to perform nearest neighbor or use MAD-ICP to perform registration between two point clouds, here few easy examples (opens in a new tab).
Building from source
Building is tested by our CI/CD pipeline for Ubuntu 20.04 and Ubuntu 22.04 (using g++).
The following external dependencies are required.
| Dependency | Version(s) known to work |
|---|---|
| Eigen (opens in a new tab) | 3.3 |
| OpenMP (opens in a new tab) | |
| pybind11 (opens in a new tab) | |
| yaml (opens in a new tab) (optional for C++ apps) |
If your system lacks any dependency (except for OpenMP) we download local copies using FetchContent.
If you want to build and install the package, assuming you're inside the repository, you can use pip as follows:
pip install .
Moreover, you can build the C++ library (along with the pybinds) by typing:
mkdir build && cd build && cmake ../mad_icp && make -j
Building and Running C++ Apps [Optional]
If you want to avoid Python, we provide the bin_runner C++ executable (located in mad_icp/apps/cpp_runners/bin_runner.cpp) that accepts binary cloud format (KITTI, Mulran, etc.).
You can build the executable using
mkdir build && cd build && cmake -DCOMPILE_CPP_APPS=ON ../mad_icp && make -j
And run
cd build/apps/cpp_runners
./bin_runner -data_path /path_to_bag_folder/ \
-estimate_path /path_to_estimate_folder/ \
-dataset_config ../../../mad_icp/configurations/datasets/kitti.cfg \
-mad_icp_config ../../../mad_icp/configurations/default.cfg
[!IMPORTANT] If running on the KITTI dataset, enable the flag
-kittifor KITTI scan correction (not documented anywhere). We do not (currently) provide a viewer for this executable.
What is missing?
- ROS/ROS2 optional dependencies
Cite us
If you use any of this code, please cite our paper (opens in a new tab):
@article{ferrari2024mad,
title={MAD-ICP: It Is All About Matching Data--Robust and Informed LiDAR Odometry},
author={Ferrari, Simone and Di Giammarino, Luca and Brizi, Leonardo and Grisetti, Giorgio},
journal={IEEE Robotics and Automation Letters},
year={2024},
doi={10.1109/LRA.2024.3456509}
}
Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.
