Note
Built on FAST-LIO2 by HKU MARS Lab — please cite their work if you use this.
Prerequisites: pixi installed.
git clone --recursive https://github.com/alvgaona/fr-lio
cd fr-lio
pixi run vcs-import # fetch Livox-SDK2 + livox_ros_driver2 into ./deps
pixi run build # colcon build (humble env by default)Run with the default indoor config and RViz:
pixi run ros2 launch fr_lio lio.launch.pyReplay a rosbag with mocap ground truth:
pixi run ros2 launch fr_lio lio.launch.py \
config_file:=config/indoors.yaml use_sim_time:=true mocap:=true
# in a second terminal:
pixi run ros2 bag play <bag-dir> --clock# Switch to the outdoor profile
pixi run ros2 launch fr_lio lio.launch.py config_file:=config/outdoors.yaml
# Compare against mocap ground truth (publishes /ground_truth/odom + /path)
pixi run ros2 launch fr_lio lio.launch.py mocap:=true rigid_body_name:=91
# Headless run inside a namespace
pixi run ros2 launch fr_lio lio.launch.py namespace:=drone1 rviz:=falseUse the jazzy pixi environment instead of the default humble:
pixi run -e jazzy build@software{gaona2026frlio,
author = {Gaona, Alvaro J. and Perez-Saura, David and Campoy, Pascual},
title = {Flight-ready Drift-Aware LiDAR-Inertial Odometry and Mapping with Self-correcting Maps},
year = {2026},
url = {https://github.com/alvgaona/fr-lio},
version = {0.1.0}
}