Multi - LiCa 多激光雷达标定

https://github.com/TUMFTM/Multi_LiCa

Multi - LiCa

Multi - LiDAR-to-LiDAR calibration framework for ROS 2 and non-ROS applications




Introduction

This project provides an extrinsic calibration framework for quickly calibrating multiple LiDAR sensors. It employs the Generalized Iterative Closest Point (GICP) algorithm for LiDAR-to-LiDAR extrinsic calibration and uses the RANdom SAmple Consensus (RANSAC) method to calibrate the pitch and z-distance to the ground of a single LiDAR, assuming other coordinates are known.

It has proven to be robust for different sensor setups and environments without the need of an initial guess.

We use a FPFH-based feature vector creation with an TEASER++ feature matching for the coarse alignment, which is used as initial guess for the GICP algorithm.

Overview

Motion- and targetless multi - LiDAR-to-LiDAR Calibration Pipeline,
developed at the Institute of Automotive Technology, TUM

Limitations

  • Our tool was specifically developed for motionless calibration.
  • We assume that each LiDAR to be calibrated has either a directly overlapping FOV with the target LiDAR FOV or has overlap with other LiDAR(s) with overlap to the target. This can be cascading dependency to the target.
  • We assume that the ground is flat and the environment is static.
  • Input point clouds for the calibration are in sensor_msgs/PointCloud2 or in .pcd format.

Prerequisites

The bare minimum requirement for our tool is a Linux-based OS and Docker, as we provide a Docker image with our framework. You do not need to build anything locally, but you are free to do so as described in the following section. For the local build, you will need ROS 2 - humble, Python 3.10 with opend3d, scipy, ros2_numpy and pandas (optional).

Installation and Usage

🐋 Docker Environment

  1. Build the Docker image:

    复制代码
    ./docker/build_docker.sh
  2. Run the container:

    复制代码
    ./docker/run_docker.sh

🖥 Local Build

  1. Install ROS2 humble (might work with other ROS2 distributions but wasn't tested):
    https://docs.ros.org/en/humble/Installation.html

  2. Create a ROS 2 workspace:

    复制代码
    mkdir -p ~/ros2_ws
    cd ~/ros2_ws
  3. Clone the repository:

    复制代码
    git clone git@github.com:TUMFTM/Multi_LiCa.git
  4. Install dependencies:

    复制代码
    cd Multi_LiCa
    pip install --no-cache-dir --upgrade pip
    pip install --no-cache-dir -r requirements.txt
  5. Source the ROS 2 environment and build the project using colcon:

    复制代码
    source /opt/ros/$ROS_DISTRO/setup.bash
    colcon build --symlink-install --packages-up-to multi_lidar_calibrator --cmake-args -DCMAKE_BUILD_TYPE=Release

⏯️ Usage

  1. Configure the parameters to fit your data:

    复制代码
    vim config/<params-file>.yaml
  2. Launch the multi_lidar_calibrator node:

    复制代码
    ros2 launch multi_lidar_calibrator calibration.launch.py parameter_file:=/path/to/parameter/file

⚙️ Configuration

  • We provided a detailed parameter file with explanation with config/params.yaml

  • Configure config/params.yaml to fit your data. Depending on the application, you may need to specify the LiDARs, paths to .pcd files, or LiDAR topic names. You may also change GICP and RANSAC parameters.

  • In addition to LiDAR-to-LiDAR calibration, you can perform target LiDAR-to-ground/base calibration if your x,y translation and roll, yaw rotation are precisely known.

    If you are using to-base calibration, you may choose a URDF file to save the calibration so that it can be directly used in your ROS robot-state-publisher.

  • When running in a container, ensure that your local and container environments have the same ROS_DOMAIN_ID. If not, set it to be the same with export ROS_DOMAIN_ID=<ID>.

  • When using ROS 2, verify that the transformation guess is published on the /tf_static topic and that the data is published for all specified LiDARs.

🎞️ Demo

On default, the tool will launch a demo with data from OpenCalib.

It will open a window and will display three pointclouds and their initial transforms. You can inspect the files in the interactive window. After closing the window (press Q), the tool will calculate the transformations ans will print the results to the terminal, write them to the output directory and will display a windows with the transformed pointclouds.

Other OSS Calibration Frameworks

相关推荐
YBAdvanceFu8 分钟前
开源版Suno来了!用扩散模型生成带歌词的完整歌曲,DiffRhythm2实战详解
人工智能·深度学习·机器学习·多智能体·智能体·suno·diffrhythm2
龙孚信息10 分钟前
Xometry百万流量案例分析:企业内容分发基础设施构建策略
人工智能
AI砖家10 分钟前
Claude Code Superpowers 安装使用指南:让 AI 编程从“业余”走向“工程化”
前端·人工智能·python·ai编程·代码规范
YBAdvanceFu12 分钟前
拆解 MusicGen:Meta 开源音乐大模型,到底是怎么跑起来的?
人工智能·深度学习·机器学习·数据挖掘·transformer·agent·智能体
极光代码工作室15 分钟前
基于深度学习的微博情感分析系统
人工智能·深度学习·神经网络·nlp·情感分析
huisheng_qaq22 分钟前
【AI入门篇-02】深入理解ChatGPT发展流程
人工智能·gpt·ai·chatgpt·大模型·transfomer
带娃的IT创业者26 分钟前
US Cities Are Axing Flock Safety Surveillance Technology: 当监控之眼被蒙上,我们在守护什么?
人工智能·智慧城市·数据治理·公共安全·隐私保护·监控技术·技术伦理
愚公搬代码27 分钟前
【愚公系列】《AI漫剧创作一本通》004-剧本拆解,把小说改编为可落地的脚本(爆款AI漫剧,从选择合适的小说开始)
人工智能·ai漫剧
玩转单片机与嵌入式29 分钟前
学习嵌入式AI(TInyML),只需掌握这点python基础即可!
人工智能·python·学习
mit6.82434 分钟前
从 Vibe Coding 到 Agentic Engineering
人工智能