Definition: ServoHubLowLevel.h:39
ServoHubLowLevel(int busID, int deviceID)
Definition: ServoHubLowLevel.cpp:40
void SetControlFramePeriodMs(int period_ms)
Definition: ServoHubLowLevel.cpp:107
std::string GetFirmwareVersionString() const
Definition: ServoHubLowLevel.cpp:83
CommunicationMode
Definition: ServoHubLowLevel.h:138
void SetCANMaxRetries(int numRetries)
Definition: ServoHubLowLevel.cpp:102
int GetDeviceId() const
Definition: ServoHubLowLevel.cpp:71
PeriodicStatus0 GetPeriodicStatus0() const
Definition: ServoHubLowLevel.cpp:116
virtual ~ServoHubLowLevel()
Definition: ServoHubLowLevel.cpp:65
REVLibError SetCANTimeout(int timeout_ms)
Definition: ServoHubLowLevel.cpp:96
PeriodicStatus4 GetPeriodicStatus4() const
Definition: ServoHubLowLevel.cpp:219
PeriodicStatus2 GetPeriodicStatus2() const
Definition: ServoHubLowLevel.cpp:179
PeriodicStatus3 GetPeriodicStatus3() const
Definition: ServoHubLowLevel.cpp:199
PeriodicStatus1 GetPeriodicStatus1() const
Definition: ServoHubLowLevel.cpp:134
FirmwareVersion GetFirmwareVersion() const
Definition: ServoHubLowLevel.cpp:73
int GetBusId() const
Definition: ServoHubLowLevel.cpp:69
int GetControlFramePeriodMs() const
Definition: ServoHubLowLevel.cpp:111
void SetPeriodicFrameTimeout(int timeout_ms)
Definition: ServoHubLowLevel.cpp:91
void CreateSimFaultManager()
Definition: ServoHubLowLevel.cpp:236
void * m_servoHubHandle
Definition: ServoHubLowLevel.h:231
Definition: ServoHubSimFaultManager.h:40
Definition: ServoChannelConfig.h:34
REVLibError
Definition: REVLibError.h:33
Definition: ServoHubLowLevel.h:63
uint8_t firmwareFix
Definition: ServoHubLowLevel.h:64
uint8_t firmwareYear
Definition: ServoHubLowLevel.h:66
uint8_t hardwareMajor
Definition: ServoHubLowLevel.h:68
uint8_t firmwareMinor
Definition: ServoHubLowLevel.h:65
uint8_t hardwareMinor
Definition: ServoHubLowLevel.h:67
Definition: ServoHubLowLevel.h:140
uint64_t timestamp
Definition: ServoHubLowLevel.h:147
bool primaryHeartbeatLock
Definition: ServoHubLowLevel.h:144
double deviceCurrent
Definition: ServoHubLowLevel.h:143
double voltage
Definition: ServoHubLowLevel.h:141
CommunicationMode communicationMode
Definition: ServoHubLowLevel.h:146
double servoVoltage
Definition: ServoHubLowLevel.h:142
bool systemEnabled
Definition: ServoHubLowLevel.h:145
Definition: ServoHubLowLevel.h:151
bool stickyChannel3Overcurrent
Definition: ServoHubLowLevel.h:175
bool stickyBrownout
Definition: ServoHubLowLevel.h:166
bool regulatorPowerGoodFault
Definition: ServoHubLowLevel.h:152
bool channel5Overcurrent
Definition: ServoHubLowLevel.h:164
bool brownout
Definition: ServoHubLowLevel.h:153
bool stickyCanBusOff
Definition: ServoHubLowLevel.h:168
bool hardwareFault
Definition: ServoHubLowLevel.h:156
bool stickyRegulatorPowerGoodFault
Definition: ServoHubLowLevel.h:165
bool stickyCanWarning
Definition: ServoHubLowLevel.h:167
bool stickyChannel4Overcurrent
Definition: ServoHubLowLevel.h:176
bool stickyChannel1Overcurrent
Definition: ServoHubLowLevel.h:173
bool stickyHasReset
Definition: ServoHubLowLevel.h:171
bool channel3Overcurrent
Definition: ServoHubLowLevel.h:162
bool channel2Overcurrent
Definition: ServoHubLowLevel.h:161
bool stickyChannel2Overcurrent
Definition: ServoHubLowLevel.h:174
bool channel0Overcurrent
Definition: ServoHubLowLevel.h:159
bool channel4Overcurrent
Definition: ServoHubLowLevel.h:163
bool canBusOff
Definition: ServoHubLowLevel.h:155
bool stickyChannel5Overcurrent
Definition: ServoHubLowLevel.h:177
uint64_t timestamp
Definition: ServoHubLowLevel.h:178
bool channel1Overcurrent
Definition: ServoHubLowLevel.h:160
bool canWarning
Definition: ServoHubLowLevel.h:154
bool stickyFirmwareFault
Definition: ServoHubLowLevel.h:170
bool hasReset
Definition: ServoHubLowLevel.h:158
bool stickyHardwareFault
Definition: ServoHubLowLevel.h:169
bool stickyChannel0Overcurrent
Definition: ServoHubLowLevel.h:172
bool firmwareFault
Definition: ServoHubLowLevel.h:157
Definition: ServoHubLowLevel.h:182
uint16_t channel2PulseWidth
Definition: ServoHubLowLevel.h:185
bool channel2OutOfRange
Definition: ServoHubLowLevel.h:191
bool channel1Enabled
Definition: ServoHubLowLevel.h:187
uint16_t channel1PulseWidth
Definition: ServoHubLowLevel.h:184
bool channel2Enabled
Definition: ServoHubLowLevel.h:188
uint16_t channel0PulseWidth
Definition: ServoHubLowLevel.h:183
bool channel0OutOfRange
Definition: ServoHubLowLevel.h:189
bool channel1OutOfRange
Definition: ServoHubLowLevel.h:190
uint64_t timestamp
Definition: ServoHubLowLevel.h:192
bool channel0Enabled
Definition: ServoHubLowLevel.h:186
Definition: ServoHubLowLevel.h:196
bool channel3OutOfRange
Definition: ServoHubLowLevel.h:203
uint16_t channel5PulseWidth
Definition: ServoHubLowLevel.h:199
bool channel5Enabled
Definition: ServoHubLowLevel.h:202
uint16_t channel3PulseWidth
Definition: ServoHubLowLevel.h:197
bool channel5OutOfRange
Definition: ServoHubLowLevel.h:205
bool channel4OutOfRange
Definition: ServoHubLowLevel.h:204
bool channel4Enabled
Definition: ServoHubLowLevel.h:201
uint16_t channel4PulseWidth
Definition: ServoHubLowLevel.h:198
uint64_t timestamp
Definition: ServoHubLowLevel.h:206
bool channel3Enabled
Definition: ServoHubLowLevel.h:200
Definition: ServoHubLowLevel.h:210
double channel0Current
Definition: ServoHubLowLevel.h:211
double channel5Current
Definition: ServoHubLowLevel.h:216
uint64_t timestamp
Definition: ServoHubLowLevel.h:217
double channel3Current
Definition: ServoHubLowLevel.h:214
double channel2Current
Definition: ServoHubLowLevel.h:213
double channel1Current
Definition: ServoHubLowLevel.h:212
double channel4Current
Definition: ServoHubLowLevel.h:215