From f667bbde7371589f77dafb4bb0815628077e5d44 Mon Sep 17 00:00:00 2001 From: lgv Date: Mon, 30 Nov 2026 17:16:47 +0800 Subject: [PATCH] chore(config): tune Xiaozhao touch and neck settings --- .../motor/xiaozhao_linkong_motors.pb.txt | 2 +- .../touch_screen_task_xiaozhao_real.pb.txt | 26 +++++++++---------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/cmvr-es/config/devices/motor/xiaozhao_linkong_motors.pb.txt b/cmvr-es/config/devices/motor/xiaozhao_linkong_motors.pb.txt index a265913d..3797e92c 100644 --- a/cmvr-es/config/devices/motor/xiaozhao_linkong_motors.pb.txt +++ b/cmvr-es/config/devices/motor/xiaozhao_linkong_motors.pb.txt @@ -36,7 +36,7 @@ motor { joint_name: "neck-joint2" gear_ratio: 10 limit_q_lb: -0.75 - limit_q_ub: 0.75 + limit_q_ub: 0.77 limit_qd: 10 lingkong { response_timeout_ms: 100 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 94d16f36..e8d48727 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 @@ -58,8 +58,8 @@ touch_screen_task { approach { # MoveP 移至视觉对齐目标,再进入 PBVS。最小间隙检查针对 TCP。 enable: true - velocity: 0.25 # rad/s - acceleration: 1 # rad/s^2 + velocity: 0.8 # rad/s + acceleration: 5 # rad/s^2 jerk: 50.0 # rad/s^3 timeout_s: 15.0 minimum_clearance_m: 0.01 @@ -78,23 +78,23 @@ touch_screen_task { pbvs { position_gain { x: 2.0 y: 2.0 z: 1.5 } rotation_gain { x: 1.5 y: 1.5 z: 1.5 } - vmax6 { x: 0.02 y: 0.02 z: 0.01 rx: 0.10 ry: 0.10 rz: 0.10 } - amax6 { x: 0.10 y: 0.10 z: 0.10 rx: 0.50 ry: 0.50 rz: 0.50 } + vmax6 { x: 0.03 y: 0.03 z: 0.03 rx: 0.10 ry: 0.10 rz: 0.10 } + amax6 { x: 0.50 y: 0.50 z: 0.50 rx: 2.0 ry: 2.0 rz: 2.0 } twist_filter_alpha: 1.0 } target { # H 相对 G 的目标姿态(rad)。按实机标签朝向复核,使 Tool -Y 指向屏面。 hand_orientation_G { rx: 0.0 ry: 0.0 rz: -3.141592653589793 } # MoveP 和 PBVS 共用此偏移,绕屏幕 Tag G 的固定 X 轴再转 -5°,单位为弧度。 - rotation_offset_G { x: -0.3 y: 0.0 z: 0.0 } + 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.012 z: 0.05 } + position_offset_G { x: 0.008 y: 0 z: 0.05 } mode: TOUCH_SCREEN_ALIGN_MODE_POSE_AND_POSITION } error_threshold { x: 0.005 y: 0.005 - z: 0.003 + z: 0.005 rx: 0.08726646259971647 ry: 0.08726646259971647 rz: 0.08726646259971647 @@ -106,9 +106,9 @@ touch_screen_task { touch { speed_l { - twist_tool { x: 0.0 y: -0.01 z: 0.0 rx: 0.0 ry: 0.0 rz: 0.0 } - acceleration: 0.2 # m/s^2 - linear_jerk: 2.0 # m/s^3 + twist_tool { x: 0.0 y: -0.02 z: 0.0 rx: 0.0 ry: 0.0 rz: 0.0 } + acceleration: 2 # m/s^2 + linear_jerk: 15 # m/s^3 max_distance_m: 0.03 } tactile { @@ -121,9 +121,9 @@ touch_screen_task { retract { # 接触后立即沿 Tool +Y 回撤。未触发接触而到达限距时也回撤。 - twist_tool { x: 0.0 y: 0.02 z: 0.0 rx: 0.0 ry: 0.0 rz: 0.0 } - acceleration: 0.2 # m/s^2 - linear_jerk: 2.0 # m/s^3 + twist_tool { x: 0.0 y: 0.03 z: 0.0 rx: 0.0 ry: 0.0 rz: 0.0 } + acceleration: 3 # m/s^2 + linear_jerk: 20 # m/s^3 distance_m: 0.03 } }