43 #ifndef _MLAB_PERSISTENTERROR_H_ 44 #define _MLAB_PERSISTENTERROR_H_ 46 namespace mira {
namespace robot {
88 template <
typename Reflector>
93 r.member(
"NodeID",
nodeID,
"");
94 r.member(
"Type",
type,
"");
97 r.member(
"Code",
code,
"");
116 r.member(
"Message",
message,
"");
Definition: PersistentError.h:56
Velocity2 requestedVelocity
Requested velocity at time of error.
Definition: PersistentError.h:138
uint16 requestedVelocityTime
Timestamp of requested velocity at time of the error.
Definition: PersistentError.h:139
Velocity2 currentVelocity
Current velocity at time of error.
Definition: PersistentError.h:140
float accuLoadVoltage
Output voltage of the charger at time of error.
Definition: PersistentError.h:131
uint8 accuStatus
Flags of charger at time of the error.
Definition: PersistentError.h:136
uint16 powerupCounter
The Power-Up counter at time of the error.
Definition: PersistentError.h:119
void reflect(Reflector &r)
The reflect method.
Definition: PersistentError.h:89
float accuCurrentExtCh
Input current from external charger at time of the error.
Definition: PersistentError.h:133
float accuVoltageIntCh
Input voltage from internal charger at time of the error.
Definition: PersistentError.h:134
uint32 code
The error code.
Definition: PersistentError.h:125
std::string message
The error message.
Definition: PersistentError.h:143
uint8 embeddedPCStatus
Flags of embedded PC at time of the error.
Definition: PersistentError.h:137
Time unixTime
The Unix time of the error.
Definition: PersistentError.h:120
Type type
The error type.
Definition: PersistentError.h:122
float accu24VVoltage
Voltage of the battery at time of the error.
Definition: PersistentError.h:127
float accuMaxCurrent
Maximum current during the last seconds.
Definition: PersistentError.h:130
float accuCurrent
Current of the battery at time of the error.
Definition: PersistentError.h:129
float accuVoltageExtCh
Input voltage from external charger at time of the error.
Definition: PersistentError.h:132
A persistent stored (hardware) error.
Definition: PersistentError.h:51
float accuMinVoltage
Minimum voltage of battery during the last seconds.
Definition: PersistentError.h:128
Definition: PersistentError.h:57
float accuCurrentIntCh
Input current from internal charger at time of the error.
Definition: PersistentError.h:135
uint8 errorRegister
The error register.
Definition: PersistentError.h:124
uint16 emergencyCode
The emergency code.
Definition: PersistentError.h:123
uint32 globalCounter
The 10ms counter at time of the error.
Definition: PersistentError.h:126
uint16 currentVelocityTime
Timestamp of current velocity at time of the error.
Definition: PersistentError.h:141
uint8 nodeID
The node ID of the error source.
Definition: PersistentError.h:121
PersistentError()
The default constructor.
Definition: PersistentError.h:61
float cellVoltage[8]
Cell voltage of cell 0..7.
Definition: PersistentError.h:142
Type
Definition: PersistentError.h:54