2018-08-07 10:42:32 -03:00
|
|
|
uint64 timestamp # time since system start (microseconds)
|
2015-05-25 14:14:48 -03:00
|
|
|
uint32 esc_errorcount # Number of reported errors by ESC - if supported
|
|
|
|
int32 esc_rpm # Motor RPM, negative for reverse rotation [RPM] - if supported
|
|
|
|
float32 esc_voltage # Voltage measured from current ESC [V] - if supported
|
|
|
|
float32 esc_current # Current measured from current ESC [A] - if supported
|
2021-08-19 09:41:06 -03:00
|
|
|
float32 esc_temperature # Temperature measured from current ESC [degC] - if supported
|
2019-10-14 08:39:34 -03:00
|
|
|
uint8 esc_address # Address of current ESC (in most cases 1-8 / must be set by driver)
|
2020-04-02 09:46:55 -03:00
|
|
|
|
2019-09-02 13:20:01 -03:00
|
|
|
uint8 esc_state # State of ESC - depend on Vendor
|
2020-04-02 09:46:55 -03:00
|
|
|
|
2022-01-24 06:20:27 -04:00
|
|
|
uint8 actuator_function # actuator output function (one of Motor1...MotorN)
|
|
|
|
|
2021-11-11 14:37:09 -04:00
|
|
|
uint16 failures # Bitmask to indicate the internal ESC faults
|
2020-04-02 09:46:55 -03:00
|
|
|
|
2021-11-11 14:37:09 -04:00
|
|
|
uint8 FAILURE_OVER_CURRENT = 0 # (1 << 0)
|
|
|
|
uint8 FAILURE_OVER_VOLTAGE = 1 # (1 << 1)
|
|
|
|
uint8 FAILURE_MOTOR_OVER_TEMPERATURE = 2 # (1 << 2)
|
|
|
|
uint8 FAILURE_OVER_RPM = 3 # (1 << 3)
|
|
|
|
uint8 FAILURE_INCONSISTENT_CMD = 4 # (1 << 4) Set if ESC received an inconsistent command (i.e out of boundaries)
|
|
|
|
uint8 FAILURE_MOTOR_STUCK = 5 # (1 << 5)
|
|
|
|
uint8 FAILURE_GENERIC = 6 # (1 << 6)
|
|
|
|
uint8 FAILURE_MOTOR_WARN_TEMPERATURE = 7 # (1 << 7)
|
|
|
|
uint8 FAILURE_WARN_ESC_TEMPERATURE = 8 # (1 << 8)
|
|
|
|
uint8 FAILURE_OVER_ESC_TEMPERATURE = 9 # (1 << 9)
|
|
|
|
uint8 ESC_FAILURE_COUNT = 10 # Counter - keep it as last element!
|