ardupilot/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 AP_Math: Cleaned macro definitions 2016-02-27 02:51:33 -03:00
AverageFilter.h Filter: add AverageFilter variant to save current sum 2016-05-10 14:24:59 -03:00
Butter.h Filter: replace header guard with pragma once 2016-02-18 14:52:35 -02:00
DerivativeFilter.cpp Filter: standardize inclusion of libaries headers 2015-08-11 16:38:24 +10:00
DerivativeFilter.h Filter: replace header guard with pragma once 2016-02-18 14:52:35 -02:00
Filter.h Filter: replace header guard with pragma once 2016-02-18 14:52:35 -02:00
FilterClass.h Filter: replace header guard with pragma once 2016-02-18 14:52:35 -02:00
FilterWithBuffer.h Filter: replace header guard with pragma once 2016-02-18 14:52:35 -02:00
LowPassFilter.cpp AP_Math: Cleaned macro definitions 2016-02-27 02:51:33 -03:00
LowPassFilter.h Filter: replace header guard with pragma once 2016-02-18 14:52:35 -02:00
LowPassFilter2p.cpp AP_Math: Cleaned macro definitions 2016-02-27 02:51:33 -03:00
LowPassFilter2p.h Global: start using cmath instead of math.h 2016-04-05 21:06:19 -07:00
ModeFilter.h Filter: replace header guard with pragma once 2016-02-18 14:52:35 -02:00
keywords.txt Filter - added AverageFilter, removed SumFilter 2012-02-28 21:01:11 +09:00