add motion move action

This commit is contained in:
2025-10-19 13:55:59 +08:00
parent f154c5b3af
commit a56b173210
7 changed files with 51 additions and 2 deletions

View File

@@ -1,2 +0,0 @@
# hivecore_robot_interfaces

View File

@@ -27,6 +27,11 @@ set(action_files
action/VisionGraspObject.action
action/SlamMode.action
action/Arm.action
action/CameraTakePhoto.action
action/MoveHome.action
action/MoveLeg.action
action/MoveWaist.action
action/MoveWheel.action
)
set(srv_files
srv/VisionObjectRecognition.srv

View File

@@ -0,0 +1,8 @@
# Goal: hand control parameters
int32 mode # 0=open, 1=close
float32 effort
---
bool success
string message
---
float32 progress

View File

@@ -0,0 +1,8 @@
# 目标 回零点
---
# 结果:运动成功,或执行完毕
bool success
string message
---
# 反馈:各关节位置,运动进度
int64[] joint_values

View File

@@ -0,0 +1,9 @@
# 目标 腿伸长或缩短运动
float32 move_up_distance
---
# 结果:运动成功,或执行完毕
bool success
string message
---
# 反馈:各关节角度
int64[] joint_values

View File

@@ -0,0 +1,10 @@
# 目标 腰部运动
float32 move_pitch_degree
float32 move_yaw_degree
---
# 结果:运动成功,或执行完毕
bool success
string message
---
# 反馈:各关节角度
int64[] joint_values

View File

@@ -0,0 +1,11 @@
# 目标 底盘运动
float32 move_distance
float32 move_angle
---
# 结果:运动成功,或执行完毕
bool success
string message
---
# 反馈:当前位置,当前角度,运动进度
float32 current_pos
float32 current_angle