mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 10:46:33 +08:00
gyro_fft: change default length 1024 -> 512 to decrease latency
- change default FFT length (1024 -> 512)
- this doubles the update rate because half the number of samples are required for each
- decrease number of peaks (4 -> 3)
- so far 3 seems to be sufficient on most vehicles
- increase median filter window (3 -> 5)
- decrease SNR requirement (likely needs to be configurable)
This commit is contained in:
@@ -18,7 +18,7 @@ param set IMU_GYRO_RATEMAX 1000
|
||||
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 1024
|
||||
param set IMU_GYRO_FFT_LEN 512
|
||||
|
||||
# dynamic notches ESC/FFT/both
|
||||
#param set IMU_GYRO_DYN_NF 1
|
||||
|
||||
Reference in New Issue
Block a user