Andrew Tridgell
b47bb11a5f
AP_InertialSensor: updated for heater changes
5 years ago
Andy Piper
ca19be9d7c
AP_InertialSensor: expose harmonic notch tracking mode
5 years ago
Andrew Tridgell
d6e17b0c2b
AP_InertialSensor: publish an IMU temperature
...
makes testing of mavlink extension easier
5 years ago
Andrew Tridgell
850892c3d9
HAL_ChibiOS: fixes from LGTM errors
5 years ago
Andy Piper
8e385d7453
AP_InertialSensor: correct formatting
5 years ago
Andy Piper
5b7f9f6bea
AP_InertialSensor: while sensors are converging update the filters sample rates. if gyro filtering produces invalid output, keep the previous value
5 years ago
Andy Piper
a9a7fe3ea5
AP_InertialSensor: ensure harmonic notch gets appropriate defaults
5 years ago
Andy Piper
3261677e01
AP_InertialSensor: remove _ prefix from methods. use changed filter methods.
5 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
5 years ago
Andy Piper
dde6dec145
AP_InertialSensor: correct reboot documentation for batch logger and filters
5 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
Randy Mackay
6a154c4e4c
AP_InertialSensor: resolve gcs::send_text compiler warning
6 years ago
Andrew Tridgell
8e5c0fa32b
AP_InertialSensor: disable kill IMUs with HAL_MINIMIZE_FEATURES
6 years ago
Andrew Tridgell
09d3392aee
AP_InertialSensor: zero accumulators on time step
...
this zeros the delta angle and delta velocity accumulators when a
sensor is unavailable for a period of 0.1s. This prevents garbage
values being passed into the EKF when a sensor dies and then becomes
available again some time later
6 years ago
Andrew Tridgell
3444e82ef9
AP_InertialSensor: added RC switch for killing IMUs
6 years ago
Andrew Tridgell
053f0cb689
AP_InertialSensor: try much harder to get all IMU samples
...
this we ensures we get new data for all active IMUs on each loop,
rather than sometimes returning with some IMUs not having data.
This matters as not having a sample on an IMU for a single loop can
cause an EKF IMU failover, which will degrade the learned bias
variances
The issue is usually only seen under high load, such as requesting a
loop rate beyond what the hardware is capable of
6 years ago
Andy Piper
31ea3466af
AP_InertialSensor: Post-filter logging takes precedence over sensor-rate logging.
6 years ago
Andy Piper
36878e9b3c
AP_InertialSensor: Allow all filter frequencies to be 16bit.
6 years ago
Andy Piper
fff81a2163
AP_InertialSensor: Make sure the LPF output is used by the notch input.
6 years ago
Andy Piper
18d403c3ac
AP_InertialSensor: Rework notch filter allocation and sampling
...
https://github.com/ArduPilot/ardupilot/issues/11346
Allocate a notch filter per-IMU.
Update the notch filters in the backend at the sensor sample rate.
Allow raw logging of post-filtered gyro and accel values.
6 years ago
Andrew Tridgell
aef343bfd0
AP_InertialSensor: removed old mRoControlZeroF7 config
6 years ago
Andrew Tridgell
039e7366b0
AP_InertialSensor: support new sensor config setup
6 years ago
Andrew Tridgell
3823ba539c
AP_InertialSensor: rename to EXPECT_DELAY_MS()
6 years ago
Andrew Tridgell
02326ac52c
AP_InertialSensor: use EXPECT_DELAY() macro
6 years ago
Andrew Tridgell
4e769730c9
AP_InertialSensor: removed unusued AP_Common/Semaphore.h
6 years ago
Phillip Kocmoud
6665e4c0a7
AP_InertialSensor: probe IMUs for mRoControlZeroF7
6 years ago
Andrew Tridgell
893b49d145
AP_InertialSensor: disable register checking in invensensev2 driver
...
register checking doesn't work for the banked registers used in the
invensensev2 register layout. It ends up setting the wrong register
value in some cases, which can either cause the sensor to stop working
or in the worst case give bad data
6 years ago
Jaaaky
47c65314fb
AP_InertialSensor: fix accelcalsimple watchdog
6 years ago
Andrew Tridgell
034d476fa5
AP_InertialSensor: prevent watchdog in accelcal
6 years ago
Andrew Tridgell
9c48d001ac
AP_InertialSensor: skip gyro cal on watchdog reset
6 years ago
Andrew Tridgell
c988eb2fd9
AP_InertialSensor: don't set INS_ENABLE_MASK to found IMU mask
6 years ago
Andrew Tridgell
c7ed4bfbcc
AP_InertialSensor: allow testing of IMU failure
6 years ago
Randy Mackay
9fa742e1be
AP_InertialSensor: fix compiler warning in BMI088 driver
6 years ago
Peter Barker
e0fc73776c
AP_InertialSensor: return floats from raw-sample-rate getters
...
The underlying type changed at some stage but the getters did not
6 years ago
Andrew Tridgell
fa63243eb0
AP_InertialSensor: added BMI088 accel config retry
6 years ago
Peter Barker
ef860db558
AP_InertialSensor: add floating point constant designators
6 years ago
Michael du Breuil
c7a9e8bf93
AP_InertialSensor: Fix implicit include of AP_Logger
6 years ago
L Kurt Shaw
d08ab88dea
INS: AP_InertialSensor comments for new cubes
...
Correct comments ICM20648 should have been ICM20948
6 years ago
Tom Pittenger
3eeaa2c8df
AP_InertialSensor: rename dataflash to logger
6 years ago
na
494a3f86ad
AP_IntertialSensor: support ICM20601 IMU
6 years ago
Randy Mackay
5d8747c81d
AP_InetialSensor: fixup ENABLE_MASK parameter desc
6 years ago
Andrew Tridgell
4a334d0ed7
AP_IneertialSensor: fixed startup race in SITL
6 years ago
Andrew Tridgell
0a718ba330
AP_IneertialSensor: fixed orientations and gyro scale factors for new Invensense IMUs
6 years ago
Siddharth Purohit
8c2d3945de
AP_IneertialSensor: add support for custom accel scale
...
adds support for 30g measurement on ICM20649
6 years ago
Siddharth Purohit
3a833d9a90
AP_InertialSensor: fix rotation for ICM20649
6 years ago