From b5df874ad2161cbfd3f12ac3b391ccaaafc89510 Mon Sep 17 00:00:00 2001 From: Havoc <2993167370@qq.com> Date: Sun, 1 Jun 2025 07:21:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BB=BB=E5=8A=A11=E7=9A=84?= =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E9=80=BB=E8=BE=91=EF=BC=8C=E5=B0=86go=5Fto?= =?UTF-8?q?=5Fxy=E5=87=BD=E6=95=B0=E6=9B=BF=E6=8D=A2=E4=B8=BAgo=5Fstraight?= =?UTF-8?q?=E5=87=BD=E6=95=B0=E4=BB=A5=E8=B0=83=E6=95=B4=E7=A7=BB=E5=8A=A8?= =?UTF-8?q?=E8=B7=9D=E7=A6=BB=EF=BC=8C=E6=8F=90=E5=8D=87=E6=89=A7=E8=A1=8C?= =?UTF-8?q?=E6=95=88=E6=9E=9C=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- task_1/task_1.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/task_1/task_1.py b/task_1/task_1.py index 113dd74..776af0d 100644 --- a/task_1/task_1.py +++ b/task_1/task_1.py @@ -192,6 +192,8 @@ def run_task_1_back(ctrl, msg, time_sleep=5000): section('任务1-19: 90度旋转', "旋转") turn_degree_v2(ctrl, msg, degree=0, absolute=True) - go_to_xy(ctrl, msg, target_x=-0.2, target_y=0, observe=observe) + go_straight(ctrl, msg, distance=-1.3, observe=observe) + + # go_to_xy(ctrl, msg, target_x=-0.2, target_y=0, observe=observe) success("任务1-back完成", "完成") \ No newline at end of file