Ardupilot2/libraries/Filter
Lucas De Marchi 18f1f8bea8 Filter: add AverageFilter variant to save current sum
When the the variable in which we are saving the current sum is of
integral type we can use a much more optimized apply() method: instead
of looping the entire number of samples adding them up, we always keep
the current sum in a member.  It also allows the caller to decide the
type it wants to use to get the average: this may be dictated by another
interface it uses or it may want to avoid the implicit truncate in the
return of apply().
2016-05-10 14:24:59 -03:00
..
examples
AverageFilter.h
Butter.h
DerivativeFilter.cpp
DerivativeFilter.h
Filter.h
FilterClass.h
FilterWithBuffer.h
keywords.txt
LowPassFilter2p.cpp
LowPassFilter2p.h
LowPassFilter.cpp
LowPassFilter.h
ModeFilter.h