Swarm-LIO2

hku-marsGPL-2.0更新放缓

面向无人机集群的去中心化激光雷达惯性里程计,让多机在无中心节点的情况下高效完成协同定位与建图。

[T-RO 24] Swarm-LIO2: Decentralized, Efficient LiDAR-inertial Odometry for UAV Swarms

暂无版本467star45fork同步于 2026-11-07 07:32 UTC

怎么上手

由 README 提炼,执行前请确认
cd ~/swarm_ws/src && git clone [email protected]:hku-mars/Swarm-LIO2.git && cd .. && catkin_make -j && source devel/setup.bash
硬件要求按 README 说明

README 未说明显存或 CPU/GPU 要求;需 Livox 系列激光雷达并安装对应 livox_ros_driver 或 livox_ros_driver2,运行环境为 Ubuntu 20.04 + ROS Noetic。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

面向无人机集群的去中心化激光惯性里程计,实时估计自身与邻机相对状态

面向无人机集群的去中心化激光雷达惯性里程计,让多机在无中心节点的情况下高效完成协同定位与建图。

核心能力

  • 各机独立估计自身状态并通过无线交换互观测信息
  • 用因子图优化完成集群初始化与全局外参标定
  • 引入边缘化与退化评估降低计算量以支持大规模集群
  • 对互观测做测量建模与时间补偿以减小融合误差
  • 支持室内外、黑夜与退化走廊等多种场景

容易踩的坑

必须先安装并 source livox_ros_driver 或 livox_ros_driver2,否则 launch 无法运行;GTSAM 需从 Google Drive 手动下载编译,且要把 libgtsam.so.4 和 libmetis-gtsam.so 拷到 /usr/lib;示例 rosbag 需另行从 Google Drive 下载,且需先用 LI-Init 标定并把外参与时间偏移写入 yaml。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

0 个版本

暂无 release 数据(可能没有发版,或尚未同步)。

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Swarm-LIO2

    Introduction

    Swarm-LIO2 is a fully decentralized, plug-and-play, computationally efficient, and bandwidth-efficient LiDAR-inertial odometry for aerial swarm systems.

    Our package address following key issues for a UAV swarm system:

    1. Robust, real-time, accurate ego-state estimation and mutual state estimation.
    2. High quality global extrinsic calibration.
    3. Superior computation and communication efficiency which supports large swarm scales.
    4. Excellent robustness in various scenarios: indoor, outdoor, dark night, degenerate corridors...
    5. Support diverse UAV swarm applications: target tracking, collaborative exploration, payload transportation...

    Improvements

    Swarm-LIO2 improves our previous work Swarm-LIO (see below) mainly in five crucial aspects:

    1. Fast Initialization: factor graph optimization is utilized for efficient identification and global extrinsic calibration, which largely decreases the complexity and energy consumption of the swarm initialization.
    2. Efficient Computation: novel marginalization and degeneration evaluation are presented to alleviate computation burden and to support large swarm scales.
    3. Detailed Modeling: detailed measurement modeling and temporal compensation of the mutual observation measurements are proposed, which mitigates the approximation error when fusing data.
    4. Comprehensive Experiments: more extensive experiments in both simulated and real-world environments are conducted, which demonstrate superior performances in terms of robustness, efficiency, and wide supportability to diverse aerial swarm applications.
    5. Open Source: all the system designs will be open-sourced to contribute the robotic society.

    Related Paper

    Related paper is available on arxiv: Swarm-LIO2.

    Related Video

    The accompanying video of Swarm-LIO2 is available on YouTube and Bilibili:

    1. Prerequisites

    1.1 Ubuntu and ROS

    Ubuntu = 20.04.

    ROS = Noetic. ROS Installation

    1.2. PCL && Eigen

    PCL >= 1.8, Follow PCL Installation.

    Eigen >= 3.3.4, Follow Eigen Installation.

    1.3. livox_ros_driver or livox_ros_driver2

    Follow livox_ros_driver Installation or livox_ros_driver2 Installation .

    Remarks:

    • Since the Swarm-LIO2 must support Livox serials LiDAR firstly, so the livox_ros_driver or livox_ros_driver2 (select correct LiDAR driver according to your LiDAR) must be installed and sourced before run any Swarm-LIO2 luanch file.
    1.4 GTSAM
    sudo apt-get install libboost-all-dev
    sudo apt-get install cmake
    sudo apt-get install libtbb-dev
    

    Download GTSAM from Swarm-LIO2 data and dependencies, and

    mkdir build
    cd build
    cmake ..
    make check (optional, runs unit tests)
    make install
    sudo cp /usr/local/lib/libgtsam.so.4 /usr/lib
    sudo cp /usr/local/lib/libmetis-gtsam.so /usr/lib
    

    2. Build

    Clone the repository and catkin_make:

    cd ~/swarm_ws/src
    git clone [email protected]:hku-mars/Swarm-LIO2.git
    cd ..
    catkin_make -j
    source devel/setup.bash
    

    3. Calibrate LiDAR-IMU

    The LI-Init: robust real-time LiDAR-IMU initialization toolkit is recommended.

    The calibrated extrinsic and temporal offset should be correctly modified in xxx.yaml file.

    4. Tune parameters

    Edit config/xxx.yaml and fill in the appropriate parameters.

    More details on the meanings of the parameters and methods for adjustment will be provided later.

    5. Directly run on the onboard UAV

    Run the UDP communication module:

    cd swarm_ws
    source devel/setup.bash
    roslaunch udp_bridge udp_online.launch
    

    Run the state estimation module of Swarm-LIO2:

    cd swarm_ws
    source devel/setup.bash
    roslaunch swarm_lio livox_mid360.launch
    

    6. Play example rosbag

    Download example rosbag (real-world data) -- mutual_avoidance_uav1.bag -- from Swarm-LIO2 data and dependencies, then

    cd swarm_ws
    source devel/setup.bash
    roslaunch swarm_lio livox_mid360.launch
    rosbag play mutual_avoidance_uav1.bag
    

    Previous Work: Swarm-LIO

    Swarm-LIO is a fully decentralized state estimation method for aerial swarm systems, in which each drone performs precise ego-state estimation, exchanges ego-state and mutual observation information by wireless communication, and estimates relative state with respect to (w.r.t.) the rest of UAVs, all in real-time and only based on LiDAR-inertial measurements.

    Related Paper

    Our related papers are now available: Swarm-LIO: Decentralized Swarm LiDAR-inertial Odometry

    Bibtex format:

    @inproceedings{zhu2023swarm,
      title={Swarm-lio: Decentralized swarm lidar-inertial odometry},
      author={Zhu, Fangcheng and Ren, Yunfan and Kong, Fanze and Wu, Huajie and Liang, Siqi and Chen, Nan and Xu, Wei and Zhang, Fu},
      booktitle={2023 IEEE International Conference on Robotics and Automation (ICRA)},
      pages={3254--3260},
      year={2023},
      organization={IEEE}
    }
    

    Related Video:

    Our accompanying videos are now available on YouTube and Bilibili (click below images to open)