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 used the MGC15-MGC20 sequences.
M_monado_datasets/MG_reverb_g2/extras/calibration.kb4.json
ADDED
@@ -0,0 +1,163 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"value0": {
|
3 |
+
"comments": "Calibrated over postprocessed dataset, so only cam-imu poses and cam intrinsics were optimized. Current error: 246755 num_points 243001 mean_error 1.01545 reprojection_error 66536.5 mean reprojection 0.273812 opt_time 514ms.",
|
4 |
+
"T_imu_cam": [
|
5 |
+
{
|
6 |
+
"px": -0.05196080462004912,
|
7 |
+
"py": 0.012921625094644514,
|
8 |
+
"pz": 0.005240475947910249,
|
9 |
+
"qx": -0.1570675135654381,
|
10 |
+
"qy": 0.03563914225514093,
|
11 |
+
"qz": 0.6917030432116951,
|
12 |
+
"qw": 0.7039932867104407
|
13 |
+
},
|
14 |
+
{
|
15 |
+
"px": 0.056452911416210487,
|
16 |
+
"py": 0.013648961551033325,
|
17 |
+
"pz": 0.005147807609210512,
|
18 |
+
"qx": -0.03389205683559584,
|
19 |
+
"qy": 0.15647817708741666,
|
20 |
+
"qz": 0.7110204328271741,
|
21 |
+
"qw": 0.6847012871910715
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"px": -0.07567766184475654,
|
25 |
+
"py": 0.014551169361842342,
|
26 |
+
"pz": -0.029493463003218254,
|
27 |
+
"qx": -0.4025479040230539,
|
28 |
+
"qy": 0.5644766894247136,
|
29 |
+
"qz": 0.45325359065076767,
|
30 |
+
"qw": -0.560252117019604
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"px": 0.08070843831337933,
|
34 |
+
"py": 0.01646113292588715,
|
35 |
+
"pz": -0.029373209824573408,
|
36 |
+
"qx": -0.5642039015938434,
|
37 |
+
"qy": 0.3960124259158936,
|
38 |
+
"qz": -0.5591621531055867,
|
39 |
+
"qw": 0.4606363017401234
|
40 |
+
}
|
41 |
+
],
|
42 |
+
"intrinsics": [
|
43 |
+
{
|
44 |
+
"camera_type": "kb4",
|
45 |
+
"intrinsics": {
|
46 |
+
"fx": 270.00664609453306,
|
47 |
+
"fy": 270.1414755298674,
|
48 |
+
"cx": 322.8697163592805,
|
49 |
+
"cy": 229.1840515489695,
|
50 |
+
"k1": 0.07740441885450418,
|
51 |
+
"k2": -0.03103032519111291,
|
52 |
+
"k3": 0.21761591799757783,
|
53 |
+
"k4": -0.12578545205590586
|
54 |
+
}
|
55 |
+
},
|
56 |
+
{
|
57 |
+
"camera_type": "kb4",
|
58 |
+
"intrinsics": {
|
59 |
+
"fx": 268.8394814458395,
|
60 |
+
"fy": 268.84629644420229,
|
61 |
+
"cx": 323.9062256755635,
|
62 |
+
"cy": 236.5703052123074,
|
63 |
+
"k1": 0.07780133707201584,
|
64 |
+
"k2": -0.037783242929474717,
|
65 |
+
"k3": 0.22709046369187206,
|
66 |
+
"k4": -0.12945961303597923
|
67 |
+
}
|
68 |
+
},
|
69 |
+
{
|
70 |
+
"camera_type": "kb4",
|
71 |
+
"intrinsics": {
|
72 |
+
"fx": 270.95365666855857,
|
73 |
+
"fy": 270.95671244010699,
|
74 |
+
"cx": 324.31540159952467,
|
75 |
+
"cy": 230.97000626471198,
|
76 |
+
"k1": 0.07632323665413357,
|
77 |
+
"k2": -0.03809674852985118,
|
78 |
+
"k3": 0.22440009795691719,
|
79 |
+
"k4": -0.12797229712624545
|
80 |
+
}
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"camera_type": "kb4",
|
84 |
+
"intrinsics": {
|
85 |
+
"fx": 269.1240639577031,
|
86 |
+
"fy": 269.61259675615107,
|
87 |
+
"cx": 320.31028884237989,
|
88 |
+
"cy": 232.07799800942056,
|
89 |
+
"k1": 0.0782633771118353,
|
90 |
+
"k2": -0.032692565978959118,
|
91 |
+
"k3": 0.21570483960998455,
|
92 |
+
"k4": -0.12346477625478411
|
93 |
+
}
|
94 |
+
}
|
95 |
+
],
|
96 |
+
"resolution": [
|
97 |
+
[
|
98 |
+
640,
|
99 |
+
480
|
100 |
+
],
|
101 |
+
[
|
102 |
+
640,
|
103 |
+
480
|
104 |
+
],
|
105 |
+
[
|
106 |
+
640,
|
107 |
+
480
|
108 |
+
],
|
109 |
+
[
|
110 |
+
640,
|
111 |
+
480
|
112 |
+
]
|
113 |
+
],
|
114 |
+
"calib_accel_bias": [
|
115 |
+
0.0,
|
116 |
+
0.0,
|
117 |
+
0.0,
|
118 |
+
0.0,
|
119 |
+
0.0,
|
120 |
+
0.0,
|
121 |
+
0.0,
|
122 |
+
0.0,
|
123 |
+
0.0
|
124 |
+
],
|
125 |
+
"calib_gyro_bias": [
|
126 |
+
0.0,
|
127 |
+
0.0,
|
128 |
+
0.0,
|
129 |
+
0.0,
|
130 |
+
0.0,
|
131 |
+
0.0,
|
132 |
+
0.0,
|
133 |
+
0.0,
|
134 |
+
0.0,
|
135 |
+
0.0,
|
136 |
+
0.0,
|
137 |
+
0.0
|
138 |
+
],
|
139 |
+
"imu_update_rate": 1000.0,
|
140 |
+
"accel_noise_std": [
|
141 |
+
0.016,
|
142 |
+
0.016,
|
143 |
+
0.016
|
144 |
+
],
|
145 |
+
"gyro_noise_std": [
|
146 |
+
0.000282,
|
147 |
+
0.000282,
|
148 |
+
0.000282
|
149 |
+
],
|
150 |
+
"accel_bias_std": [
|
151 |
+
0.001,
|
152 |
+
0.001,
|
153 |
+
0.001
|
154 |
+
],
|
155 |
+
"gyro_bias_std": [
|
156 |
+
0.0001,
|
157 |
+
0.0001,
|
158 |
+
0.0001
|
159 |
+
],
|
160 |
+
"cam_time_offset_ns": 0,
|
161 |
+
"vignette": []
|
162 |
+
}
|
163 |
+
}
|
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 |
+
}
|