mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-18 05:45:31 +03:00
user configurable sample rate, true peak detection
1. User can set sampling rate to suit expected range of frequencies: - HIGH suits 4" or smaller and 6S 5" - MEDIUM suits classic 5" 4S - LOW is for 6" or greater Limits automatically scaled: HIGH : 133/166 to 1000Hz, MEDIUM : 89/111 to 666Hz, LOW : 67/83 to 500Hz 2. Bandpass entirely eliminated, not needed. 3. True peak detection method, favouring first peak to exceed 80% of maximum bin height; ignore or threshold values not required.
This commit is contained in:
parent
3f001295f7
commit
14c90bf10b
5 changed files with 93 additions and 83 deletions
|
@ -114,6 +114,7 @@ typedef enum {
|
|||
#endif // USE_RC_SMOOTHING_FILTER
|
||||
#ifdef USE_GYRO_DATA_ANALYSE
|
||||
TABLE_DYNAMIC_FFT_LOCATION,
|
||||
TABLE_DYNAMIC_FILTER_RANGE,
|
||||
#endif // USE_GYRO_DATA_ANALYSE
|
||||
|
||||
LOOKUP_TABLE_COUNT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue