Add optional kb4 calibration for MO and MG devices
Browse filesThe calibration is obtained by running the "calibrated" calibration datasets
that were adjusted by the original rt8 calibration, so be aware that it can have
some degree of bias. After camera calibration I only allowed the optimization of
IMU pose and camera intrinsics during IMU calibration. I did this with MOC01-2
and MOC10-11 and kept the second one since it gave the best ATE scores on
some datasets. Furthermore I set the IMU scale biases to zero and the IMU update
rate to 1000.0 manually. ATE results on MOO06 after this were comparable to the
rt8 calibration (~3% better). For the Reverb G2 I only used the MGC01 and MGC04
sequences.
M_monado_datasets/MG_reverb_g2/extras/calibration.kb4.json
ADDED
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"value0": {
|
3 |
+
"comments": "Current error: 271608 num_points 773334 mean_error 0.351216 reprojection_error 132846 mean reprojection 0.171783 opt_time 361ms.",
|
4 |
+
"T_imu_cam": [
|
5 |
+
{
|
6 |
+
"px": -0.05250638055608702,
|
7 |
+
"py": 0.01311586834471913,
|
8 |
+
"pz": 0.006154449833848688,
|
9 |
+
"qx": 0.15457411335678299,
|
10 |
+
"qy": -0.03558005665107269,
|
11 |
+
"qz": -0.6926214456174067,
|
12 |
+
"qw": -0.7036451066549989
|
13 |
+
},
|
14 |
+
{
|
15 |
+
"px": 0.055875714057378598,
|
16 |
+
"py": 0.01404043118563959,
|
17 |
+
"pz": 0.005916191899741046,
|
18 |
+
"qx": -0.032833254168189687,
|
19 |
+
"qy": 0.15613905873357124,
|
20 |
+
"qz": 0.711889710135462,
|
21 |
+
"qw": 0.6839266132866665
|
22 |
+
}
|
23 |
+
],
|
24 |
+
"intrinsics": [
|
25 |
+
{
|
26 |
+
"camera_type": "kb4",
|
27 |
+
"intrinsics": {
|
28 |
+
"fx": 269.31049724174906,
|
29 |
+
"fy": 269.53878847509295,
|
30 |
+
"cx": 322.27252809263259,
|
31 |
+
"cy": 228.82464255208729,
|
32 |
+
"k1": 0.08313931783396313,
|
33 |
+
"k2": -0.042990721290723638,
|
34 |
+
"k3": 0.23041383658725765,
|
35 |
+
"k4": -0.13019210595872059
|
36 |
+
}
|
37 |
+
},
|
38 |
+
{
|
39 |
+
"camera_type": "kb4",
|
40 |
+
"intrinsics": {
|
41 |
+
"fx": 268.25256083987167,
|
42 |
+
"fy": 268.2170524272017,
|
43 |
+
"cx": 323.7315414515198,
|
44 |
+
"cy": 237.0767112731877,
|
45 |
+
"k1": 0.07833004426157092,
|
46 |
+
"k2": -0.036931364579208498,
|
47 |
+
"k3": 0.22283001612781837,
|
48 |
+
"k4": -0.12622653674412449
|
49 |
+
}
|
50 |
+
}
|
51 |
+
],
|
52 |
+
"resolution": [
|
53 |
+
[
|
54 |
+
640,
|
55 |
+
480
|
56 |
+
],
|
57 |
+
[
|
58 |
+
640,
|
59 |
+
480
|
60 |
+
]
|
61 |
+
],
|
62 |
+
"calib_accel_bias": [
|
63 |
+
-0.0008129757646868296,
|
64 |
+
-0.0071163995194202119,
|
65 |
+
-0.017121442296748319,
|
66 |
+
0.0,
|
67 |
+
0.0,
|
68 |
+
0.0,
|
69 |
+
0.0,
|
70 |
+
0.0,
|
71 |
+
0.0
|
72 |
+
],
|
73 |
+
"calib_gyro_bias": [
|
74 |
+
0.005851816021624415,
|
75 |
+
-0.000367713358690218,
|
76 |
+
0.0002787833272152678,
|
77 |
+
0.0,
|
78 |
+
0.0,
|
79 |
+
0.0,
|
80 |
+
0.0,
|
81 |
+
0.0,
|
82 |
+
0.0,
|
83 |
+
0.0,
|
84 |
+
0.0,
|
85 |
+
0.0
|
86 |
+
],
|
87 |
+
"imu_update_rate": 999.4912589491938,
|
88 |
+
"accel_noise_std": [
|
89 |
+
0.016,
|
90 |
+
0.016,
|
91 |
+
0.016
|
92 |
+
],
|
93 |
+
"gyro_noise_std": [
|
94 |
+
0.000282,
|
95 |
+
0.000282,
|
96 |
+
0.000282
|
97 |
+
],
|
98 |
+
"accel_bias_std": [
|
99 |
+
0.001,
|
100 |
+
0.001,
|
101 |
+
0.001
|
102 |
+
],
|
103 |
+
"gyro_bias_std": [
|
104 |
+
0.0001,
|
105 |
+
0.0001,
|
106 |
+
0.0001
|
107 |
+
],
|
108 |
+
"cam_time_offset_ns": 0,
|
109 |
+
"vignette": []
|
110 |
+
}
|
111 |
+
}
|
M_monado_datasets/MO_odyssey_plus/extras/calibration.kb4.json
ADDED
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"value0": {
|
3 |
+
"comment": "Current error: 159825 num_points 191607 mean_error 0.83413 reprojection_error 31762.2 mean reprojection 0.165768 opt_time 341ms.",
|
4 |
+
"T_imu_cam": [
|
5 |
+
{
|
6 |
+
"px": -0.0836171207584613,
|
7 |
+
"py": -0.0019908210116357006,
|
8 |
+
"pz": 0.005251507311936389,
|
9 |
+
"qx": 0.1802261808379679,
|
10 |
+
"qy": 0.20033944999996473,
|
11 |
+
"qz": -0.034063387763476237,
|
12 |
+
"qw": -0.9624044441545078
|
13 |
+
},
|
14 |
+
{
|
15 |
+
"px": 0.02184301895036105,
|
16 |
+
"py": -0.002049686931566472,
|
17 |
+
"pz": 0.005005028649289218,
|
18 |
+
"qx": -0.18399799450755126,
|
19 |
+
"qy": 0.1979449130785967,
|
20 |
+
"qz": -0.040285755777447768,
|
21 |
+
"qw": 0.9619457403018872
|
22 |
+
}
|
23 |
+
],
|
24 |
+
"intrinsics": [
|
25 |
+
{
|
26 |
+
"camera_type": "kb4",
|
27 |
+
"intrinsics": {
|
28 |
+
"fx": 268.7643797200632,
|
29 |
+
"fy": 268.6254278509791,
|
30 |
+
"cx": 322.99894365261829,
|
31 |
+
"cy": 245.85420172532995,
|
32 |
+
"k1": 0.07967334603430464,
|
33 |
+
"k2": -0.028193800038563194,
|
34 |
+
"k3": 0.20273128935703775,
|
35 |
+
"k4": -0.11691215909852215
|
36 |
+
}
|
37 |
+
},
|
38 |
+
{
|
39 |
+
"camera_type": "kb4",
|
40 |
+
"intrinsics": {
|
41 |
+
"fx": 270.38245569848518,
|
42 |
+
"fy": 270.8952605677133,
|
43 |
+
"cx": 322.59133920842347,
|
44 |
+
"cy": 250.7654767124812,
|
45 |
+
"k1": 0.05921598747583376,
|
46 |
+
"k2": 0.0008485613746588702,
|
47 |
+
"k3": 0.18691042621700858,
|
48 |
+
"k4": -0.11581177928178256
|
49 |
+
}
|
50 |
+
}
|
51 |
+
],
|
52 |
+
"resolution": [
|
53 |
+
[
|
54 |
+
640,
|
55 |
+
480
|
56 |
+
],
|
57 |
+
[
|
58 |
+
640,
|
59 |
+
480
|
60 |
+
]
|
61 |
+
],
|
62 |
+
"calib_accel_bias": [
|
63 |
+
0.0,
|
64 |
+
0.0,
|
65 |
+
0.0,
|
66 |
+
0.0,
|
67 |
+
0.0,
|
68 |
+
0.0,
|
69 |
+
0.0,
|
70 |
+
0.0,
|
71 |
+
0.0
|
72 |
+
],
|
73 |
+
"calib_gyro_bias": [
|
74 |
+
0.0,
|
75 |
+
0.0,
|
76 |
+
0.0,
|
77 |
+
0.0,
|
78 |
+
0.0,
|
79 |
+
0.0,
|
80 |
+
0.0,
|
81 |
+
0.0,
|
82 |
+
0.0,
|
83 |
+
0.0,
|
84 |
+
0.0,
|
85 |
+
0.0
|
86 |
+
],
|
87 |
+
"imu_update_rate": 1000.0,
|
88 |
+
"accel_noise_std": [
|
89 |
+
0.016,
|
90 |
+
0.016,
|
91 |
+
0.016
|
92 |
+
],
|
93 |
+
"gyro_noise_std": [
|
94 |
+
0.000282,
|
95 |
+
0.000282,
|
96 |
+
0.000282
|
97 |
+
],
|
98 |
+
"accel_bias_std": [
|
99 |
+
0.001,
|
100 |
+
0.001,
|
101 |
+
0.001
|
102 |
+
],
|
103 |
+
"gyro_bias_std": [
|
104 |
+
0.0001,
|
105 |
+
0.0001,
|
106 |
+
0.0001
|
107 |
+
],
|
108 |
+
"cam_time_offset_ns": 0,
|
109 |
+
"vignette": []
|
110 |
+
}
|
111 |
+
}
|