Commit ·
7d3a564
1
Parent(s): 5d3274b
calibration (#1)
Browse files- calibration added (2e072ea2ba11ad85cf8983e0cc83e159a73e962b)
- calibration/cross_camera_extrinsics.yaml +33 -0
- calibration/thermal_left.yaml +31 -0
- calibration/thermal_right.yaml +31 -0
- calibration/zed.yaml +50 -0
calibration/cross_camera_extrinsics.yaml
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
thermal_left_to_thermal_right:
|
| 2 |
+
Source: CAD
|
| 3 |
+
#translation in m and roation in radians
|
| 4 |
+
tx: 0.1200220
|
| 5 |
+
ty: 0.
|
| 6 |
+
tz: 0.
|
| 7 |
+
rx: 0.
|
| 8 |
+
ry: 0.
|
| 9 |
+
rz: 0.
|
| 10 |
+
|
| 11 |
+
zed_left_to_thermal_left:
|
| 12 |
+
Source: CAD
|
| 13 |
+
#translation in m and roation in radians
|
| 14 |
+
tx: 0.0
|
| 15 |
+
ty: 0.03166579
|
| 16 |
+
tz: 0.
|
| 17 |
+
rx: 0.
|
| 18 |
+
ry: 0.
|
| 19 |
+
rz: 0.
|
| 20 |
+
|
| 21 |
+
zed_left_to_zed_right:
|
| 22 |
+
# Translation from left to right sensor (in mm for TX, mm/m units as stored)
|
| 23 |
+
# same as stero_extrinsics as given in calibration/zed.yaml
|
| 24 |
+
Source: Factory Calibration
|
| 25 |
+
translation:
|
| 26 |
+
tx: 0.1200220 # baseline ~120mm
|
| 27 |
+
ty: 0.0000387
|
| 28 |
+
tz: 0.0002290
|
| 29 |
+
# Rotation (Rodrigues / axis-angle vector, radians)
|
| 30 |
+
rotation:
|
| 31 |
+
rx: -0.0040
|
| 32 |
+
ry: 0.0000
|
| 33 |
+
rz: 0.0008
|
calibration/thermal_left.yaml
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Flir 640 Left Camera
|
| 2 |
+
image_width: 640
|
| 3 |
+
image_height: 512
|
| 4 |
+
camera_name: thermal_left
|
| 5 |
+
|
| 6 |
+
camera_matrix:
|
| 7 |
+
rows: 3
|
| 8 |
+
cols: 3
|
| 9 |
+
data: [421.23237248, 0, 317.55165969,
|
| 10 |
+
0, 420.80872096, 255.54588954,
|
| 11 |
+
0, 0, 1]
|
| 12 |
+
|
| 13 |
+
distortion_model: equidistant # radtan
|
| 14 |
+
distortion_coefficients:
|
| 15 |
+
rows: 1
|
| 16 |
+
cols: 4
|
| 17 |
+
data: [-0.11053445, 0.20481263, -0.57743943, 0.45121438]
|
| 18 |
+
|
| 19 |
+
rectification_matrix: # identity
|
| 20 |
+
rows: 3
|
| 21 |
+
cols: 3
|
| 22 |
+
data: [1, 0, 0,
|
| 23 |
+
0, 1, 0,
|
| 24 |
+
0, 0, 1]
|
| 25 |
+
|
| 26 |
+
projection_matrix:
|
| 27 |
+
rows: 3
|
| 28 |
+
cols: 4
|
| 29 |
+
data: [421.23237248, 0, 317.55165969, 0,
|
| 30 |
+
0, 420.80872096, 255.54588954, 0,
|
| 31 |
+
0, 0, 1, 0]
|
calibration/thermal_right.yaml
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Flir 640 Right Camera
|
| 2 |
+
image_width: 640
|
| 3 |
+
image_height: 512
|
| 4 |
+
camera_name: thermal_right
|
| 5 |
+
|
| 6 |
+
camera_matrix:
|
| 7 |
+
rows: 3
|
| 8 |
+
cols: 3
|
| 9 |
+
data: [417.36729084, 0, 314.3000161,
|
| 10 |
+
0, 417.03044824, 255.89962207,
|
| 11 |
+
0, 0, 1]
|
| 12 |
+
|
| 13 |
+
distortion_model: equidistant # radtan
|
| 14 |
+
distortion_coefficients:
|
| 15 |
+
rows: 1
|
| 16 |
+
cols: 4
|
| 17 |
+
data: [0.09309942,-0.93580573,1.87548284,-1.32763579]
|
| 18 |
+
|
| 19 |
+
rectification_matrix: # identity
|
| 20 |
+
rows: 3
|
| 21 |
+
cols: 3
|
| 22 |
+
data: [1, 0, 0,
|
| 23 |
+
0, 1, 0,
|
| 24 |
+
0, 0, 1]
|
| 25 |
+
|
| 26 |
+
projection_matrix:
|
| 27 |
+
rows: 3
|
| 28 |
+
cols: 4
|
| 29 |
+
data: [417.36729084, 0, 314.3000161, 0,
|
| 30 |
+
0, 417.03044824, 255.89962207, 0,
|
| 31 |
+
0, 0, 1, 0]
|
calibration/zed.yaml
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Camera Calibration Parameters
|
| 2 |
+
# Compatible with theairlabcmu/TartanRGBT dataset
|
| 3 |
+
# Format: intrinsics per sensor + stereo extrinsics
|
| 4 |
+
# Suorce - these are extracted directly from the factory calibrated intrinsics and extrinsics
|
| 5 |
+
|
| 6 |
+
left_sensor:
|
| 7 |
+
intrinsics:
|
| 8 |
+
fx: 738.8620
|
| 9 |
+
fy: 738.8110
|
| 10 |
+
cx: 968.5050
|
| 11 |
+
cy: 591.8550
|
| 12 |
+
distortion_coefficients:
|
| 13 |
+
k1: 3.0443
|
| 14 |
+
k2: 3.2123
|
| 15 |
+
p1: -0.0001
|
| 16 |
+
p2: 0.0001
|
| 17 |
+
k3: 0.4881
|
| 18 |
+
k4: 3.0510
|
| 19 |
+
k5: 3.2189
|
| 20 |
+
k6: 0.7517
|
| 21 |
+
focal: 2.2166
|
| 22 |
+
|
| 23 |
+
right_sensor:
|
| 24 |
+
intrinsics:
|
| 25 |
+
fx: 734.6760
|
| 26 |
+
fy: 734.6210
|
| 27 |
+
cx: 980.2060
|
| 28 |
+
cy: 585.1210
|
| 29 |
+
distortion_coefficients:
|
| 30 |
+
k1: 0.0862
|
| 31 |
+
k2: 0.3706
|
| 32 |
+
p1: 0.0000
|
| 33 |
+
p2: -0.0001
|
| 34 |
+
k3: -0.0369
|
| 35 |
+
k4: 0.0870
|
| 36 |
+
k5: 0.4188
|
| 37 |
+
k6: -0.0345
|
| 38 |
+
focal: 2.2040
|
| 39 |
+
|
| 40 |
+
stereo_extrinsics:
|
| 41 |
+
# Translation from left to right sensor (in mm for TX, mm/m units as stored)
|
| 42 |
+
translation:
|
| 43 |
+
tx: 120.0220 # baseline ~120mm
|
| 44 |
+
ty: 0.0387
|
| 45 |
+
tz: 0.2290
|
| 46 |
+
# Rotation (Rodrigues / axis-angle vector, radians)
|
| 47 |
+
rotation:
|
| 48 |
+
rx: -0.0040
|
| 49 |
+
ry: 0.0000
|
| 50 |
+
rz: 0.0008
|