ardupilot/libraries/Filter
Andrew Tridgell b79e96ab57 Filter: protect against extremely low notch filter frequencies
an incorrectly configured ESC telemetry source can lead to a notch
running at very low frequencies. A simple example is a lua script like
this:

function update()
   esc_telem:update_rpm(12, 0, 0)
   return update, 10
end
return update()

where motor 12 is unused.

with that script in place we get a 1.0078 Hz filter which leads to
massive phase lag and a crashed aircraft

this is a safety protection. We should also try to find out why the
INS_HNTCH_FREQ lower limit is not working
2023-11-03 08:08:31 +11:00
..
examples Flter: notchfilter: remove unneeded value and pre-multiply for speed 2023-10-17 10:03:43 +11:00
tests Filter: fix notch filter test. 2023-08-02 16:22:59 +01:00
AverageFilter.h
Butter.h Filter: tidy includes 2022-05-03 09:14:58 +10:00
DerivativeFilter.cpp
DerivativeFilter.h
Filter.h
FilterClass.h
FilterWithBuffer.h
HarmonicNotchFilter.cpp Filter: HarmonicNotch: convert harmonics to int32 param 2023-10-10 08:07:16 +09:00
HarmonicNotchFilter.h Filter: HarmonicNotch: convert harmonics to int32 param 2023-10-10 08:07:16 +09:00
LowPassFilter.cpp Filter: Support changing update period 2022-12-13 17:10:06 +11:00
LowPassFilter.h
LowPassFilter2p.cpp Filter: LowPassFilter2p: constrain cuttoff to 40% of sample rate 2023-10-10 08:26:05 +09:00
LowPassFilter2p.h
ModeFilter.cpp Filter: implement 3 element mode filter 2023-03-01 18:22:22 +11:00
ModeFilter.h
NotchFilter.cpp Filter: protect against extremely low notch filter frequencies 2023-11-03 08:08:31 +11:00
NotchFilter.h Flter: notchfilter: remove unneeded value and pre-multiply for speed 2023-10-17 10:03:43 +11:00
SlewCalculator2D.cpp Filter: add SlewCalculator2D 2023-08-01 09:16:17 +10:00
SlewCalculator2D.h Filter: add SlewCalculator2D 2023-08-01 09:16:17 +10:00
SlewLimiter.cpp Filter: SlewLimiter definitions moved to cpp 2023-08-01 09:16:17 +10:00
SlewLimiter.h Filter: SlewLimiter definitions moved to cpp 2023-08-01 09:16:17 +10:00