From cf5c41ba6ec6422876ff270812b7644a02b65d7a Mon Sep 17 00:00:00 2001 From: duongtd Date: Tue, 18 Aug 2026 11:06:25 +0700 Subject: [PATCH] =?UTF-8?q?config:=20h=E1=BA=A1=20steer=5Fbias=5Fmin=5Fvel?= =?UTF-8?q?=20xu=E1=BB=91ng=20d=C6=B0=E1=BB=9Bi=20t=E1=BB=91c=20=C4=91?= =?UTF-8?q?=E1=BB=99=20l=C3=A0m=20vi=E1=BB=87c=20c=E1=BB=A7a=20profile=20c?= =?UTF-8?q?h=E1=BA=ADm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 0.30 m/s lớn hơn max_vel_x của chính profile docking và go_straight, nên bộ tích phân bù lái KHÔNG BAO GIỜ chạy: log 33 mọi dòng DBG-SS của dock đều bias=0.0000 trong khi offset đứng 2.8 cm không ai khử. Ngưỡng mới 0.15 nằm dưới tốc độ làm việc 0.20 m/s. Kèm nới yaw_goal_tolerance docking 0.02 -> 0.05 rad và siết xy_goal_tolerance của go_straight xuống 0.0001 m. --- .../runtime/stanley_local_planner_params.yaml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/config/runtime/stanley_local_planner_params.yaml b/config/runtime/stanley_local_planner_params.yaml index 2df4de7..c4ec372 100644 --- a/config/runtime/stanley_local_planner_params.yaml +++ b/config/runtime/stanley_local_planner_params.yaml @@ -354,7 +354,7 @@ StanleyDockingLocalPlanner: max_steer_rate: 1.00 # [rad/s] tốc độ quay servo lái. Đo bằng [DBG-STEER] 07/08: steer_zero_offset: 0.0 # [rad] xy_goal_tolerance: 0.02 # [m] DOCKING: dung sai vi tri chat - yaw_goal_tolerance: 0.02 # [rad] DOCKING: dung sai goc chat + yaw_goal_tolerance: 0.05 # [rad] DOCKING: dung sai goc chat goal_sq_dist_tol: 0.05 # [m^2] thoát sớm vòng scan điểm gần nhất. path_yaw_mode: "tangent" # tangent | bearing. "bearing" là hành vi cũ, giữ để rollback control_gain_e: 2.0 # gain hướng (tangent path - yaw robot). @@ -377,7 +377,10 @@ StanleyDockingLocalPlanner: steer_bias_gain: 0.100 # [rad/(m*s)] 0 = TẮT. ROBOT THẬT: 0.10 — bộ bù CHÍNH khi mode steer_bias_clamp: 0.05 # [rad] trần anti-windup. steer_bias_decay: 0.9999 # hệ số xả khi không đủ điều kiện tích phân. ROBOT THẬT: 0.9999 - steer_bias_min_vel: 0.30 # [m/s] dưới tốc này không tích phân (đứng yên/bò chậm + steer_bias_min_vel: 0.15 # [m/s] SLOW PROFILE: 0.30 -> 0.15 (17/08). Cong nay lon hon + # max_vel_x cua profile nay nen tich phan khong bao gio chay: + # log 33 moi dong DBG-SS cua dock deu bias=0.0000, offset dong + # 2.8 cm khong ai khu. Nguong moi < toc do lam viec 0.20 m/s. steer_bias_max_heading_err: 0.10 # [rad] lỗi hướng trên ngưỡng này không tích phân max_global_plan_lookahead_dist: 3.0 # [m] trần cửa sổ. min_lookahead: 0.50 # [m] sàn cửa sổ. @@ -443,7 +446,7 @@ StanleyGoStraightLocalPlanner: min_steer_angle: 0.20 # [rad] ngưỡng coi là "đang bẻ lái". max_steer_rate: 1.00 # [rad/s] tốc độ quay servo lái. Đo bằng [DBG-STEER] 07/08: steer_zero_offset: 0.0 # [rad] - xy_goal_tolerance: 0.015 # [m] GO_STRAIGHT: dung sai chat nhu docking + xy_goal_tolerance: 0.0001 # [m] GO_STRAIGHT: dung sai chat nhu docking yaw_goal_tolerance: 0.010 # [rad] goal_sq_dist_tol: 0.05 # [m^2] thoát sớm vòng scan điểm gần nhất. path_yaw_mode: "tangent" # tangent | bearing. "bearing" là hành vi cũ, giữ để rollback @@ -467,7 +470,10 @@ StanleyGoStraightLocalPlanner: steer_bias_gain: 0.100 # [rad/(m*s)] 0 = TẮT. ROBOT THẬT: 0.10 — bộ bù CHÍNH khi mode steer_bias_clamp: 0.05 # [rad] trần anti-windup. steer_bias_decay: 0.9999 # hệ số xả khi không đủ điều kiện tích phân. ROBOT THẬT: 0.9999 - steer_bias_min_vel: 0.30 # [m/s] dưới tốc này không tích phân (đứng yên/bò chậm + steer_bias_min_vel: 0.15 # [m/s] SLOW PROFILE: 0.30 -> 0.15 (17/08). Cong nay lon hon + # max_vel_x cua profile nay nen tich phan khong bao gio chay: + # log 33 moi dong DBG-SS cua dock deu bias=0.0000, offset dong + # 2.8 cm khong ai khu. Nguong moi < toc do lam viec 0.20 m/s. steer_bias_max_heading_err: 0.10 # [rad] lỗi hướng trên ngưỡng này không tích phân max_global_plan_lookahead_dist: 3.0 # [m] trần cửa sổ. min_lookahead: 0.50 # [m] sàn cửa sổ. @@ -557,7 +563,10 @@ StanleyRotateLocalPlanner: steer_bias_gain: 0.100 # [rad/(m*s)] 0 = TẮT. ROBOT THẬT: 0.10 — bộ bù CHÍNH khi mode steer_bias_clamp: 0.05 # [rad] trần anti-windup. steer_bias_decay: 0.9999 # hệ số xả khi không đủ điều kiện tích phân. ROBOT THẬT: 0.9999 - steer_bias_min_vel: 0.30 # [m/s] dưới tốc này không tích phân (đứng yên/bò chậm + steer_bias_min_vel: 0.15 # [m/s] SLOW PROFILE: 0.30 -> 0.15 (17/08). Cong nay lon hon + # max_vel_x cua profile nay nen tich phan khong bao gio chay: + # log 33 moi dong DBG-SS cua dock deu bias=0.0000, offset dong + # 2.8 cm khong ai khu. Nguong moi < toc do lam viec 0.20 m/s. steer_bias_max_heading_err: 0.10 # [rad] lỗi hướng trên ngưỡng này không tích phân max_global_plan_lookahead_dist: 3.0 # [m] trần cửa sổ. min_lookahead: 0.50 # [m] sàn cửa sổ.