From 1d589c5244efca2f58ba5a1a76a687b63f27cc6c Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Sat, 27 Jul 2024 13:12:50 +0100 Subject: [PATCH] AP_GyroFFT: move to new constant dt low pass filter class --- libraries/AP_GyroFFT/AP_GyroFFT.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_GyroFFT/AP_GyroFFT.h b/libraries/AP_GyroFFT/AP_GyroFFT.h index 19b501b719..115448227b 100644 --- a/libraries/AP_GyroFFT/AP_GyroFFT.h +++ b/libraries/AP_GyroFFT/AP_GyroFFT.h @@ -157,7 +157,7 @@ private: } private: - LowPassFilterFloat _lowpass_filter[XYZ_AXIS_COUNT]; + LowPassFilterConstDtFloat _lowpass_filter[XYZ_AXIS_COUNT]; FilterWithBuffer _median_filter[XYZ_AXIS_COUNT]; }; @@ -311,7 +311,7 @@ private: // smoothing filter on the bandwidth MedianLowPassFilter3dFloat _center_bandwidth_filter[FrequencyPeak::MAX_TRACKED_PEAKS]; // smoothing filter on the frequency fit - LowPassFilterFloat _harmonic_fit_filter[XYZ_AXIS_COUNT]; + LowPassFilterConstDtFloat _harmonic_fit_filter[XYZ_AXIS_COUNT]; // configured sampling rate uint16_t _fft_sampling_rate_hz;