Siddharth Purohit
c4caf2ff54
AP_InertialSensor: add HAL_INS_ENABLED
4 years ago
Siddharth Purohit
447935bf4c
AP_InertialSensor: remove dependence on gcs for AP_Periph builds
4 years ago
Peter Barker
731cf038f0
AP_InertialSensor: remove @Values from param metadata where @Bitmask exists
4 years ago
Peter Barker
52a52e1e5b
AP_InertialSensor: remove HIL support
4 years ago
Andrew Tridgell
b3ed4f4b12
AP_InertialSensor: fixed handling of more than 3 accel/gyro instances
...
allows for first 3 to work without a panic
4 years ago
Andrew Tridgell
dcf6bcea6e
AP_InertialSensor: removed assert calls
...
these waste flash space and do not do us any good
4 years ago
Peter Barker
2b0bf45891
AP_InertialSensor: remove separate calls to get delta-times for vel and ang
4 years ago
Andrew Tridgell
25dd08a1fd
AP_InertialSensor: added force_save_calibration()
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
3ff71c7814
AP_InertialSensor: changes from review feedback
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
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
3fb720354d
AP_InertialSensor: added notify events for temperature calibration
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
Andrew Tridgell
f6c45c3bcd
AP_InertialSensor: cope with INS_MAX_INSTANCES < 3
4 years ago
Peter Barker
02c9aa2ae2
AP_InertialSensor: remove unused define
4 years ago
Andrew Tridgell
d5c0522651
AP_InertialSensor: instantiate SIM_IMU_COUNT sensors in SITL
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
Andy Piper
8ac79da643
AP_InertialSensor: FFT gyro window would overflow on windows >= 256
...
convert FFT buffers to ObjectBuffer<float> for lock-free access
push gyro samples directly into the FFT ring buffer from the gyro thread
5 years ago
Andy Piper
d0a241597a
AP_InertialSensor: add support for double harmonic notches to more effectively target wider noise peaks
5 years ago
Peter Barker
efbf929bc0
AP_InertialSensor: rename APMrover2 to Rover
5 years ago
Andrew Tridgell
d772289b0d
AP_InertialSensor: added driver for ADIS16470
5 years ago
Andy Piper
0e9b2a26c5
AP_InertialSensor: SITL the raw sample rate is not the same as the sensor rate
...
use regulated time for frequency noise to avoid spurious harmonics
SITL sensors must be true separate instances
don't compile in FFT structures if DSP disabled
5 years ago
Andy Piper
3d9776dd6d
AP_InertialSensor: expose statically filtered gyro values for FFT analysis and allow sampling to gyro window for FFT analysis.
...
FFT windows can be dynamically allocated
add harmonic notch dynamic tracking mode
unwind gyro window allocation in the case of failure
allow access to harmonic notch harmonics
5 years ago
Peter Barker
ab7ee46423
AP_InertialSensor: mark some parameters as Calibration parameters
5 years ago
Randy Mackay
b7f6f4a05e
AP_InertialSensor: reduce POS param range to 5m and add increment
5 years ago
Andrew Tridgell
e52a3b9978
AP_InertialSensor: default fast sampling on
...
if we have a first IMU capable of fast sampling then we want it
enabled by default
5 years ago
Mark Whitehorn
00948c33d5
AP_InertialSensor: rename sensor_config_error to config_error
5 years ago
Andy Piper
a9a7fe3ea5
AP_InertialSensor: ensure harmonic notch gets appropriate defaults
6 years ago
Andy Piper
3261677e01
AP_InertialSensor: remove _ prefix from methods. use changed filter methods.
6 years ago
Andy Piper
50f7e50634
AP_InertialSensor: add harmonic notch filter to gyro filter chain
...
Allow dynamic updates to the calculated frequency. Convert bandwidth and frequency to floats.
backend variables do not need to be indexed per-backed
6 years ago
Andy Piper
dde6dec145
AP_InertialSensor: correct reboot documentation for batch logger and filters
6 years ago
Andrew Tridgell
15e15e0b9d
AP_InertialSensor: define GET_I2C_DEVICE()
6 years ago
Andrew Tridgell
1c92ecc89f
AP_InertialSensor: removed old method of specifying most IMUs
...
and removed dangerous default values for rotations
6 years ago
Andrew Tridgell
c99923d500
AP_InertialSensor: require gyro orientations in LSM9DS probe
...
this prevents a bug where they are missing in hwdef.dat
6 years ago
Andrew Tridgell
992016069a
AP_InertialSensor: fixed watchdog on AHRS trim gyro wait
6 years ago
Andrew Tridgell
e1ce735886
AP_InertialSensor: special check for CubeBlack to force INS_USE3=1
...
this will cope with users loading old parameter files
6 years ago
Andrew Tridgell
123800ccd2
AP_InertialSensor: default INS_USE3 to 1
6 years ago
Andrew Tridgell
8e5c0fa32b
AP_InertialSensor: disable kill IMUs with HAL_MINIMIZE_FEATURES
6 years ago