From 55cbf624a1eeb6efb72fd3fd5663660296ec504e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=95=E6=98=8E=E6=B1=9F?= <246462502@qq.com> Date: Fri, 8 Mar 2024 21:04:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=86=8D=E6=AC=A1=E4=BF=AE=E5=A4=8DglZ?= =?UTF-8?q?=E7=9A=84=E5=9B=BE=E5=83=8Fbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/gl_tracking.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/gl_tracking.c b/app/gl_tracking.c index 6108d5c..b6bf79c 100644 --- a/app/gl_tracking.c +++ b/app/gl_tracking.c @@ -104,7 +104,7 @@ void MidLineTrack() int aim_idx = clip(round(aim_distance / RESAMPLEDIST), 0, rptsn_num - 1); // 近锚点位置 - int aim_idx_near = clip(round(0.11 / RESAMPLEDIST), 0, rptsn_num - 1); + int aim_idx_near = clip(round(0.09 / RESAMPLEDIST), 0, rptsn_num - 1); // 计算远锚点偏差值 dx = rptsn[aim_idx][1] - cx;