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
AverageFilter.h
Butter.h
DerivativeFilter.cpp
DerivativeFilter.h
Filter.h
FilterClass.h
FilterWithBuffer.h
HarmonicNotchFilter.cpp
HarmonicNotchFilter.h
LowPassFilter.cpp
LowPassFilter.h
LowPassFilter2p.cpp
LowPassFilter2p.h
ModeFilter.cpp
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
SlewCalculator2D.h
SlewLimiter.cpp
SlewLimiter.h