iCub-main
|
#include <embObjBattery.h>
Public Member Functions | |
void | decode (eOas_battery_timedvalue_t *data, double timestamp) |
bool | operator== (const CanBatteryData &other) const |
bool | operator!= (const CanBatteryData &other) const |
Public Attributes | |
int16_t | temperature_ {0} |
float32_t | voltage_ {0} |
float32_t | current_ {0} |
float32_t | charge_ {0} |
uint16_t | status_ {0} |
uint16_t | prevStatus_ {0} |
double | timeStamp_ {0} |
std::string | sensorName_ {} |
eObrd_type_t | sensorType_ {eobrd_unknown} |
Definition at line 31 of file embObjBattery.h.
void CanBatteryData::decode | ( | eOas_battery_timedvalue_t * | data, |
double | timestamp | ||
) |
Definition at line 36 of file embObjBattery.cpp.
bool CanBatteryData::operator!= | ( | const CanBatteryData & | other | ) | const |
Definition at line 475 of file embObjBattery.cpp.
bool CanBatteryData::operator== | ( | const CanBatteryData & | other | ) | const |
Definition at line 453 of file embObjBattery.cpp.
float32_t CanBatteryData::charge_ {0} |
Definition at line 37 of file embObjBattery.h.
float32_t CanBatteryData::current_ {0} |
Definition at line 36 of file embObjBattery.h.
uint16_t CanBatteryData::prevStatus_ {0} |
Definition at line 39 of file embObjBattery.h.
std::string CanBatteryData::sensorName_ {} |
Definition at line 41 of file embObjBattery.h.
eObrd_type_t CanBatteryData::sensorType_ {eobrd_unknown} |
Definition at line 42 of file embObjBattery.h.
uint16_t CanBatteryData::status_ {0} |
Definition at line 38 of file embObjBattery.h.
int16_t CanBatteryData::temperature_ {0} |
Definition at line 34 of file embObjBattery.h.
double CanBatteryData::timeStamp_ {0} |
Definition at line 40 of file embObjBattery.h.
float32_t CanBatteryData::voltage_ {0} |
Definition at line 35 of file embObjBattery.h.