50 lines
1.1 KiB
Plaintext
50 lines
1.1 KiB
Plaintext
Name: Hcp
|
|
Version: 0
|
|
|
|
Enums:
|
|
ErrorCodes:
|
|
- MOTOR1_DISCONNECTED = 1
|
|
- MOTOR2_DISCONNECTED = 2
|
|
- MOTORS_DISCONNECTED = 3
|
|
- INPUT_BUFFER_OVERFLOW = 4
|
|
|
|
InlineMotionUpdateDangerLvl:
|
|
- WARNING = 0
|
|
- ERROR = 1
|
|
- MELTDOWN = 2
|
|
|
|
InlineErrorRecoveryStatus:
|
|
- YES = 0
|
|
- NO = 1
|
|
|
|
Bitfield:
|
|
Enables:
|
|
- a: 0
|
|
- b: 1
|
|
- c: 3
|
|
|
|
InlineErrorEnables:
|
|
- test: 0
|
|
- asd: 1
|
|
- b: 2
|
|
- c: 3
|
|
- aa: 7
|
|
|
|
Messages:
|
|
[1] MotionUpdate:
|
|
Size: 55 bytes
|
|
Fields:
|
|
- (12) speed: int32[3]
|
|
- (4) stearing: float32[1]
|
|
- (32) name: string[32]
|
|
- (4) enable: bool[4]
|
|
- (1) heading: char[1]
|
|
- (1) enables: bitfield[1] -> Enables
|
|
- (1) dangerLvl: enum[1] -> InlineMotionUpdateDangerLvl
|
|
|
|
[2] Error:
|
|
Size: 2 bytes
|
|
Fields:
|
|
- (1) recoveryStatus: enum[1] -> InlineErrorRecoveryStatus
|
|
- (1) enables: bitfield[1] -> InlineErrorEnables
|