依赖版本要求严格:GTSAM 需 4.0.2 或 4.1、Ceres 需 2.1.0,Sophus 和 GTSAM 都要 checkout 指定 commit;工作区必须按 SuperOdom、livox_ros_driver2、rviz_2d_overlay_plugins 的固定结构放置,且要先单独编译 livox_ros_driver2;需自行下载 demo 数据集,并在 yaml 中改好 imu_topic、laser_topic 和外参。

SuperOdom
superxslamGPL-3.0活跃维护仅用激光雷达或激光-惯性融合的高鲁棒、高精度里程计,为机器人和自动驾驶提供可靠定位与建图,应对退化场景和传感器不确定性。
A highly robust and accurate LiDAR-only, LiDAR-inertial odometry
mkdir -p ~/ros2_ws/src && cd ~/ros2_ws/src && git clone https://github.com/superxslam/SuperOdom
cd ~/ros2_ws && colcon build
ros2 launch super_odometry livox_mid360.launch.pyREADME 未说明显存或 CPU 要求;已在搭载 Livox、Velodyne、Ouster 激光雷达的平台上测试;Docker 方案依赖 NVIDIA Docker,说明预期使用 NVIDIA GPU。
轻量级 LiDAR/激光-惯性里程计,支持 Livox、Velodyne、Ouster,基于 ROS 2 Humble
仅用激光雷达或激光-惯性融合的高鲁棒、高精度里程计,为机器人和自动驾驶提供可靠定位与建图,应对退化场景和传感器不确定性。
核心能力
- LiDAR 里程计为 IMU 里程计提供位姿约束以估计零偏
- IMU 里程计为 LiDAR ICP 提供初始位姿预测
- 支持纯 LiDAR 模式,将 imu_topic 留空即自动切换
- 提供 ICP 对齐风险预测与 6 自由度退化检测
- 支持建图与定位双模式,可在 RVIZ2 或 Rerun 可视化
容易踩的坑
- v1.0Release v1.0最新正式版2025-04-25 · 2025-04-25 15:14 UTC
- Multi-LiDAR Support Compatible with Livox, Velodyne, and Ouster sensors
- LiDAR-inertial Fusion Support LiDAR-inertial Fusion
- Dual-Mode Operation Supports both localization and mapping modes
- Degeneracy Awareness Robust detection of environmental degeneracy
- ROS 2.0 Integration Built on ROS 2 Humble for modern robotics development
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
SuperOdometry: Lightweight LiDAR-inertial Odometry and Mapping
🔥 This is a slim version of Super Odometry, containing the LiDAR Odometry component and IMU Odometry component. The LiDAR odometry only provides pose constraints to IMU odometry modules to estimate the bias of IMU. In return, the IMU Odometry module offers pose predictions to the LiDAR Odometry module, serving as an initial guess for ICP optimization.
🔥 The system has been widely tested on above platforms equipped with Livox, Velodyne and Ouster LiDAR.
📰 News
-
🔔2025/10 — Adapt super odometry on humanoid robot. Please check the "humanoid_ros2" branch
-
2025/08 — Release SuperLoc code to achieve online degeneracy detection.
-
🔔 2025/06 — IMPORTANT: Release of Super Odometry with support for both LiDAR-only and LiDAR–inertial odometry.
-
For LiDAR-only use: leave the
imu_topicunset/empty in yoursuper_odometry/config/$(YOUR_LiDAR_SENSOR).yaml(or remove the IMU topic), and the odometry pipeline will run in LiDAR-only mode automatically. -
Example (in your sensor config):
-
imu_topic: "" # leave empty for LiDAR-only mode
📋 Table of Contents
- Common building Issues
- Introduction
- 🔥 Key Features
- 📦 Installation
- 🐳 Docker Setup
- 🚀 Launch SuperOdometry
- 📍 Localization Mode Configuration
- 📚 Citations
- 🛠️ Next Plan
- 📝 License
- 🙏 Acknowledgements
🔥 1. Key Features
- Support LiDAR Only or LiDAR inertial Odometry
- Compatible with Livox, Velodyne, and Ouster sensors
- LiDAR-inertial Fusion
- Support LiDAR-inertial Fusion
- Dual-Mode Operation
- Supports both localization and mapping modes
- Alignment Risk Prediction
- Provides alignment risk prediction for ICP algorithms
- Degeneracy Awareness
- Robust detection of environmental degeneracy
- ROS 2.0 Integration
- Built on ROS 2 Humble for modern robotics development
🔥 6 DOF degeneracy uncertainty detection. We support visualization in both RVIZ and Rerun.
📦 3. Installation
Highly recommend to check our docker files to run our code with step 4 and step 5.
System Requirements
- ROS2 Humble
- PCL
- Eigen
- Sophus
- GTSAM (4.0.2 or 4.1)
- Ceres Solver (2.1.0)
Dependencies Installation
Install Sophus
git clone http://github.com/strasdat/Sophus.git
cd Sophus && git checkout 97e7161
mkdir build && cd build
cmake .. -DBUILD_TESTS=OFF
make -j8 && sudo make install
Install GTSAM
git clone https://github.com/borglab/gtsam.git
cd gtsam && git checkout 4abef92
mkdir build && cd build
cmake \
-DGTSAM_USE_SYSTEM_EIGEN=ON \
-DGTSAM_BUILD_WITH_MARCH_NATIVE=OFF \
..
make -j6 && sudo make install
Install Ceres
sudo apt update
sudo apt install libgoogle-glob-dev
git clone https://github.com/ceres-solver/ceres-solver.git
cd ceres-solver
git checkout f68321e7de8929fbcdb95dd42877531e64f72f66
mkdir build
cd build
cmake ..
make -j8 # Use number of cores you have, e.g., -j8 for 8 cores
sudo make install
Install Rerun
pip install rerun-sdk
🐳 4. Docker Setup
Prerequisites
Building Docker Image
cd ros2_humble_docker
docker build -t superodom-ros2:latest .
Workspace Structure
First create your own local ROS2 workspace and clone SuperOdom:
mkdir -p ~/ros2_ws/src
cd ~/ros2_ws/src
git clone https://github.com/superxslam/SuperOdom
Clone respective repos and ensure they follow this exact structure under ros2_ws/src:
ros2_ws/src
├── SuperOdom
├── livox_ros_driver2
└── rviz_2d_overlay_plugins
You can clone livox_ros_driver2 and rviz_2d_overlay_plugins using the following link:
Important: Maintain this exact structure within
ros_ws/src
Docker Container Setup
# Allow Docker GUI access
xhost +local:docker
Go to ros2_humble_docker/container_run.sh and make sure you change exact directory path for PROJECT_DIR and DATASET_DIR
PROJECT_DIR="/path/to/your/superodom"
DATASET_DIR="/path/to/your/dataset"
Important:
PROJECT_DIRshould be the exact directory toros2_ws/src
Then launch docker container using the following:
# Grant access
cd ros2_humble_docker
sudo chmod -R 777 container_run.sh
# Start container
./container_run.sh superodom-ros2 superodom-ros2:latest
# Source ROS2
source /opt/ros/humble/setup.bash
Important: To access container, you can open a new bash window and run
docker exec --privileged -it superodom-ros2 /bin/bash
Build the workspace within container
cd ~/ros2_ws/src/livox_ros_driver2
./build.sh humble
cd ~/ros2_ws
colcon build
Important: make sure you first build
livox_ros_driver2
🚀 5. Launch SuperOdometry
To launch SuperOdometry, we provide demo datasets for Livox-mid360, VLP-16 and OS1-128 sensor Download Link
To convert Velodyne packet message into sensor_msgs/PointCloud2, you can follow this tutorial link
For more challange dataset, feel free to download from our website slam_mode and localization_mode. You might want to convert ROS1 bag into ROS2 format using this link.
For user-defined topic names, modify super_odometry/config/$(YOUR_LiDAR_SENSOR).yaml:
imu_topic: "/your/imu/topic"
laser_topic: "/your/laser/topic"
For user-defined laser-imu extrinsics, modify super_odometry/config/$(YOUR_LiDAR_SENSOR)/$(YOUR_LiDAR_SENSOR)_calibration.yaml:
#Rotation from laser frame to imu frame, imu^R_laser
extrinsicRotation_imu_laser: !!opencv-matrix
rows: 3
cols: 3
dt: d
data: [1., 0., 0.,
0., 1., 0.,
0., 0., 1.]
#Translation from laser frame to imu frame, imu^T_laser
extrinsicTranslation_imu_laser: !!opencv-matrix
rows: 3
cols: 1
dt: d
data: [-0.011, -0.02329, 0.04412]
Run SuperOdometry using the following command:
source install/setup.bash
ros2 launch super_odometry livox_mid360.launch.py
ros2 launch super_odometry os1_128.launch.py
ros2 launch super_odometry vlp_16.launch.py
Play your ROS2 dataset:
# launch this in a new bash window
docker exec --privileged -it superodom-ros2 /bin/bash
source install/setup.bash
cd ~/data
ros2 bag play $(YOUR_ROS2_DATASET)
Visualize in RVIZ2:
# launch this in a new bash window
docker exec --privileged -it superodom-ros2 /bin/bash
source install/setup.bash
cd ~/ros2_ws/src/SuperOdom/super_odometry
rviz2 -d ros2.rviz
(⭐ Alternative) Visualize in Rerun:
# launch this in a new bash window
docker exec --privileged -it superodom-ros2 /bin/bash
source install/setup.bash
cd ~/ros2_ws/src/SuperOdom/script/visualizers
python3 rerun_visualizer.py
# Open a new bash window on your local device
rerun
We also provide tmux script for easy launch with dataset (this script only works after you build the workspace in docker):
cd script
tmuxp load run.yaml
📍 Localization Mode Configuration
Detailed localization-mode instructions (configuration examples, launch snippets, and demo dataset) have been moved to docs/LOCALIZATION.md.
https://github.com/user-attachments/assets/42cb5480-c283-4608-84be-ff12a05d09e0
Quick link: doc/LOCALIZATION.md
📚 8. Citations
@inproceedings{zhao2021super,
title={Super odometry: IMU-centric LiDAR-visual-inertial estimator for challenging environments},
author={Zhao, Shibo and Zhang, Hengrui and Wang, Peng and Nogueira, Lucas and Scherer, Sebastian},
booktitle={2021 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS)},
pages={8729--8736},
year={2021},
organization={IEEE}
}
@inproceedings{zhao2025superloc,
title={SuperLoc: The Key to Robust LiDAR-Inertial Localization Lies in Predicting Alignment Risks},
author={Zhao, Shibo and Zhu, Honghao and Gao, Yuanjun and Kim, Beomsoo and Qiu, Yuheng and Johnson, Aaron M. and Scherer, Sebastian},
booktitle={2025 IEEE International Conference on Robotics and Automation (ICRA)},
year={2025},
url={https://arxiv.org/abs/2412.02901}
}
9. Next Plan
🔵 Colorized Point Cloud Visualization — Video Demo
🟢 Visual Odometry Module — Initial Release Lightweight and robust visual odometry module integrated into SuperOdometry.
📝 10. License
SuperOdom is available under a dual-license model:
- The GNU General Public License v3.0 (
GPL-3.0-only) - An alternative commercial license for proprietary use or other terms outside the GPL
The GPL permits commercial use when its terms are followed. For commercial licensing inquiries, contact [[email protected]](mailto:[email protected], [email protected]).
🙏 11. Acknowledgements
Special thanks to Professor Ji Zhang, Professor Michael Kaess, Parv Maheshwari, Yuanjun Gao, Yaoyu Hu for their valuable advice. Thanks to Omar Alama for providing Rerun support. We also acknowledge these foundational works: