mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 01:05:27 +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
|
@ -209,10 +209,8 @@ PG_RESET_TEMPLATE(gyroConfig_t, gyroConfig,
|
|||
.yaw_spin_threshold = 1950,
|
||||
.dyn_filter_type = FILTER_BIQUAD,
|
||||
.dyn_filter_width_percent = 40,
|
||||
.dyn_notch_quality = 20,
|
||||
.dyn_fft_location = DYN_FFT_BEFORE_STATIC_FILTERS,
|
||||
.dyn_filter_threshold = 30,
|
||||
.dyn_filter_ignore = 20,
|
||||
.dyn_fft_location = DYN_FFT_AFTER_STATIC_FILTERS,
|
||||
.dyn_filter_range = DYN_FILTER_RANGE_MEDIUM,
|
||||
);
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue