19static const float LED_RADIUS_M = 0.006f;
20static const float LED_VISIBILITY_ANGLE =
DEG_TO_RAD(90);
23 .min_leds_for_correspondence_search_with_prior = 5,
51 .scale_factor_noise_density = 4.3301270e-4,
52 .cross_axis_noise_density = 2.1650635e-4,
54 .axis_saturation = 33.1612587,
55 .saturated_noise_density = 0.15114995,
57 .bias_random_walk = 1.745e-5,
59 .bias_initial_sigma = 4.363e-4,
64 .noise_density = 8.8259848e-3,
65 .scale_factor_noise_density = 4.3301270e-4,
66 .cross_axis_noise_density = 2.1650635e-4,
68 .axis_saturation = 76.49187,
69 .saturated_noise_density = 2.1232020,
71 .bias_random_walk = 1e-3,
73 .bias_initial_sigma = 9.807e-3,
75 .accel_scale_random_walk = 1e-5,
76 .accel_scale_initial_sigma = 0.05,
85 .
position = {-0.012054, -0.055213, 0.038152},
86 .normal = {-0.176485, -0.811967, 0.556384},
87 .radius_m = LED_RADIUS_M,
88 .visibility_angle = LED_VISIBILITY_ANGLE,
92 .position = {-0.033088, -0.055236, 0.020190},
93 .normal = {-0.426232, -0.891845, -0.151455},
94 .radius_m = LED_RADIUS_M,
95 .visibility_angle = LED_VISIBILITY_ANGLE,
99 .position = {-0.053695, -0.031009, 0.028350},
100 .normal = {-0.788493, -0.456350, 0.412339},
101 .radius_m = LED_RADIUS_M,
102 .visibility_angle = LED_VISIBILITY_ANGLE,
106 .position = {-0.066986, -0.010505, 0.008679},
107 .normal = {-0.980055, -0.153898, 0.125726},
108 .radius_m = LED_RADIUS_M,
109 .visibility_angle = LED_VISIBILITY_ANGLE,
113 .position = {-0.063505, 0.024601, 0.004185},
114 .normal = {-0.930796, 0.360502, 0.060482},
115 .radius_m = LED_RADIUS_M,
116 .visibility_angle = LED_VISIBILITY_ANGLE,
120 .position = {-0.047803, 0.044966, 0.018502},
121 .normal = {-0.701817, 0.660177, 0.267618},
122 .radius_m = LED_RADIUS_M,
123 .visibility_angle = LED_VISIBILITY_ANGLE,
127 .position = {0.045472, -0.027042, 0.043022},
128 .normal = {0.667492, -0.396842, 0.630056},
129 .radius_m = LED_RADIUS_M,
130 .visibility_angle = LED_VISIBILITY_ANGLE,
134 .position = {0.059535, -0.013977, 0.028536},
135 .normal = {0.961512, -0.273488, -0.026435},
136 .radius_m = LED_RADIUS_M,
137 .visibility_angle = LED_VISIBILITY_ANGLE,
141 .position = {0.061060, 0.014608, 0.024725},
142 .normal = {0.984435, 0.154641, -0.083507},
143 .radius_m = LED_RADIUS_M,
144 .visibility_angle = LED_VISIBILITY_ANGLE,
148 .position = {0.050994, 0.027255, 0.036184},
149 .normal = {0.748123, 0.399672, 0.529693},
150 .radius_m = LED_RADIUS_M,
151 .visibility_angle = LED_VISIBILITY_ANGLE,
155 .position = {0.048475, 0.043025, 0.018776},
156 .normal = {0.795992, 0.580182, -0.172584},
157 .radius_m = LED_RADIUS_M,
158 .visibility_angle = LED_VISIBILITY_ANGLE,
162 .position = {0.030569, 0.053446, 0.029350},
163 .normal = {0.448555, 0.783814, 0.429458},
164 .radius_m = LED_RADIUS_M,
165 .visibility_angle = LED_VISIBILITY_ANGLE,
169 .position = {0.018498, 0.063913, 0.011230},
170 .normal = {0.346695, 0.893406, -0.285708},
171 .radius_m = LED_RADIUS_M,
172 .visibility_angle = LED_VISIBILITY_ANGLE,
176 .position = {-0.002748, 0.064260, 0.022718},
177 .normal = {-0.040150, 0.942362, 0.332178},
178 .radius_m = LED_RADIUS_M,
179 .visibility_angle = LED_VISIBILITY_ANGLE,
183 .position = {-0.029078, 0.013435, -0.060735},
184 .normal = {-0.417589, 0.258817, -0.870996},
185 .radius_m = LED_RADIUS_M,
186 .visibility_angle = LED_VISIBILITY_ANGLE,
190 .position = {0.001067, 0.013435, -0.067327},
191 .normal = {0.014114, 0.258800, -0.965828},
192 .radius_m = LED_RADIUS_M,
193 .visibility_angle = LED_VISIBILITY_ANGLE,
197 .position = {0.031783, 0.013435, -0.059270},
198 .normal = {0.458628, 0.258803, -0.850106},
199 .radius_m = LED_RADIUS_M,
200 .visibility_angle = LED_VISIBILITY_ANGLE,
207 .
position = {0.012054, -0.055213, 0.038152},
208 .normal = {0.176485, -0.811967, 0.556384},
209 .radius_m = LED_RADIUS_M,
210 .visibility_angle = LED_VISIBILITY_ANGLE,
214 .position = {0.033088, -0.055236, 0.020190},
215 .normal = {0.426232, -0.891845, -0.151455},
216 .radius_m = LED_RADIUS_M,
217 .visibility_angle = LED_VISIBILITY_ANGLE,
221 .position = {0.053695, -0.031009, 0.028350},
222 .normal = {0.788493, -0.456350, 0.412339},
223 .radius_m = LED_RADIUS_M,
224 .visibility_angle = LED_VISIBILITY_ANGLE,
228 .position = {0.066986, -0.010505, 0.008679},
229 .normal = {0.980055, -0.153898, 0.125726},
230 .radius_m = LED_RADIUS_M,
231 .visibility_angle = LED_VISIBILITY_ANGLE,
235 .position = {0.063505, 0.024601, 0.004185},
236 .normal = {0.930796, 0.360502, 0.060482},
237 .radius_m = LED_RADIUS_M,
238 .visibility_angle = LED_VISIBILITY_ANGLE,
242 .position = {0.047803, 0.044966, 0.018502},
243 .normal = {0.701817, 0.660177, 0.267618},
244 .radius_m = LED_RADIUS_M,
245 .visibility_angle = LED_VISIBILITY_ANGLE,
249 .position = {-0.045472, -0.027042, 0.043022},
250 .normal = {-0.667492, -0.396842, 0.630056},
251 .radius_m = LED_RADIUS_M,
252 .visibility_angle = LED_VISIBILITY_ANGLE,
256 .position = {-0.059535, -0.013977, 0.028536},
257 .normal = {-0.961512, -0.273488, -0.026435},
258 .radius_m = LED_RADIUS_M,
259 .visibility_angle = LED_VISIBILITY_ANGLE,
263 .position = {-0.061060, 0.014608, 0.024725},
264 .normal = {-0.984435, 0.154641, -0.083507},
265 .radius_m = LED_RADIUS_M,
266 .visibility_angle = LED_VISIBILITY_ANGLE,
270 .position = {-0.050994, 0.027255, 0.036184},
271 .normal = {-0.748123, 0.399672, 0.529693},
272 .radius_m = LED_RADIUS_M,
273 .visibility_angle = LED_VISIBILITY_ANGLE,
277 .position = {-0.048475, 0.043025, 0.018776},
278 .normal = {-0.795992, 0.580182, -0.172584},
279 .radius_m = LED_RADIUS_M,
280 .visibility_angle = LED_VISIBILITY_ANGLE,
284 .position = {-0.030569, 0.053446, 0.029350},
285 .normal = {-0.448555, 0.783814, 0.429458},
286 .radius_m = LED_RADIUS_M,
287 .visibility_angle = LED_VISIBILITY_ANGLE,
291 .position = {-0.018498, 0.063913, 0.011230},
292 .normal = {-0.346695, 0.893406, -0.285708},
293 .radius_m = LED_RADIUS_M,
294 .visibility_angle = LED_VISIBILITY_ANGLE,
298 .position = {0.002748, 0.064260, 0.022718},
299 .normal = {0.040150, 0.942362, 0.332178},
300 .radius_m = LED_RADIUS_M,
301 .visibility_angle = LED_VISIBILITY_ANGLE,
305 .position = {0.029078, 0.013435, -0.060735},
306 .normal = {0.417589, 0.258817, -0.870996},
307 .radius_m = LED_RADIUS_M,
308 .visibility_angle = LED_VISIBILITY_ANGLE,
312 .position = {-0.001067, 0.013435, -0.067327},
313 .normal = {-0.014114, 0.258800, -0.965828},
314 .radius_m = LED_RADIUS_M,
315 .visibility_angle = LED_VISIBILITY_ANGLE,
319 .position = {-0.031783, 0.013435, -0.059270},
320 .normal = {-0.458628, 0.258803, -0.850106},
321 .radius_m = LED_RADIUS_M,
322 .visibility_angle = LED_VISIBILITY_ANGLE,
336 {0.000262, -0.001698, 0.000803},
337 {0.000599, -0.001296, -0.000481},
338 {0.001550, -0.001087, 0.000603},
339 {0.001588, -0.000457, -0.000046},
340 {0.001498, 0.000488, -0.000025},
341 {0.001238, 0.000888, 0.000272},
342 {-0.000983, -0.000921, 0.001300},
343 {-0.001169, -0.000671, -0.000025},
344 {-0.001315, -0.000090, -0.000021},
345 {-0.001246, 0.000856, 0.000855},
346 {-0.001071, 0.000414, -0.000405},
347 {-0.000537, 0.001162, 0.000544},
348 {-0.000372, 0.000718, -0.000602},
349 {0.000399, 0.001257, 0.000289},
350 {0.000331, 0.000033, -0.001030},
351 {-0.000125, 0.000117, -0.001062},
352 {-0.000648, 0.000286, -0.000970},
#define DEG_TO_RAD(DEG)
Degrees to radians conversion.
Definition m_api.h:87
C interface to math library.
const float pssense_imu_angle
Rotation on X axis from LED -> IMU.
Definition pssense_led_model.h:27
static struct xrt_vec3 T_led_imu_right
The offset from the LED origin -> IMU origin, for the right controller.
Definition pssense_led_model.h:36
static const struct xrt_imu_noise_calibration PSSENSE_IMU_CALIBRATION
IMU noise model for the PS VR2 controllers.
Definition pssense_led_model.h:45
static struct xrt_vec3 T_led_imu_left
The offset from the LED origin -> IMU origin, for the left controller.
Definition pssense_led_model.h:30
static const struct xrt_vec3 pssense_led_emission_offsets[]
Sony forgot to factor in the plastic when computing the original model, this is a fixup on top of tha...
Definition pssense_led_model.h:335
Definition t_constellation.h:294
uint32_t min_leds_for_correspondence_search_without_prior
The minimum number of LEDs required to accept a brute-force solve without a prior.
Definition t_constellation.h:296
Definition t_constellation.h:280
struct xrt_vec3 position
The position of the LED in the model.
Definition t_constellation.h:282
IMU noise model and bias calibration, the noise density grows with the reading on each axis.
Definition xrt_tracking.h:213
struct xrt_imu_sensor_calibration gyro
Gyroscope calibration, in rad/s.
Definition xrt_tracking.h:215
double noise_density
Noise density at rest, in unit/sqrt(Hz).
Definition xrt_tracking.h:191
A 3 element vector with single floats.
Definition xrt_defines.h:323
Header defining the tracking system integration in Monado.
Header defining the tracking system integration in Monado.