updated scout msgs for protocol v2.x

This commit is contained in:
pinloon.lee
2021-04-01 10:31:53 +08:00
parent 1bdc12a289
commit 5212dc72c2
14 changed files with 135 additions and 46 deletions

View File

@@ -1,27 +0,0 @@
Header header
int8 MOTOR_ID_FRONT_RIGHT = 0
int8 MOTOR_ID_FRONT_LEFT = 1
int8 MOTOR_ID_REAR_RIGHT = 2
int8 MOTOR_ID_REAR_LEFT = 3
int8 LIGHT_ID_FRONT = 0
int8 LIGHT_ID_REAR = 1
# motion state
float64 linear_velocity
float64 angular_velocity
# base state
uint8 base_state
uint8 control_mode
uint16 fault_code
float64 battery_voltage
# motor state
ScoutMotorState[4] motor_states
# light state
bool light_control_enabled
ScoutLightState front_light_state
ScoutLightState rear_light_state