APM:Libraries
|
#include <AverageFilter.h>
Public Member Functions | |
virtual T | apply (T sample) override |
virtual float | getf () |
virtual double | getd () |
Public Member Functions inherited from AverageFilter< T, U, FILTER_SIZE > | |
AverageFilter () | |
virtual void | reset () |
Public Member Functions inherited from FilterWithBuffer< T, FILTER_SIZE > | |
FilterWithBuffer () | |
uint8_t | get_filter_size () const |
T | get_sample (uint8_t i) const |
Protected Attributes | |
U | _sum = 0 |
Protected Attributes inherited from AverageFilter< T, U, FILTER_SIZE > | |
uint8_t | _num_samples |
Protected Attributes inherited from FilterWithBuffer< T, FILTER_SIZE > | |
T | samples [FILTER_SIZE] |
uint8_t | sample_index |
Definition at line 118 of file AverageFilter.h.
|
overridevirtual |
Reimplemented from AverageFilter< T, U, FILTER_SIZE >.
Definition at line 139 of file AverageFilter.h.
Referenced by AP_Baro_BMP085::_calculate().
|
virtual |
Definition at line 170 of file AverageFilter.h.
|
virtual |
Definition at line 160 of file AverageFilter.h.
Referenced by AP_Baro_BMP085::update().
|
protected |
Definition at line 135 of file AverageFilter.h.