DUNE: Uniform Navigational Environment  2.3.0
Monitors::FuelLevel::Arguments Struct Reference

Public Attributes

unsigned avg_win [BatteryData::BM_TOTAL]
 
std::string elb [BatteryData::BM_TOTAL]
 
float full_capacity
 
unsigned min_samples
 
float decay_factor
 
BatteryModel models [MDL_TOTAL]
 
float rated_temp
 
std::vector< std::string > op_labels
 
std::vector< float > op_values
 
float war_lvl
 
float err_lvl
 
float low_confidence
 
float acceptable_temperature
 

Member Data Documentation

float Monitors::FuelLevel::Arguments::acceptable_temperature

Acceptable temperature level for estimating.

Referenced by Monitors::FuelLevel::Task::Task(), and Monitors::FuelLevel::Task::task().

unsigned Monitors::FuelLevel::Arguments::avg_win[BatteryData::BM_TOTAL]

Number of samples for measures' moving average filter.

Referenced by Monitors::FuelLevel::Task::consume(), Monitors::FuelLevel::Task::onResourceAcquisition(), and Monitors::FuelLevel::Task::Task().

float Monitors::FuelLevel::Arguments::decay_factor

Decay factor given by percentage of actual_capacity/advertised_capacity.

Referenced by Monitors::FuelLevel::Task::computeInitialEstimate(), Monitors::FuelLevel::Task::onUpdateParameters(), and Monitors::FuelLevel::Task::Task().

std::string Monitors::FuelLevel::Arguments::elb[BatteryData::BM_TOTAL]

Entity label for measurement readings.

Referenced by Monitors::FuelLevel::Task::onEntityResolution(), and Monitors::FuelLevel::Task::Task().

float Monitors::FuelLevel::Arguments::err_lvl

Level of battery below which an error will be thrown.

Referenced by Monitors::FuelLevel::Task::Task(), and Monitors::FuelLevel::Task::task().

float Monitors::FuelLevel::Arguments::full_capacity
float Monitors::FuelLevel::Arguments::low_confidence

Value below which fuel estimation is unreliable.

Referenced by Monitors::FuelLevel::Task::Task(), and Monitors::FuelLevel::Task::task().

unsigned Monitors::FuelLevel::Arguments::min_samples

Least amount of samples before an initial estimate is computed.

Referenced by Monitors::FuelLevel::Task::Task(), and Monitors::FuelLevel::Task::task().

std::vector<std::string> Monitors::FuelLevel::Arguments::op_labels
std::vector<float> Monitors::FuelLevel::Arguments::op_values

Corresponding value of power consumption in these modes.

Referenced by Monitors::FuelLevel::Task::onUpdateParameters(), Monitors::FuelLevel::Task::Task(), and Monitors::FuelLevel::Task::task().

float Monitors::FuelLevel::Arguments::rated_temp

Temperature of the optimistic and pessimistic models.

float Monitors::FuelLevel::Arguments::war_lvl

Level of battery below which a warning will be thrown.

Referenced by Monitors::FuelLevel::Task::Task(), and Monitors::FuelLevel::Task::task().

Collaboration diagram for Monitors::FuelLevel::Arguments:
Collaboration graph