MIRA
Public Types | Public Member Functions | Public Attributes | List of all members
PersistentError Class Reference

A persistent stored (hardware) error. More...

#include <PersistentError.h>

Public Types

enum  Type { WARNING = 0x00, ERROR = 0x01 }
 

Public Member Functions

 PersistentError ()
 The default constructor. More...
 
template<typename Reflector >
void reflect (Reflector &r)
 The reflect method. More...
 

Public Attributes

uint16 powerupCounter
 The Power-Up counter at time of the error. More...
 
Time unixTime
 The Unix time of the error. More...
 
uint8 nodeID
 The node ID of the error source. More...
 
Type type
 The error type. More...
 
uint16 emergencyCode
 The emergency code. More...
 
uint8 errorRegister
 The error register. More...
 
uint32 code
 The error code. More...
 
uint32 globalCounter
 The 10ms counter at time of the error. More...
 
float accu24VVoltage
 Voltage of the battery at time of the error. More...
 
float accuMinVoltage
 Minimum voltage of battery during the last seconds. More...
 
float accuCurrent
 Current of the battery at time of the error. More...
 
float accuMaxCurrent
 Maximum current during the last seconds. More...
 
float accuLoadVoltage
 Output voltage of the charger at time of error. More...
 
float accuVoltageExtCh
 Input voltage from external charger at time of the error. More...
 
float accuCurrentExtCh
 Input current from external charger at time of the error. More...
 
float accuVoltageIntCh
 Input voltage from internal charger at time of the error. More...
 
float accuCurrentIntCh
 Input current from internal charger at time of the error. More...
 
uint8 accuStatus
 Flags of charger at time of the error. More...
 
uint8 embeddedPCStatus
 Flags of embedded PC at time of the error. More...
 
Velocity2 requestedVelocity
 Requested velocity at time of error. More...
 
uint16 requestedVelocityTime
 Timestamp of requested velocity at time of the error. More...
 
Velocity2 currentVelocity
 Current velocity at time of error. More...
 
uint16 currentVelocityTime
 Timestamp of current velocity at time of the error. More...
 
float cellVoltage [8]
 Cell voltage of cell 0..7. More...
 
std::string message
 The error message. More...
 

Detailed Description

A persistent stored (hardware) error.

Member Enumeration Documentation

◆ Type

enum Type
Enumerator
WARNING 
ERROR 

Constructor & Destructor Documentation

◆ PersistentError()

PersistentError ( )
inline

The default constructor.

Member Function Documentation

◆ reflect()

void reflect ( Reflector &  r)
inline

The reflect method.

Member Data Documentation

◆ powerupCounter

uint16 powerupCounter

The Power-Up counter at time of the error.

◆ unixTime

Time unixTime

The Unix time of the error.

◆ nodeID

uint8 nodeID

The node ID of the error source.

◆ type

Type type

The error type.

◆ emergencyCode

uint16 emergencyCode

The emergency code.

◆ errorRegister

uint8 errorRegister

The error register.

◆ code

uint32 code

The error code.

◆ globalCounter

uint32 globalCounter

The 10ms counter at time of the error.

◆ accu24VVoltage

float accu24VVoltage

Voltage of the battery at time of the error.

◆ accuMinVoltage

float accuMinVoltage

Minimum voltage of battery during the last seconds.

◆ accuCurrent

float accuCurrent

Current of the battery at time of the error.

◆ accuMaxCurrent

float accuMaxCurrent

Maximum current during the last seconds.

◆ accuLoadVoltage

float accuLoadVoltage

Output voltage of the charger at time of error.

◆ accuVoltageExtCh

float accuVoltageExtCh

Input voltage from external charger at time of the error.

◆ accuCurrentExtCh

float accuCurrentExtCh

Input current from external charger at time of the error.

◆ accuVoltageIntCh

float accuVoltageIntCh

Input voltage from internal charger at time of the error.

◆ accuCurrentIntCh

float accuCurrentIntCh

Input current from internal charger at time of the error.

◆ accuStatus

uint8 accuStatus

Flags of charger at time of the error.

◆ embeddedPCStatus

uint8 embeddedPCStatus

Flags of embedded PC at time of the error.

◆ requestedVelocity

Velocity2 requestedVelocity

Requested velocity at time of error.

◆ requestedVelocityTime

uint16 requestedVelocityTime

Timestamp of requested velocity at time of the error.

◆ currentVelocity

Velocity2 currentVelocity

Current velocity at time of error.

◆ currentVelocityTime

uint16 currentVelocityTime

Timestamp of current velocity at time of the error.

◆ cellVoltage

float cellVoltage[8]

Cell voltage of cell 0..7.

Depends on battery.

◆ message

std::string message

The error message.


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