-
Notifications
You must be signed in to change notification settings - Fork 79
Expand file tree
/
Copy pathActiveErrors.msg
More file actions
26 lines (25 loc) · 913 Bytes
/
ActiveErrors.msg
File metadata and controls
26 lines (25 loc) · 913 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Note that this is a bit-wise accumulation of errors, where each active bit represents one specific error type
uint32 errors
# Active Error types
uint32 INITIALIZING = 0x1
uint32 SYSTEM_LEVEL = 0x2
uint32 TIMING_ERROR = 0x4
uint32 MISSING_ESTIMATE = 0x8
uint32 BAD_CONFIG = 0x10
uint32 DRV_FAULT = 0x20
uint32 MISSING_INPUT = 0x40
uint32 DC_BUS_OVER_VOLTAGE = 0x100
uint32 DC_BUS_UNDER_VOLTAGE = 0x200
uint32 DC_BUS_OVER_CURRENT = 0x400
uint32 DC_BUS_OVER_REGEN_CURRENT = 0x800
uint32 CURRENT_LIMITATION_VIOLATION = 0x1000
uint32 MOTOR_OVER_TEMP = 0x2000
uint32 INVERTER_OVER_TEMP = 0x4000
uint32 VELOCITY_LIMIT_VIOLATION = 0x8000
uint32 POSITION_LIMIT_VIOLATION = 0x10000
uint32 WATCHDOG_TIMER_EXPIRED = 0x1000000
uint32 ESTOP_REQUESTED = 0x2000000
uint32 SPINOUT_DETECTED = 0x4000000
uint32 BRAKE_RESISTOR_DISARMED = 0x8000000
uint32 THERMISTOR_DISCONNECTED = 0x10000000
uint32 CALIBRATION_ERROR = 0x40000000