更新任务1的移动逻辑,将go_to_xy函数替换为go_straight函数以调整移动距离,提升执行效果。
This commit is contained in:
parent
4eb237af83
commit
b5df874ad2
@ -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完成", "完成")
|
Loading…
x
Reference in New Issue
Block a user