mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 21:05:35 +03:00
Refactoring of IMU and ACC
This commit is contained in:
parent
b6b24ba946
commit
f85ebba6a4
24 changed files with 141 additions and 195 deletions
|
@ -27,10 +27,8 @@
|
|||
|
||||
typedef struct accelerationRuntime_s {
|
||||
uint16_t accLpfCutHz;
|
||||
biquadFilter_t accFilter[XYZ_AXIS_COUNT];
|
||||
pt2Filter_t accFilter[XYZ_AXIS_COUNT];
|
||||
flightDynamicsTrims_t *accelerationTrims;
|
||||
int accumulatedMeasurementCount;
|
||||
float accumulatedMeasurements[XYZ_AXIS_COUNT];
|
||||
uint16_t calibratingA; // the calibration is done is the main loop. Calibrating decreases at each cycle down to 0, then we enter in a normal mode.
|
||||
} accelerationRuntime_t;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue