ardupilot/libraries/Filter
Andrew Tridgell 1727d9a5be 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
2024-01-07 10:59:28 +11:00
..
examples
tests
AverageFilter.h
Butter.h
DerivativeFilter.cpp
DerivativeFilter.h
Filter.h
FilterClass.h
FilterWithBuffer.h
HarmonicNotchFilter.cpp Filter: HarmonicNotch: update FREQ description 2023-03-15 18:53:55 +11:00
HarmonicNotchFilter.h
LowPassFilter2p.cpp
LowPassFilter2p.h
LowPassFilter.cpp
LowPassFilter.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 2024-01-07 10:59:28 +11:00
NotchFilter.h
SlewCalculator2D.cpp Filter: add SlewCalculator2D 2024-01-07 10:59:26 +11:00
SlewCalculator2D.h Filter: add SlewCalculator2D 2024-01-07 10:59:26 +11:00
SlewLimiter.cpp Filter: SlewLimiter definitions moved to cpp 2024-01-07 10:59:26 +11:00
SlewLimiter.h Filter: SlewLimiter definitions moved to cpp 2024-01-07 10:59:26 +11:00