tune(minco_ws): kp_pos 0.8→0.5,减小终点过冲

闭环速度指令为 vel = 前馈 + kp_pos * 位置误差,**只有 P 项、无速度阻尼**;
exec_time_ 到 traj_duration_ 后前馈归零,只剩纯 P 项,因此带速度接近终点
必然冲过头再被拉回,且回程方向带横向分量时会被 estimateDesiredYaw 转成
横向期望朝向(表现为'斜着调整回目标')。0.8→0.5 收尾更平滑。
This commit is contained in:
walunt5
2026-10-24 21:48:07 +08:00
parent 6fb14107fd
commit 92096aef62
@@ -7,7 +7,10 @@ closed_loop_controller:
time_forward: 0.8
# 朝向误差超过该值(rad)就原地转、不前进。四足原来 0.8,轮式收紧到 0.6。
heading_error_threshold: 0.6
kp_pos: 0.8
# 位置环只有 P 项(vel = 前馈 + kp_pos * 位置误差),没有速度阻尼,
# 因此 kp_pos 越大越容易在终点过冲、再被拉回来。
# 0.8 实测会"冲过头 + 斜着调整",降到 0.5 让末端收敛更平滑。
kp_pos: 0.5
kp_yaw: 1.5
# ⚠️ 必须 <= 底盘限幅(techx_r2_chassis_control/config/chassis_serial.yaml 的
# max_vx_m_s / max_vy_m_s / max_wz_rad_s,当前均为 0.5)。