forked from kyoto-u-shinobi/yozakura_raspi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
imu_settings.ini
513 lines (440 loc) · 9.42 KB
/
imu_settings.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
# #####################################################################
#
# RTIMULib settings file
# General settings
#
# IMU type -
# 0 = Auto discover
# 1 = Null (used when data is provided from a remote IMU
# 2 = InvenSense MPU-9150
# 3 = STM L3GD20H + LSM303D
# 4 = STM L3GD20 + LSM303DLHC
# 5 = STM LSM9DS0
# 6 = InvenSense MPU-9250
# 7 = STM L3GD20H + LSM303DLHC
IMUType=2
#
# Fusion type type -
# 0 - Null. Use if only sensor data required without fusion
# 1 - Kalman STATE4
# 2 - RTQF
FusionType=2
#
# Is bus I2C: 'true' for I2C, 'false' for SPI
BusIsI2C=true
#
# I2C Bus (between 0 and 7)
I2CBus=1
#
# SPI Bus (between 0 and 7)
SPIBus=0
#
# SPI select (between 0 and 1)
SPISelect=0
#
# SPI Speed in Hz
SPISpeed=500000
#
# I2C slave address (filled in automatically by auto discover)
I2CSlaveAddress=104
#
# IMU axis rotation - see RTIMU.h for details
AxisRotation=0
# Pressure sensor type -
# 0 = Auto discover
# 1 = Null (no hardware or don't use)
# 2 = BMP180
PressureType=0
#
# I2C pressure sensor address (filled in automatically by auto discover)
I2CPressureAddress=0
# #####################################################################
#
# Compass calibration settings
CompassCalValid=false
CompassCalMinX=0.000000
CompassCalMinY=0.000000
CompassCalMinZ=0.000000
CompassCalMaxX=0.000000
CompassCalMaxY=0.000000
CompassCalMaxZ=0.000000
# #####################################################################
#
# Compass adjustment settings
# Compass declination is in radians and is subtracted from calculated heading
compassAdjDeclination=0.000000
# #####################################################################
#
# Compass ellipsoid calibration
compassCalEllipsoidValid=false
compassCalOffsetX=0.000000
compassCalOffsetY=0.000000
compassCalOffsetZ=0.000000
compassCalCorr11=1.000000
compassCalCorr12=0.000000
compassCalCorr13=0.000000
compassCalCorr21=0.000000
compassCalCorr22=1.000000
compassCalCorr23=0.000000
compassCalCorr31=0.000000
compassCalCorr32=0.000000
compassCalCorr33=1.000000
# #####################################################################
#
# Accel calibration
AccelCalValid=false
AccelCalMinX=0.000000
AccelCalMinY=0.000000
AccelCalMinZ=0.000000
AccelCalMaxX=0.000000
AccelCalMaxY=0.000000
AccelCalMaxZ=0.000000
# #####################################################################
#
# Saved gyro bias data
GyroBiasValid=true
GyroBiasX=-0.110197
GyroBiasY=-0.042910
GyroBiasZ=0.067683
# #####################################################################
#
# MPU-9150 settings
#
# Gyro sample rate (between 5Hz and 1000Hz)
MPU9150GyroAccelSampleRate=50
#
# Compass sample rate (between 1Hz and 100Hz)
MPU9150CompassSampleRate=25
#
# Gyro/accel low pass filter -
# 0 - gyro: 256Hz, accel: 260Hz
# 1 - gyro: 188Hz, accel: 184Hz
# 2 - gyro: 98Hz, accel: 98Hz
# 3 - gyro: 42Hz, accel: 44Hz
# 4 - gyro: 20Hz, accel: 21Hz
# 5 - gyro: 10Hz, accel: 10Hz
# 6 - gyro: 5Hz, accel: 5Hz
MPU9150GyroAccelLpf=4
#
# Gyro full scale range -
# 0 - +/- 250 degress per second
# 8 - +/- 500 degress per second
# 16 - +/- 1000 degress per second
# 24 - +/- 2000 degress per second
MPU9150GyroFSR=16
#
# Accel full scale range -
# 0 - +/- 2g
# 8 - +/- 4g
# 16 - +/- 8g
# 24 - +/- 16g
MPU9150AccelFSR=16
# #####################################################################
#
# MPU-9250 settings
#
# Gyro sample rate (between 5Hz and 1000Hz plus 8000Hz and 32000Hz)
MPU9250GyroAccelSampleRate=80
#
# Compass sample rate (between 1Hz and 100Hz)
MPU9250CompassSampleRate=40
#
# Gyro low pass filter -
# 0x11 - 8800Hz, 0.64mS delay
# 0x10 - 3600Hz, 0.11mS delay
# 0x00 - 250Hz, 0.97mS delay
# 0x01 - 184Hz, 2.9mS delay
# 0x02 - 92Hz, 3.9mS delay
# 0x03 - 41Hz, 5.9mS delay
# 0x04 - 20Hz, 9.9mS delay
# 0x05 - 10Hz, 17.85mS delay
# 0x06 - 5Hz, 33.48mS delay
MPU9250GyroLpf=3
#
# Accel low pass filter -
# 0x08 - 1130Hz, 0.75mS delay
# 0x00 - 460Hz, 1.94mS delay
# 0x01 - 184Hz, 5.80mS delay
# 0x02 - 92Hz, 7.80mS delay
# 0x03 - 41Hz, 11.80mS delay
# 0x04 - 20Hz, 19.80mS delay
# 0x05 - 10Hz, 35.70mS delay
# 0x06 - 5Hz, 66.96mS delay
MPU9250AccelLpf=3
#
# Gyro full scale range -
# 0 - +/- 250 degress per second
# 8 - +/- 500 degress per second
# 16 - +/- 1000 degress per second
# 24 - +/- 2000 degress per second
MPU9250GyroFSR=16
#
# Accel full scale range -
# 0 - +/- 2g
# 8 - +/- 4g
# 16 - +/- 8g
# 24 - +/- 16g
MPU9250AccelFSR=16
# #####################################################################
#
# L3GD20H + LSM303D settings
#
# Gyro sample rate -
# 0 = 12.5Hz
# 1 = 25Hz
# 2 = 50Hz
# 3 = 100Hz
# 4 = 200Hz
# 5 = 400Hz
# 6 = 800Hz
GD20HM303DGyroSampleRate=2
#
# Gyro full scale range -
# 0 = 245 degrees per second
# 1 = 500 degrees per second
# 2 = 2000 degrees per second
GD20HM303DGyroFsr=1
#
# Gyro high pass filter -
# 0 - 9 but see the L3GD20H manual for details
GD20HM303DGyroHpf=4
#
# Gyro bandwidth -
# 0 - 3 but see the L3GD20H manual for details
GD20HM303DGyroBW=1
# Accel sample rate -
# 1 = 3.125Hz
# 2 = 6.25Hz
# 3 = 12.5Hz
# 4 = 25Hz
# 5 = 50Hz
# 6 = 100Hz
# 7 = 200Hz
# 8 = 400Hz
# 9 = 800Hz
# 10 = 1600Hz
GD20HM303DAccelSampleRate=5
#
# Accel full scale range -
# 0 = +/- 2g
# 1 = +/- 4g
# 2 = +/- 6g
# 3 = +/- 8g
# 4 = +/- 16g
GD20HM303DAccelFsr=3
#
# Accel low pass filter -
# 0 = 773Hz
# 1 = 194Hz
# 2 = 362Hz
# 3 = 50Hz
GD20HM303DAccelLpf=3
#
# Compass sample rate -
# 0 = 3.125Hz
# 1 = 6.25Hz
# 2 = 12.5Hz
# 3 = 25Hz
# 4 = 50Hz
# 5 = 100Hz
GD20HM303DCompassSampleRate=4
#
# Compass full scale range -
# 0 = +/- 200 uT
# 1 = +/- 400 uT
# 2 = +/- 800 uT
# 3 = +/- 1200 uT
GD20HM303DCompassFsr=0
# #####################################################################
#
# L3GD20 + LSM303DLHC settings
#
# Gyro sample rate -
# 0 = 95z
# 1 = 190Hz
# 2 = 380Hz
# 3 = 760Hz
GD20M303DLHCGyroSampleRate=0
#
# Gyro full scale range -
# 0 = 250 degrees per second
# 1 = 500 degrees per second
# 2 = 2000 degrees per second
GD20M303DLHCGyroFsr=1
#
# Gyro high pass filter -
# 0 - 9 but see the L3GD20 manual for details
GD20M303DLHCGyroHpf=4
#
# Gyro bandwidth -
# 0 - 3 but see the L3GD20 manual for details
GD20M303DLHCGyroBW=1
# Accel sample rate -
# 1 = 1Hz
# 2 = 10Hz
# 3 = 25Hz
# 4 = 50Hz
# 5 = 100Hz
# 6 = 200Hz
# 7 = 400Hz
GD20M303DLHCAccelSampleRate=4
#
# Accel full scale range -
# 0 = +/- 2g
# 1 = +/- 4g
# 2 = +/- 8g
# 3 = +/- 16g
GD20M303DLHCAccelFsr=2
#
# Compass sample rate -
# 0 = 0.75Hz
# 1 = 1.5Hz
# 2 = 3Hz
# 3 = 7.5Hz
# 4 = 15Hz
# 5 = 30Hz
# 6 = 75Hz
# 7 = 220Hz
GD20M303DLHCCompassSampleRate=5
#
# Compass full scale range -
# 1 = +/- 130 uT
# 2 = +/- 190 uT
# 3 = +/- 250 uT
# 4 = +/- 400 uT
# 5 = +/- 470 uT
# 6 = +/- 560 uT
# 7 = +/- 810 uT
GD20M303DLHCCompassFsr=1
# #####################################################################
#
# L3GD20H + LSM303DLHC settings
#
#
# Gyro sample rate -
# 0 = 12.5Hz
# 1 = 25Hz
# 2 = 50Hz
# 3 = 100Hz
# 4 = 200Hz
# 5 = 400Hz
# 6 = 800Hz
GD20HM303DLHCGyroSampleRate=2
#
# Gyro full scale range -
# 0 = 245 degrees per second
# 1 = 500 degrees per second
# 2 = 2000 degrees per second
GD20HM303DLHCGyroFsr=1
#
# Gyro high pass filter -
# 0 - 9 but see the L3GD20H manual for details
GD20HM303DLHCGyroHpf=4
#
# Gyro bandwidth -
# 0 - 3 but see the L3GD20H manual for details
GD20HM303DLHCGyroBW=1
# Accel sample rate -
# 1 = 1Hz
# 2 = 10Hz
# 3 = 25Hz
# 4 = 50Hz
# 5 = 100Hz
# 6 = 200Hz
# 7 = 400Hz
GD20HM303DLHCAccelSampleRate=4
#
# Accel full scale range -
# 0 = +/- 2g
# 1 = +/- 4g
# 2 = +/- 8g
# 3 = +/- 16g
GD20HM303DLHCAccelFsr=2
#
# Compass sample rate -
# 0 = 0.75Hz
# 1 = 1.5Hz
# 2 = 3Hz
# 3 = 7.5Hz
# 4 = 15Hz
# 5 = 30Hz
# 6 = 75Hz
# 7 = 220Hz
GD20HM303DLHCCompassSampleRate=5
#
# Compass full scale range -
# 1 = +/- 130 uT
# 2 = +/- 190 uT
# 3 = +/- 250 uT
# 4 = +/- 400 uT
# 5 = +/- 470 uT
# 6 = +/- 560 uT
# 7 = +/- 810 uT
GD20HM303DLHCCompassFsr=1
# #####################################################################
#
# LSM9DS0 settings
#
# Gyro sample rate -
# 0 = 95z
# 1 = 190Hz
# 2 = 380Hz
# 3 = 760Hz
LSM9DS0GyroSampleRate=0
#
# Gyro full scale range -
# 0 = 250 degrees per second
# 1 = 500 degrees per second
# 2 = 2000 degrees per second
LSM9DS0GyroFsr=1
#
# Gyro high pass filter -
# 0 - 9 but see the LSM9DS0 manual for details
LSM9DS0GyroHpf=4
#
# Gyro bandwidth -
# 0 - 3 but see the LSM9DS0 manual for details
LSM9DS0GyroBW=1
# Accel sample rate -
# 1 = 3.125Hz
# 2 = 6.25Hz
# 3 = 12.5Hz
# 4 = 25Hz
# 5 = 50Hz
# 6 = 100Hz
# 7 = 200Hz
# 8 = 400Hz
# 9 = 800Hz
# 10 = 1600Hz
LSM9DS0AccelSampleRate=5
#
# Accel full scale range -
# 0 = +/- 2g
# 1 = +/- 4g
# 2 = +/- 6g
# 3 = +/- 8g
# 4 = +/- 16g
LSM9DS0AccelFsr=3
#
# Accel low pass filter -
# 0 = 773Hz
# 1 = 194Hz
# 2 = 362Hz
# 3 = 50Hz
LSM9DS0AccelLpf=3
#
# Compass sample rate -
# 0 = 3.125Hz
# 1 = 6.25Hz
# 2 = 12.5Hz
# 3 = 25Hz
# 4 = 50Hz
# 5 = 100Hz
LSM9DS0CompassSampleRate=4
#
# Compass full scale range -
# 0 = +/- 200 uT
# 1 = +/- 400 uT
# 2 = +/- 800 uT
# 3 = +/- 1200 uT
LSM9DS0CompassFsr=0