DUNE: Uniform Navigational Environment  2019.02.1
Power::BATMANv2::Arguments Struct Reference

Public Attributes

std::string uart_dev
 
unsigned uart_baud
 
double input_timeout
 
unsigned int number_cell
 
float scale_factor
 
std::string cell_elabels [c_max_values_voltage-1]
 
std::string rcap_elabel
 
std::string fcap_elabel
 
bool dispatch_fuel_level
 
float war_lvl
 
float err_lvl
 
float err_volt_lvl
 
int number_attempts
 

Member Data Documentation

std::string Power::BATMANv2::Arguments::cell_elabels[c_max_values_voltage-1]
bool Power::BATMANv2::Arguments::dispatch_fuel_level

State to dispatch Feul level.

Referenced by Power::BATMANv2::Task::dispatchData(), and Power::BATMANv2::Task::Task().

float Power::BATMANv2::Arguments::err_lvl

Level of battery below which an error will be thrown.

Referenced by Power::BATMANv2::Task::dispatchData(), and Power::BATMANv2::Task::Task().

float Power::BATMANv2::Arguments::err_volt_lvl

Level of battery (VOltage) below which an error will be thrown.

Referenced by Power::BATMANv2::Task::dispatchData(), and Power::BATMANv2::Task::Task().

std::string Power::BATMANv2::Arguments::fcap_elabel

Full Capacity entity label.

Referenced by Power::BATMANv2::Task::onEntityReservation(), and Power::BATMANv2::Task::Task().

double Power::BATMANv2::Arguments::input_timeout
int Power::BATMANv2::Arguments::number_attempts

Number of attempts before error.

Referenced by Power::BATMANv2::Task::onMain(), and Power::BATMANv2::Task::Task().

std::string Power::BATMANv2::Arguments::rcap_elabel

Remaining Capacity entity label.

Referenced by Power::BATMANv2::Task::onEntityReservation(), and Power::BATMANv2::Task::Task().

float Power::BATMANv2::Arguments::scale_factor

Scale conversion for A/Ah.

Referenced by Power::BATMANv2::Task::initBoard(), and Power::BATMANv2::Task::Task().

unsigned Power::BATMANv2::Arguments::uart_baud
std::string Power::BATMANv2::Arguments::uart_dev
float Power::BATMANv2::Arguments::war_lvl

Level of battery below which a warning will be thrown.

Referenced by Power::BATMANv2::Task::dispatchData(), and Power::BATMANv2::Task::Task().

Collaboration diagram for Power::BATMANv2::Arguments:
Collaboration graph