35#include <wpi/hardware/bus/CANPort.hpp>
Definition ServoChannel.h:42
Definition ServoHubLowLevel.h:42
rev::util::Signal< PeriodicStatus4 > GetPeriodicStatus4() const
Definition ServoHubLowLevel.cpp:231
void SetControlFramePeriodMs(int period_ms)
Definition ServoHubLowLevel.cpp:112
std::string GetFirmwareVersionString() const
Definition ServoHubLowLevel.cpp:88
CommunicationMode
Definition ServoHubLowLevel.h:142
void SetCANMaxRetries(int numRetries)
Definition ServoHubLowLevel.cpp:107
int GetDeviceId() const
Definition ServoHubLowLevel.cpp:76
rev::util::Signal< PeriodicStatus0 > GetPeriodicStatus0() const
Definition ServoHubLowLevel.cpp:121
virtual ~ServoHubLowLevel()
Definition ServoHubLowLevel.cpp:67
ServoHubLowLevel(wpi::CANPort canPort, int deviceID)
Definition ServoHubLowLevel.cpp:41
REVLibError SetCANTimeout(int timeout_ms)
Definition ServoHubLowLevel.cpp:101
rev::util::Signal< PeriodicStatus1 > GetPeriodicStatus1() const
Definition ServoHubLowLevel.cpp:142
FirmwareVersion GetFirmwareVersion() const
Definition ServoHubLowLevel.cpp:78
int GetControlFramePeriodMs() const
Definition ServoHubLowLevel.cpp:116
rev::util::Signal< PeriodicStatus2 > GetPeriodicStatus2() const
Definition ServoHubLowLevel.cpp:189
void SetPeriodicFrameTimeout(int timeout_ms)
Definition ServoHubLowLevel.cpp:96
wpi::CANPort GetCanPort() const
Definition ServoHubLowLevel.cpp:72
void CreateSimFaultManager()
Definition ServoHubLowLevel.cpp:249
void * m_servoHubHandle
Definition ServoHubLowLevel.h:239
rev::util::Signal< PeriodicStatus3 > GetPeriodicStatus3() const
Definition ServoHubLowLevel.cpp:210
Definition ServoHubSimFaultManager.h:40
Definition ServoChannelConfig.h:34
REVLibError
Definition REVLibError.h:33
Definition ServoHubLowLevel.h:67
uint8_t firmwareFix
Definition ServoHubLowLevel.h:68
uint8_t firmwareYear
Definition ServoHubLowLevel.h:70
uint8_t hardwareMajor
Definition ServoHubLowLevel.h:72
uint8_t firmwareMinor
Definition ServoHubLowLevel.h:69
uint8_t hardwareMinor
Definition ServoHubLowLevel.h:71
Definition ServoHubLowLevel.h:144
bool programmingEnabled
Definition ServoHubLowLevel.h:151
uint64_t timestamp
Definition ServoHubLowLevel.h:153
bool primaryHeartbeatLock
Definition ServoHubLowLevel.h:148
double deviceCurrent
Definition ServoHubLowLevel.h:147
bool activelyProgramming
Definition ServoHubLowLevel.h:152
double voltage
Definition ServoHubLowLevel.h:145
CommunicationMode communicationMode
Definition ServoHubLowLevel.h:150
double servoVoltage
Definition ServoHubLowLevel.h:146
bool systemEnabled
Definition ServoHubLowLevel.h:149
Definition ServoHubLowLevel.h:157
bool stickyChannel3Overcurrent
Definition ServoHubLowLevel.h:183
bool stickyBrownout
Definition ServoHubLowLevel.h:173
bool regulatorPowerGoodFault
Definition ServoHubLowLevel.h:158
bool channel5Overcurrent
Definition ServoHubLowLevel.h:171
bool brownout
Definition ServoHubLowLevel.h:159
bool stickyCanBusOff
Definition ServoHubLowLevel.h:175
bool hardwareFault
Definition ServoHubLowLevel.h:162
bool stickyRegulatorPowerGoodFault
Definition ServoHubLowLevel.h:172
bool stickyCanWarning
Definition ServoHubLowLevel.h:174
bool stickyChannel4Overcurrent
Definition ServoHubLowLevel.h:184
bool stickyChannel1Overcurrent
Definition ServoHubLowLevel.h:181
bool stickyHasReset
Definition ServoHubLowLevel.h:178
bool channel3Overcurrent
Definition ServoHubLowLevel.h:169
bool channel2Overcurrent
Definition ServoHubLowLevel.h:168
bool lowBatteryFault
Definition ServoHubLowLevel.h:165
bool stickyChannel2Overcurrent
Definition ServoHubLowLevel.h:182
bool channel0Overcurrent
Definition ServoHubLowLevel.h:166
bool channel4Overcurrent
Definition ServoHubLowLevel.h:170
bool canBusOff
Definition ServoHubLowLevel.h:161
bool stickyChannel5Overcurrent
Definition ServoHubLowLevel.h:185
bool stickyLowBatteryFault
Definition ServoHubLowLevel.h:179
uint64_t timestamp
Definition ServoHubLowLevel.h:186
bool channel1Overcurrent
Definition ServoHubLowLevel.h:167
bool canWarning
Definition ServoHubLowLevel.h:160
bool stickyFirmwareFault
Definition ServoHubLowLevel.h:177
bool hasReset
Definition ServoHubLowLevel.h:164
bool stickyHardwareFault
Definition ServoHubLowLevel.h:176
bool stickyChannel0Overcurrent
Definition ServoHubLowLevel.h:180
bool firmwareFault
Definition ServoHubLowLevel.h:163
Definition ServoHubLowLevel.h:190
uint16_t channel2PulseWidth
Definition ServoHubLowLevel.h:193
bool channel2OutOfRange
Definition ServoHubLowLevel.h:199
bool channel1Enabled
Definition ServoHubLowLevel.h:195
uint16_t channel1PulseWidth
Definition ServoHubLowLevel.h:192
bool channel2Enabled
Definition ServoHubLowLevel.h:196
uint16_t channel0PulseWidth
Definition ServoHubLowLevel.h:191
bool channel0OutOfRange
Definition ServoHubLowLevel.h:197
bool channel1OutOfRange
Definition ServoHubLowLevel.h:198
uint64_t timestamp
Definition ServoHubLowLevel.h:200
bool channel0Enabled
Definition ServoHubLowLevel.h:194
Definition ServoHubLowLevel.h:204
bool channel3OutOfRange
Definition ServoHubLowLevel.h:211
uint16_t channel5PulseWidth
Definition ServoHubLowLevel.h:207
bool channel5Enabled
Definition ServoHubLowLevel.h:210
uint16_t channel3PulseWidth
Definition ServoHubLowLevel.h:205
bool channel5OutOfRange
Definition ServoHubLowLevel.h:213
bool channel4OutOfRange
Definition ServoHubLowLevel.h:212
bool channel4Enabled
Definition ServoHubLowLevel.h:209
uint16_t channel4PulseWidth
Definition ServoHubLowLevel.h:206
uint64_t timestamp
Definition ServoHubLowLevel.h:214
bool channel3Enabled
Definition ServoHubLowLevel.h:208
Definition ServoHubLowLevel.h:218
double channel0Current
Definition ServoHubLowLevel.h:219
double channel5Current
Definition ServoHubLowLevel.h:224
uint64_t timestamp
Definition ServoHubLowLevel.h:225
double channel3Current
Definition ServoHubLowLevel.h:222
double channel2Current
Definition ServoHubLowLevel.h:221
double channel1Current
Definition ServoHubLowLevel.h:220
double channel4Current
Definition ServoHubLowLevel.h:223