DUNE: Uniform Navigational Environment
2.5.1
|
Public Member Functions | |
MultiMovingAverage (const std::vector< unsigned > &window_sizes) | |
void | clear (void) |
void | insertSample (const T &value) |
void | update (const T &value) |
T | mean (unsigned j) |
|
inline |
Constructor.
[in] | window_sizes | sizes of the moving average windows |
|
inline |
Clear sample.
Referenced by DUNE::Math::MultiMovingAverage< float >::MultiMovingAverage(), and DUNE::Control::CoarseAltitude::reset().
|
inline |
Insert new sample.
[in] | value | new sample |
Referenced by DUNE::Math::MultiMovingAverage< float >::update().
|
inline |
Extract mean value of a moving average.
[in] | j | index of the moving average to be used |
Referenced by DUNE::Control::CoarseAltitude::update().
|
inline |
Update sample with new value.
[in] | value | new value. |
Referenced by DUNE::Control::CoarseAltitude::update().