You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+62-2
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
# Fast and Accurate Extrinsic Calibration for Multiple LiDARs and Cameras
2
2
3
-
The pre-print version of our paper is available [here](paper/paper.pdf). The code will be released at the end of this month (around October). Our experiment video is availalbe on [YouTube](https://youtu.be/PaiYgAXl9iY) and [Bilibili](https://www.bilibili.com/video/BV1p64y1h7ae?spm_id_from=333.999.0.0).
3
+
The pre-print version of our paper is available [here](https://arxiv.org/abs/2109.06550). The pre-release code has been uploaded. Our experiment video is availalbe on [YouTube](https://youtu.be/PaiYgAXl9iY) and [Bilibili](https://www.bilibili.com/video/BV1p64y1h7ae?spm_id_from=333.999.0.0).
4
4
5
-

5
+
<!-- -->
6
6
7
7
## Introduction
8
8
In this paper, we propose a fast, accurate, and targetless extrinsic calibration method for multiple LiDARs and cameras based on adaptive voxelization. On the theory level, we incorporate the LiDAR extrinsic calibration with the bundle adjustment method. We derive the second-order derivatives of the cost function w.r.t. the extrinsic parameter to accelerate the optimization. On the implementation level, we apply the adaptive voxelization to dynamically segment the LiDAR point cloud into voxels with non-identical sizes, and reduce the computation time in the process of feature correspondence matching.
Fig. 3 Adaptive voxelization in LiDAR-camera extrinsic calibration. A) real world image. B) raw point cloud of this scene. C) voxelization of [previous work](https://ieeexplore.ieee.org/document/9495137?source=authoralert) where the yellow circles indicate the false edge estimation. D) edges extracted with our proposed method.
21
+
22
+
## 1. Prerequisites
23
+
### 1.1 ROS and Ubuntu
24
+
Our code has been tested on `Ubuntu 16.04` with `ROS Kinetic` and `Ubuntu 18.04` with `ROS Melodic`.
25
+
### 1.2 Ceres Solver
26
+
Our code has been tested on [ceres solver 1.14.x](https://github.com/ceres-solver/ceres-solver).
27
+
### 1.3 OpenCV
28
+
Our code has been tested on [OpenCV 3.4.14](https://github.com/opencv/opencv).
29
+
### 1.4 Eigen
30
+
Our code has been tested on [Eigen 3.3.7](https://gitlab.com/libeigen/eigen).
31
+
### 1.5 PCL
32
+
Our code has been tested on [PCL 1.8](https://github.com/PointCloudLibrary/pcl).
The parameters base LiDAR (`AVIA` or `MID`), test scene (`scene-1` or `scene-2`), `adaptive_voxel_size`, etc., could be modified in the corresponding launch file.
46
+
### 3.1 LiDAR-LiDAR Extrinsic Calibration
47
+
<!--  -->
48
+
Step 1: base LiDAR pose optimization (the initial pose is stored in `scene-x/original_pose`)
49
+
```
50
+
roslaunch mlcc pose_refine.launch
51
+
```
52
+
53
+
Step 2: LiDAR extrinsic optimization (the initial extrinsic is stored in `config/init_extrinsic`)
54
+
```
55
+
roslaunch mlcc extrinsic_refine.launch
56
+
```
57
+
58
+
Step 3: pose and extrinsic joint optimization
59
+
```
60
+
roslaunch mlcc global_refine.launch
61
+
```
62
+
### 3.2 LiADR-Camera Extrinsic Calibration
63
+
```
64
+
roslaunch mlcc camera_calib.launch
65
+
```
66
+
67
+
## 4. Run Your Own Data
68
+
To test on your own data, you need to transform the point cloud into `.dat` format (see `source/tobinary.cpp` for more details). Please only collect the point cloud and images when the LiDAR (sensor platform) is not moving for the optimal precision (or segment them from a complete rosbag). The base LiDAR poses and initial extrinsic values shall also be provided. These initial values could be obtained by general SLAM and Hand-eye calibration algorithms.
69
+
70
+
You may need to modify the parameters `adaptive_voxel_size`, `feat_eigen_limit` and `downsampling_size` for LiDAR-LiDAR extrinsic calibration to adjust the precision and speed. You need to change the corresponding path and topic name in the yaml files in the `config` folder.
71
+
72
+
## 5. Known Issues
73
+
Currently, we seperate the LiDAR extrinsic calibration process into three steps for debug reasons. In future release, we wish to combine them together to make it more convenient to use.
74
+
75
+
## 6. License
76
+
The source code is released under [GPLv2](http://www.gnu.org/licenses/) license.
77
+
78
+
We are still working on improving the performance and reliability of our codes. For any technical issues, please contact us via email <[email protected]> and <[email protected]>.
79
+
80
+
For commercial use, please contact Dr. Fu Zhang <[email protected]>.
0 commit comments