HDMapping-LIO

February 23, 2026 ยท View on GitHub

ROS2 wrapper for HDMapping LiDAR Inertial Odometry (LIO).

Quick start

source /opt/ros/jazzy/setup.bash
cd ~/ros2_ws/src/ && git clone --recursive https://github.com/MapsHD/HDMapping-LIO
cd ~/ros2_ws/ && rosdep install --from-paths src --ignore-src -y
colcon build --packages-select hdmapping_lio --cmake-args -DCMAKE_BUILD_TYPE=Release
source install/setup.bash
ros2 launch hdmapping_lio hdmapping_lio.launch.py

Usage

ros2 launch hdmapping_lio hdmapping_lio.launch.py \
    imu_topic:=/livox/imu \
    lidar_topic:=/livox/lidar \
    use_rviz:=true

Launch arguments

ArgumentDefaultDescription
params_filedefault_params.yamlPath to parameter YAML file
imu_topic/imuIMU topic name
lidar_topic/pointsLiDAR point cloud topic name
use_rvizfalseLaunch RViz2
rviz_confighdmapping_lio.rvizRViz config file

Topics

Subscribed

TopicTypeDescription
/imusensor_msgs/msg/ImuIMU (accelerometer + gyroscope)
/pointssensor_msgs/msg/PointCloud2LiDAR point cloud

Published

TopicTypeDescription
hdmapping/odomnav_msgs/msg/OdometryCurrent pose and velocity
hdmapping/trajectorynav_msgs/msg/PathFull trajectory history
hdmapping/mapsensor_msgs/msg/PointCloud2Accumulated map point cloud

License

MIT