增加msg
This commit is contained in:
6
src/msg/ArmActionType.msg
Normal file
6
src/msg/ArmActionType.msg
Normal file
@@ -0,0 +1,6 @@
|
||||
int8 ARM_COMMAND_TYPE_ANGLE_STEP_ON = 0
|
||||
int8 ARM_COMMAND_TYPE_POSE_STEP_ON = 1
|
||||
int8 ARM_COMMAND_TYPE_ANGLE_DIRECT_MOVE = 2
|
||||
int8 ARM_COMMAND_TYPE_POSE_DIRECT_MOVE = 3
|
||||
|
||||
int8 action_type
|
||||
10
src/msg/ArmDataLength.msg
Normal file
10
src/msg/ArmDataLength.msg
Normal file
@@ -0,0 +1,10 @@
|
||||
int16 POSE_POSITION_X = 0
|
||||
int16 POSE_POSITION_Y = 1
|
||||
int16 POSE_POSITION_Z = 2
|
||||
int16 POSE_QUATERNION_X = 3
|
||||
int16 POSE_QUATERNION_Y = 4
|
||||
int16 POSE_QUATERNION_Z = 5
|
||||
int16 POSE_QUATERNION_W = 6
|
||||
int16 POSE_DIMENSION = 7
|
||||
|
||||
int16 data_length
|
||||
9
src/msg/ArmErrCode.msg
Normal file
9
src/msg/ArmErrCode.msg
Normal file
@@ -0,0 +1,9 @@
|
||||
int32 OK = 0
|
||||
int32 UNKNOWN_ERR = -1
|
||||
int32 ARM_NOW_FORCE_MOVING = -2
|
||||
int32 ARM_COLLISION = -3
|
||||
int32 ARM_AIM_CANNOT_REACH = -4
|
||||
int32 ARM_NOW_NO_GOAL = -5
|
||||
int32 ARM_GOAL_CANCELLED = -6
|
||||
|
||||
int32 result
|
||||
4
src/msg/BodyType.msg
Normal file
4
src/msg/BodyType.msg
Normal file
@@ -0,0 +1,4 @@
|
||||
int8 LEFT_ARM = 0
|
||||
int8 RIGHT_ARM = 1
|
||||
|
||||
int8 body_id
|
||||
Reference in New Issue
Block a user