DUNE: Uniform Navigational Environment
2.4.0
|
Public Member Functions | |
MovingAverage (unsigned window_size) | |
void | clear (void) |
T | update (const T &value) |
T | mean (void) |
T | stdev (void) |
unsigned | sampleSize (void) |
|
inline |
|
inline |
Clear sample.
Referenced by Sensors::SW100::Task::consume(), and DUNE::Math::MovingAverage< float >::MovingAverage().
|
inline |
Extract mean value of the sample.
Referenced by DUNE::Navigation::BasicNavigation::consume(), Monitors::FuelLevel::BatteryData::getCurrent(), Monitors::FuelLevel::BatteryData::getEnergyDrop(), Monitors::FuelLevel::BatteryData::getTemperature(), Monitors::FuelLevel::BatteryData::getVoltage(), and DUNE::Math::MovingAverage< float >::stdev().
|
inline |
Know size of sample.
Referenced by DUNE::Navigation::BasicNavigation::consume(), DUNE::Math::MovingAverage< float >::mean(), DUNE::Math::MovingAverage< float >::stdev(), and DUNE::Math::MovingAverage< float >::update().
|
inline |
Extract standard deviation of the sample.
Referenced by Monitors::Collisions::Task::consume(), and Navigation::General::Alignment::Task::consume().
|
inline |
Update sample with new value.
Referenced by Maneuver::Elevator::Task::checkVerticalProgress(), Monitors::CPU::Task::consume(), Monitors::Clock::Task::consume(), DUNE::Navigation::BasicNavigation::consume(), Monitors::Collisions::Task::consume(), Navigation::General::Alignment::Task::consume(), Navigation::AUV::SGNavigation::Task::logData(), DUNE::Navigation::BasicNavigation::onDispatchNavigation(), Simulators::Motor::Task::task(), Sensors::SW100::Task::task(), and Monitors::FuelLevel::BatteryData::update().