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

相关推荐
Luzem03193 分钟前
使用scikit-learn中的KNN包实现对鸢尾花数据集的预测
人工智能·深度学习·机器学习
AI趋势预见40 分钟前
使用AI生成金融时间序列数据:解决股市场的数据稀缺问题并提升信噪比
人工智能·深度学习·神经网络·语言模型·金融
Zda天天爱打卡1 小时前
【机器学习实战中阶】使用Python和OpenCV进行手语识别
人工智能·python·深度学习·opencv·机器学习
背太阳的牧羊人2 小时前
冻结语言模型中的 自注意力层,使其参数不参与训练(梯度不会更新)。 对于跨注意力层,则解冻参数,使这些层可以进行梯度更新,从而参与训练。
人工智能·语言模型·自然语言处理
2401_890416712 小时前
Recaptcha2 图像怎么识别
人工智能·python·django
机器之心3 小时前
贾佳亚团队联合Adobe提出GenProp,物体追踪移除特效样样在行
人工智能
一叶_障目3 小时前
机器学习之决策树(DecisionTree——C4.5)
人工智能·决策树·机器学习
思码逸研发效能3 小时前
在 DevOps 实践中,如何构建自动化的持续集成和持续交付(CI/CD)管道,以提高开发和测试效率?
运维·人工智能·ci/cd·自动化·研发效能·devops·效能度量
AI量化投资实验室4 小时前
deap系统重构,再新增一个新的因子,年化39.1%,卡玛提升至2.76(附python代码)
大数据·人工智能·重构
张登杰踩4 小时前
如何快速下载Huggingface上的超大模型,不用梯子,以Deepseek-R1为例子
人工智能