SensorValueBattery Class Reference

#include <RobotAPI/components/units/RobotUnit/SensorValues/SensorValueBattery.h>

+ Inheritance diagram for SensorValueBattery:

Static Public Member Functions

static SensorValueInfo< SensorValueBatteryGetClassMemberInfo ()
 

Public Attributes

float current_A
 
float designEnergy_Wh
 
float energy_Wh
 
float energyFromFullCharge_pct
 
float fullChargeEnergy_Wh
 
float fullEnergyFromDesignEnergy_pct
 
bool hasError
 
float power_W
 
float ratedVoltage_V
 
float remainingTime_h
 
DETAIL_SensorValueBase_DEFAULT_METHOD_IMPLEMENTATION std::uint8_t state
 
float temperature_degC
 
float voltage_V
 

Additional Inherited Members

- Public Types inherited from SensorValueBase
template<class DerivedClass >
using SensorValueInfo = introspection::ClassMemberInfo< SensorValueBase, DerivedClass >
 
- Public Member Functions inherited from SensorValueBase
template<class T , class = typename std::enable_if<std::is_base_of<SensorValueBase, T>::value>::type>
void _copyTo (std::unique_ptr< T > &target) const
 
 ARMARX_META_MAKE_HAS_MEMBER_FNC_CHECK (SensorValueHasGetClassMemberInfo, GetClassMemberInfo, SensorValueInfo< T >(*)(void))
 
template<class T >
TasA ()
 
template<class T >
const TasA () const
 
template<class T >
T getDataFieldAs (std::size_t i) const
 
virtual void getDataFieldAs (std::size_t i, bool &out) const =0
 
virtual void getDataFieldAs (std::size_t i, Ice::Byte &out) const =0
 
virtual void getDataFieldAs (std::size_t i, Ice::Double &out) const =0
 
virtual void getDataFieldAs (std::size_t i, Ice::Float &out) const =0
 
virtual void getDataFieldAs (std::size_t i, Ice::Int &out) const =0
 
virtual void getDataFieldAs (std::size_t i, Ice::Long &out) const =0
 
virtual void getDataFieldAs (std::size_t i, Ice::Short &out) const =0
 
virtual void getDataFieldAs (std::size_t i, std::string &out) const =0
 
virtual std::vector< std::string > getDataFieldNames () const =0
 
virtual const std::type_info & getDataFieldType (std::size_t i) const =0
 
virtual std::size_t getNumberOfDataFields () const =0
 
virtual std::string getSensorValueType (bool withoutNamespaceSpecifier) const =0
 
template<class... Ts>
bool isA () const
 
virtual std::map< std::string, VariantBasePtrtoVariants (const IceUtil::Time &timestamp) const =0
 used to send the data to the DebugObserverTopic and to other Components (e.g. GUI widgets) More...
 
virtual ~SensorValueBase ()=default
 

Detailed Description

Definition at line 19 of file SensorValueBattery.h.

Member Function Documentation

◆ GetClassMemberInfo()

static SensorValueInfo<SensorValueBattery> GetClassMemberInfo ( )
inlinestatic

Definition at line 39 of file SensorValueBattery.h.

+ Here is the call graph for this function:

Member Data Documentation

◆ current_A

float current_A

Definition at line 33 of file SensorValueBattery.h.

◆ designEnergy_Wh

float designEnergy_Wh

Definition at line 25 of file SensorValueBattery.h.

◆ energy_Wh

float energy_Wh

Definition at line 27 of file SensorValueBattery.h.

◆ energyFromFullCharge_pct

float energyFromFullCharge_pct

Definition at line 28 of file SensorValueBattery.h.

◆ fullChargeEnergy_Wh

float fullChargeEnergy_Wh

Definition at line 26 of file SensorValueBattery.h.

◆ fullEnergyFromDesignEnergy_pct

float fullEnergyFromDesignEnergy_pct

Definition at line 29 of file SensorValueBattery.h.

◆ hasError

bool hasError

Definition at line 36 of file SensorValueBattery.h.

◆ power_W

float power_W

Definition at line 34 of file SensorValueBattery.h.

◆ ratedVoltage_V

float ratedVoltage_V

Definition at line 31 of file SensorValueBattery.h.

◆ remainingTime_h

float remainingTime_h

Definition at line 35 of file SensorValueBattery.h.

◆ state

Definition at line 24 of file SensorValueBattery.h.

◆ temperature_degC

float temperature_degC

Definition at line 30 of file SensorValueBattery.h.

◆ voltage_V

float voltage_V

Definition at line 32 of file SensorValueBattery.h.


The documentation for this class was generated from the following file: