add motion move action
This commit is contained in:
@@ -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
|
||||
|
||||
8
src/action/CameraTakePhoto.action
Normal file
8
src/action/CameraTakePhoto.action
Normal file
@@ -0,0 +1,8 @@
|
||||
# Goal: hand control parameters
|
||||
int32 mode # 0=open, 1=close
|
||||
float32 effort
|
||||
---
|
||||
bool success
|
||||
string message
|
||||
---
|
||||
float32 progress
|
||||
8
src/action/MoveHome.action
Normal file
8
src/action/MoveHome.action
Normal file
@@ -0,0 +1,8 @@
|
||||
# 目标 回零点
|
||||
---
|
||||
# 结果:运动成功,或执行完毕
|
||||
bool success
|
||||
string message
|
||||
---
|
||||
# 反馈:各关节位置,运动进度
|
||||
int64[] joint_values
|
||||
9
src/action/MoveLeg.action
Normal file
9
src/action/MoveLeg.action
Normal file
@@ -0,0 +1,9 @@
|
||||
# 目标 腿伸长或缩短运动
|
||||
float32 move_up_distance
|
||||
---
|
||||
# 结果:运动成功,或执行完毕
|
||||
bool success
|
||||
string message
|
||||
---
|
||||
# 反馈:各关节角度
|
||||
int64[] joint_values
|
||||
10
src/action/MoveWaist.action
Normal file
10
src/action/MoveWaist.action
Normal file
@@ -0,0 +1,10 @@
|
||||
# 目标 腰部运动
|
||||
float32 move_pitch_degree
|
||||
float32 move_yaw_degree
|
||||
---
|
||||
# 结果:运动成功,或执行完毕
|
||||
bool success
|
||||
string message
|
||||
---
|
||||
# 反馈:各关节角度
|
||||
int64[] joint_values
|
||||
11
src/action/MoveWheel.action
Normal file
11
src/action/MoveWheel.action
Normal file
@@ -0,0 +1,11 @@
|
||||
# 目标 底盘运动
|
||||
float32 move_distance
|
||||
float32 move_angle
|
||||
---
|
||||
# 结果:运动成功,或执行完毕
|
||||
bool success
|
||||
string message
|
||||
---
|
||||
# 反馈:当前位置,当前角度,运动进度
|
||||
float32 current_pos
|
||||
float32 current_angle
|
||||
Reference in New Issue
Block a user