From 4d552eca6458dbc357ef361e347d8b0b2b25b36a Mon Sep 17 00:00:00 2001 From: FallenSigh Date: Fri, 19 Jun 2026 10:04:30 +0800 Subject: [PATCH] fix(arm_control): change reset height to -285mm Reset Z coordinate changed from -120 to -285 in both YAML config and Python code default. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- ros2/src/udp_teleop/config/arm_control.yaml | 2 +- ros2/src/udp_teleop/udp_teleop/arm_control.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ros2/src/udp_teleop/config/arm_control.yaml b/ros2/src/udp_teleop/config/arm_control.yaml index 2288a39..744f61d 100644 --- a/ros2/src/udp_teleop/config/arm_control.yaml +++ b/ros2/src/udp_teleop/config/arm_control.yaml @@ -38,7 +38,7 @@ arm_control: auto_reset_on_startup: true # 启动时是否自动复位 reset_x: 200.0 # 复位位置 X (mm) reset_y: 0.0 # 复位位置 Y (mm) - reset_z: -120.0 # 复位位置 Z (mm) + reset_z: -285.0 # 复位位置 Z (mm) reset_phi: 0.0 # 复位朝向 (度) reset_duration: 3.0 # 复位运动时长 (秒) diff --git a/ros2/src/udp_teleop/udp_teleop/arm_control.py b/ros2/src/udp_teleop/udp_teleop/arm_control.py index 96279da..744b935 100644 --- a/ros2/src/udp_teleop/udp_teleop/arm_control.py +++ b/ros2/src/udp_teleop/udp_teleop/arm_control.py @@ -396,7 +396,7 @@ class ArmControlNode(Node): ('auto_reset_on_startup', True), ('reset_x', 200.0), ('reset_y', 0.0), - ('reset_z', 10.0), + ('reset_z', -285.0), ('reset_phi', 0.0), ('reset_duration', 3.0), ]