Andrew Tridgell
0535c4f592
AP_InertialSensor: default TMAX to 70
...
if user forgets to set this then better to just timeout rather than
calibrating over a small range
4 years ago
Andrew Tridgell
bdb364d461
AP_InertialSensor: save the accelerometer ID parameters
...
this is needed for factory accel cal
4 years ago
Andrew Tridgell
2843cfa42d
AP_InertialSensor: use mavlink statustext for cal info
4 years ago
Andrew Tridgell
b542f947f7
AP_InertialSensor: don't mark accels as calibrating during trim
...
we need the accels with offsets applied when doing accel trim
4 years ago
Andrew Tridgell
e908a996af
AP_InertialSensor: support SIM_ACC_TRIM
...
and cleanup vector maths
4 years ago
Andrew Tridgell
6c8a57c2d7
AP_InertialSensor: review fixes
4 years ago
Andrew Tridgell
3ff71c7814
AP_InertialSensor: changes from review feedback
4 years ago
Andrew Tridgell
b12a663f7a
AP_InertialSensor: apply accel scaling
4 years ago
Andrew Tridgell
73ddde3629
AP_InertialSensor: changes for new SITL IMU params
4 years ago
Andrew Tridgell
5e60fac37e
AP_InertialSensor: remove unused variable
4 years ago
Andrew Tridgell
285b53fe07
AP_InertialSensor: use vector polyfit
...
this reduces memory usage
4 years ago
Andrew Tridgell
ffe20f7958
AP_InertialSensor: use a fixed reference temperature of 35C
...
this allows us to timeout the calibration when the temperature stops
rising as the polynomial no longer depends on the maximum temperature
4 years ago
Andrew Tridgell
dc58b0b950
AP_InertialSensor: changes from review feedback
...
thanks Sid!
4 years ago
Andrew Tridgell
c9a83c8127
AP_InertialSensor: added INS_TCAL_OPTIONS
...
make persistent params optional, and allow save of accelcal
4 years ago
Andrew Tridgell
1ddc21c9bb
AP_InertialSensor: support saving tempcal params persistently
4 years ago
Andrew Tridgell
8caea96ab1
AP_InertialSensor: start auto-learning at boot
...
This makes it easier to setup the params. The ENABLE=2 value only
takes effect at boot
4 years ago
Andrew Tridgell
7cb7ad3636
AP_InertialSensor: fixed build error
4 years ago
Andrew Tridgell
2e9f61fe49
AP_InertialSensor: fixed IMU index display in msgs
...
start at 1 for users
4 years ago
Andrew Tridgell
d5b511f4a0
AP_InertialSensor: fixed start timer for temperature in SITL
...
when we are doing an autotest we want the temperature to start
climbing when we first set SIM_IMUT_FIXED=0
4 years ago
Andrew Tridgell
30e55d8dfc
AP_InertialSensor: cope with user changing TMAX while calibrating
4 years ago
Andrew Tridgell
e2e97c67ce
AP_InertialSensor: catch user attempt to change TMAX during cal
4 years ago
Andrew Tridgell
3fb720354d
AP_InertialSensor: added notify events for temperature calibration
4 years ago
Andrew Tridgell
cc3579ea5d
AP_InertialSensor: change TCAL sampling to be even in temperature
4 years ago
Andrew Tridgell
fc0f8b990a
AP_InertialSensor: added online learning of temp cal
...
use INS_TCAL1_ENABLE=2 to start learning
4 years ago
Andrew Tridgell
6f6f89e5aa
AP_InertialSensor: enable temperature sensor on LSM9DS0
...
this allows for temperature calibration of the LSM303D in CubeBlack
and Pixhawk1
4 years ago
Andrew Tridgell
4bdf506d10
AP_InertialSensor: apply 1e-5 scale factor
...
this keeps the params in a reasonable range for parameter editors
4 years ago
Andrew Tridgell
0f6f6bac6b
AP_InertialSensor: expose TCal class for use in SITL
4 years ago
Andrew Tridgell
7921e042f1
AP_InertialSensor: added IMU temperature calibration support
...
this adds parameters that can be setup by an external script for
compensating for temperature variation in gyros and accels using a 3rd
order polynomial
4 years ago
Peter Barker
239b09fb34
AP_InertialSensor: add simulator for ICM40609
4 years ago
Andrew Tridgell
957842f7eb
AP_InertialSensor: added support for v3 Invensense sensors
...
starting with ICM-40609, ICM-42688 and ICM-42605
4 years ago
Andrew Tridgell
b74e5c0e2f
AP_InertialSensor: added ExternalAHRS backend
4 years ago
Andrew Tridgell
4f176c25de
AP_InertialSensor: relax IMU wait time for low loop rates
...
allow for waiting for all IMUs for up to 1/3 of the loop time
4 years ago
murata
219dc2e7da
AP_InertialSensor: Set the gravitational acceleration value to the defined value
4 years ago
Andy Piper
3db6203fb6
AP_InertialSensor: reduce FIFO buffer size to avoid DMA contention
4 years ago
Peter Barker
72acc8bfc8
AP_InertialSensor: use primary gyro (not accel) for get_delta_angle_dt
4 years ago
Peter Barker
2437cf8a24
AP_Logger: use instance number for IMU logging
4 years ago
Andrew Tridgell
f6c45c3bcd
AP_InertialSensor: cope with INS_MAX_INSTANCES < 3
4 years ago
Andrew Tridgell
e8f21d3458
AP_InertialSensor: fixed rpm indexing for vtol motors
...
quadplane vtol motors start at 1
4 years ago
Michael du Breuil
c86dcf91d6
AP_InertialSensor: Run vibration monitoring on all instances
4 years ago
Peter Barker
02c9aa2ae2
AP_InertialSensor: remove unused define
4 years ago
mhefny
02daa4c3ec
AP_InertialSensor: update L3G4200D driver
4 years ago
Andrew Tridgell
cfc59497f6
AP_InertialSensor: trigger internal error on persistent IMU reset
...
this will give users a warning when they are getting the Invensense
IMU FIFO reset issue
5 years ago
Andrew Tridgell
d5c0522651
AP_InertialSensor: instantiate SIM_IMU_COUNT sensors in SITL
5 years ago
bugobliterator
4cdb4b74f3
AP_InertialSensor: add support for checked register in Invensensev2 Drvr
5 years ago
Andy Piper
e53a43461b
AP_InertialSensor: remove ICM gyro pre-filter
5 years ago
bugobliterator
43c16cd417
AP_InertialSensor: ensure that we use environment Python interpreter
5 years ago
Andy Piper
d4ba821297
AP_InertialSensor: make the backend fast gyro rate configurable and independent from the accel rate
...
allow fast sampling of gyros on MPU6000 and MPU6500
5 years ago
Andy Piper
05366e9aa9
AP_InertialSensor: delegate active harmonic calculation to the filter
5 years ago
Andy Piper
faf9bbbf3a
AP_InertialSensor: make the backend fast gyro rate configurable
...
raise gyro rate default on F7 and H7
clean up gyro rate docs and output startup banner
5 years ago
Andy Piper
61bb42cc0c
AP_InertialSensor: allow up to four distinct notch center frequencies to be updated
...
apply the LPF after the notch filters to reduced notch-induced noise
5 years ago