APM:Libraries
|
#include <AverageFilter.h>
Public Member Functions | |
AverageFilter () | |
virtual T | apply (T sample) |
virtual void | reset () |
![]() | |
FilterWithBuffer () | |
uint8_t | get_filter_size () const |
T | get_sample (uint8_t i) const |
Protected Attributes | |
uint8_t | _num_samples |
![]() | |
T | samples [FILTER_SIZE] |
uint8_t | sample_index |
Definition at line 28 of file AverageFilter.h.
|
inline |
Definition at line 32 of file AverageFilter.h.
|
virtual |
Reimplemented from FilterWithBuffer< T, FILTER_SIZE >.
Reimplemented in AverageIntegralFilter< T, U, FILTER_SIZE >, and AverageIntegralFilter< int32_t, int32_t, 10 >.
Definition at line 79 of file AverageFilter.h.
Referenced by AverageFilter< int32_t, int32_t, FILTER_SIZE >::AverageFilter(), readTemp(), and AP_TECS::update_50hz().
|
virtual |
Reimplemented from FilterWithBuffer< T, FILTER_SIZE >.
Definition at line 100 of file AverageFilter.h.
Referenced by AverageFilter< int32_t, int32_t, FILTER_SIZE >::AverageFilter().
|
protected |
Definition at line 43 of file AverageFilter.h.
Referenced by AverageFilter< int32_t, int32_t, FILTER_SIZE >::apply(), AverageIntegralFilter< int32_t, int32_t, 10 >::apply(), AverageIntegralFilter< int32_t, int32_t, 10 >::getd(), AverageIntegralFilter< int32_t, int32_t, 10 >::getf(), and AverageFilter< int32_t, int32_t, FILTER_SIZE >::reset().