mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 18:53:34 +08:00
gyro_fft: require higher SNR for initially tracking a peak
- initial frequency peak tracking SNR increased from 10->15 db - after initial detection the threshold decreases to SNR 5db - gyro_fft large method refactored into smaller pieces - sensors/vehicle_angular_velocity: dynamic notch FFT make sample rate check a percentage and relax lower bound safety threshold
This commit is contained in:
@@ -49,7 +49,7 @@ PARAM_DEFINE_INT32(IMU_GYRO_FFT_EN, 0);
|
||||
* @reboot_required true
|
||||
* @group Sensors
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(IMU_GYRO_FFT_MIN, 32.f);
|
||||
PARAM_DEFINE_FLOAT(IMU_GYRO_FFT_MIN, 30.f);
|
||||
|
||||
/**
|
||||
* IMU gyro FFT maximum frequency.
|
||||
@@ -60,7 +60,7 @@ PARAM_DEFINE_FLOAT(IMU_GYRO_FFT_MIN, 32.f);
|
||||
* @reboot_required true
|
||||
* @group Sensors
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(IMU_GYRO_FFT_MAX, 192.f);
|
||||
PARAM_DEFINE_FLOAT(IMU_GYRO_FFT_MAX, 150.f);
|
||||
|
||||
/**
|
||||
* IMU gyro FFT length.
|
||||
|
||||
Reference in New Issue
Block a user