gyro_fft: peak detection exclude side FFT buckets

- when estimating the peak frequency the magnitude of side buckets will
be factored in, so it doesn't make sense to potentially treat them as
separatey detected peaks
This commit is contained in:
Daniel Agar
2022-01-19 09:04:22 -05:00
parent 9ab99a7689
commit afeab9587e
4 changed files with 72 additions and 32 deletions
@@ -18,6 +18,7 @@ param set IMU_GYRO_FFT_EN 1
param set IMU_GYRO_FFT_MIN 10
param set IMU_GYRO_FFT_MAX 1000
param set IMU_GYRO_FFT_LEN 512
param set IMU_GYRO_FFT_SNR 10
# dynamic notches ESC/FFT/both
#param set IMU_GYRO_DNF_EN 1