mirror of
https://github.com/westonrobot/scout_ros.git
synced 2026-01-12 19:25:01 +08:00
18 lines
607 B
Plaintext
18 lines
607 B
Plaintext
#define DRIVER_STATE_INPUT_VOLTAGE_LOW_MASK ((uint8_t)0x01)
|
|
#define DRIVER_STATE_MOTOR_OVERHEAT_MASK ((uint8_t)0x02)
|
|
#define DRIVER_STATE_DRIVER_OVERLOAD_MASK ((uint8_t)0x04)
|
|
#define DRIVER_STATE_DRIVER_OVERHEAT_MASK ((uint8_t)0x08)
|
|
#define DRIVER_STATE_SENSOR_FAULT_MASK ((uint8_t)0x10)
|
|
#define DRIVER_STATE_DRIVER_FAULT_MASK ((uint8_t)0x20)
|
|
#define DRIVER_STATE_DRIVER_ENABLED_MASK ((uint8_t)0x40)
|
|
#define DRIVER_STATE_DRIVER_RESET_MASK ((uint8_t)0x80)
|
|
|
|
uint8 motor_id
|
|
int16 rpm
|
|
float64 current
|
|
int32 pulse_count
|
|
|
|
float32 driver_voltage
|
|
float32 driver_temperature
|
|
int8 motor_temperature
|
|
uint8 driver_state |