DUNE: Uniform Navigational Environment
2016.05.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 DUNE::Navigation::StreamEstimator::consume(), DUNE::Math::MovingAverage< float >::MovingAverage(), and Sensors::SW100::Task::task().
|
inline |
Extract mean value of the sample.
Referenced by DUNE::Navigation::BasicNavigation::consume(), Monitors::FuelLevel::BatteryData::getCurrent(), Monitors::FuelLevel::BatteryData::getEnergyDrop(), Supervisors::ClockPPS::LinuxPPS::getOffset(), Monitors::FuelLevel::BatteryData::getTemperature(), Monitors::FuelLevel::BatteryData::getVoltage(), and DUNE::Math::MovingAverage< float >::stdev().
|
inline |
Know size of sample.
Referenced by DUNE::Navigation::StreamEstimator::consume(), 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().
|
inline |
Update sample with new value.
Referenced by DUNE::Navigation::StreamEstimator::consume(), Monitors::CPU::Task::consume(), Monitors::Clock::Task::consume(), DUNE::Navigation::BasicNavigation::consume(), Monitors::Collisions::Task::consume(), Control::ROV::RemoteOperation::Task::consume(), DUNE::Monitors::VerticalMonitor::isProgressSlow(), Navigation::AUV::Navigation::Task::logData(), DUNE::Navigation::BasicNavigation::onDispatchNavigation(), Supervisors::ClockPPS::LinuxPPS::reset(), Simulators::Motor::Task::task(), Sensors::SW100::Task::task(), and Monitors::FuelLevel::BatteryData::update().