Skip to content

sl-gong/Livox_automatic_calibration

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Livox Automatic Calibration Tools v0.1 Quick Start Guide

中文文档

Introduction

This tool provides an automatic calibration method for external parameters estimate between multiple Livox LiDARs.

image
Fig.1 Red: Base LiDAR mapping result, Green: Target LiDAR automatic calibration

Prerequisites

Cmake, PCL1.7, Eigen

We recommended to install ROS directly, which including the above libraries

sudo apt-get install ros-kinetic-cv-bridge ros-kinetic-tf ros-kinetic-message-filters ros-kinetic-image-transport

Compile


mkdir build
cd build
cmake ..
make

This operation will generate three files, namely mapping, calibration, fitline 

  • mapping: Mapping Tool  

  • calibration: Automatic Calibration Tool

  • fitline: Fit the calibration parameters and calculate the final calibration matrix and Quaternion  

Run

1. Prepare .pcd pointcloud data for calibration  

  • Put the base LiDAR data into: data/Base_LiDAR_Frames/.pcd (Use 100000.pcd as the first frame file name, and the subsequent frames are accumulated upward)

  • Put the target LiDAR data into: data/Target_LiDAR_Frames/.pcd (Use 100000.pcd as the first frame file name, and the subsequent frames are accumulated upward)

  • Put the initial matrix data into: data/Init_Matrix.txt

Note: The base LiDAR data and the target LiDAR data need to be synchronized in time as much as possible, and the file name and time stamp correspond to synchronization.

Download example data set
Target-LiDAR-Frames
Base_LiDAR_Frames

2. run

cd livox_calibration
cp run.sh build/
cd build
sh run.sh

The script first starts the visualize mapping program mapping,Use base LiDAR to build a submap. After that, the script starts calibration program to automatic calibration target LiDAR to base LiDAR,estimated the calibration parameters for each frames. Finally, the script launchs the Curve fitter fitline,to estimate the final parameter matrix.

image Fig.2 Out put result of example data set

NOTE:

  • Must ensure the data synchronization between sensors
  • Must ensure the precision of base LiDAR mapping result
  • The movement of the data collection vehicle or platform must be as slow as possible, and we recommended to correct the motion distortion between each frames to ensure the final accuracy
  • The accurate initial external parameter matrix is not needed, but it should be roughly aligned to ensure the final accuracy as much as possible
  • For Mid-40, Horizon models, the converted PCD file refers to 100ms as one frame

Support

You can get support from Livox with the following methods:

  • Send email to [email protected] with a clear description of your problem and your setup
  • Github Issues

Developer: Livox

About

An automatic calibration algorithm for livox LiDAR

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 98.9%
  • Other 1.1%