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

相关推荐
码农超哥同学11 分钟前
Python知识点:结合Python工具,如何使用GPT进行文本生成
开发语言·人工智能·python·gpt·语言模型·面试·编程
sniper_fandc36 分钟前
深度学习基础—交并比与非极大值抑制
人工智能·深度学习
飞舞哲1 小时前
基于非线性干扰观测器的六自由度机械臂控制
人工智能·机器学习
远杰数控走心机厂家1 小时前
双主轴车床的优势
人工智能·搜索引擎·基带工程
给生活加糖!1 小时前
人机协作:科技与人类智慧的融合
大数据·人工智能·科技
vx153027823621 小时前
CDGA|数据治理:企业创新发展的强劲引擎
大数据·人工智能·cdga·数据治理
YINWA AI1 小时前
胤娲科技:AI重塑会议——灵动未来,会议新纪元
人工智能·科技·ai
声网2 小时前
小米回应「网友恶搞 AI 雷军配音骂人」;Hailuo AI 上线图片生成视频功能丨 RTE 开发者日报
人工智能
今天吃饺子2 小时前
高被引算法GOA优化VMD,结合Transformer-SVM的轴承诊断,保姆级教程!
人工智能·深度学习·算法·支持向量机·transformer