add arm errors srv/msg

This commit is contained in:
NuoDaJia02
2026-01-15 14:07:38 +08:00
parent e726f33e7f
commit 78fb103155
3 changed files with 10 additions and 0 deletions

View File

@@ -29,6 +29,7 @@ set(msg_files
msg/SkillCall.msg
msg/MetaKey.msg
msg/ArmMotionParams.msg
msg/ArmError.msg
)
set(action_files
action/MoveToPosition.action
@@ -55,6 +56,7 @@ set(srv_files
srv/MotorParam.srv
srv/GripperCmd.srv
srv/MotorInfo.srv
srv/ClearArmError.srv
)
include_directories(include)

3
src/msg/ArmError.msg Normal file
View File

@@ -0,0 +1,3 @@
int8 arm_id
uint16[] err_flag
uint16[] brake_state

View File

@@ -0,0 +1,5 @@
int8 arm_id
int8 joint_num
---
bool success
string message