From db1c34a7062c6f51995b97327fcd343895adb3ab Mon Sep 17 00:00:00 2001 From: lgv Date: Wed, 2 Dec 2026 11:55:54 +0800 Subject: [PATCH] chore(touch): tune Xiaozhao alignment offsets and thresholds Adjust alignment offsets and Y tolerance, and disable automatic head initialization in the Xiaozhao real-device touch task. --- .../config/tasks/touch_screen_task/touch_screen_task.pb.txt | 2 +- .../touch_screen_task_xiaozhao_real.pb.txt | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmvr-es/config/tasks/touch_screen_task/touch_screen_task.pb.txt b/cmvr-es/config/tasks/touch_screen_task/touch_screen_task.pb.txt index 8548eb14..4eec2a8f 100644 --- a/cmvr-es/config/tasks/touch_screen_task/touch_screen_task.pb.txt +++ b/cmvr-es/config/tasks/touch_screen_task/touch_screen_task.pb.txt @@ -78,7 +78,7 @@ touch_screen_task { # PBVS 会结合上面的 T_H_P 将该目标转换为 TCP P 的目标姿态。 hand_orientation_G { rx: -0.1 ry: 0.0 rz: -1.57 } # 点击目标点到 TCP 预对齐位置的偏移,表达在 G 坐标系,单位为米。 - position_offset_G { x: 0.0 y: 0.0 z: 0.00 } + position_offset_G { x: 0.003 y: 0.0 z: 0.00 } mode: TOUCH_SCREEN_ALIGN_MODE_RX_RY_AND_POSITION } error_threshold { diff --git a/cmvr-es/config/tasks/touch_screen_task/touch_screen_task_xiaozhao_real.pb.txt b/cmvr-es/config/tasks/touch_screen_task/touch_screen_task_xiaozhao_real.pb.txt index d38272aa..1ae2854f 100644 --- a/cmvr-es/config/tasks/touch_screen_task/touch_screen_task_xiaozhao_real.pb.txt +++ b/cmvr-es/config/tasks/touch_screen_task/touch_screen_task_xiaozhao_real.pb.txt @@ -14,7 +14,7 @@ touch_screen_task { # 参考 MuJoCo 头部姿态。实机确认视野和关节位置后,可启用启动时的头部 MoveJ。 head_initialization { - enable: true + enable: false joint_positions { joint_name: "neck-joint1" rad: -1.235204 } joint_positions { joint_name: "neck-joint2" rad: 0.612523} joint_positions { joint_name: "neck-joint3" rad:-0.279480 } @@ -88,12 +88,12 @@ touch_screen_task { # MoveP 和 PBVS 共用此偏移,绕屏幕 Tag G 的固定 X 轴再转 -5°,单位为弧度。 rotation_offset_G { x: -0.32 y: 0.0 z: 0.0 } # TCP 对齐至点击点沿 G +Z 外移 20 mm 的位置。 - position_offset_G { x: 0.008 y: 0 z: 0.05 } + position_offset_G { x: 0.005 y:0.003 z: 0.05 } mode: TOUCH_SCREEN_ALIGN_MODE_POSE_AND_POSITION } error_threshold { x: 0.005 - y: 0.005 + y: 0.003 z: 0.005 rx: 0.08726646259971647 ry: 0.08726646259971647