mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 12:25:20 +03:00
Gyro filtering restructure
Refactor the gyro filtering to move the filters from the individual gyro sensor and make them part of the logical gyro object. For dual-gyro mode the sensors are averaged BEFORE and then filtering is applied. This differs from the current structure where filtering is applied individually to each sensor and the results were averaged at the end. Significantly reduces filtering processing load and enables RPM Filtering for dual-gyro mode.
This commit is contained in:
parent
e38d460acf
commit
86f9960987
8 changed files with 242 additions and 277 deletions
|
@ -54,9 +54,7 @@ const char * const debugModeNames[DEBUG_COUNT] = {
|
|||
"RX_FRSKY_SPI",
|
||||
"RX_SFHSS_SPI",
|
||||
"GYRO_RAW",
|
||||
"DUAL_GYRO",
|
||||
"DUAL_GYRO_RAW",
|
||||
"DUAL_GYRO_COMBINE",
|
||||
"DUAL_GYRO_DIFF",
|
||||
"MAX7456_SIGNAL",
|
||||
"MAX7456_SPICLOCK",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue