From fa69482a2f74e550072ed1cd124a3fa3adacb9d0 Mon Sep 17 00:00:00 2001 From: NikolajDanger Date: Mon, 12 Sep 2022 15:11:18 +0200 Subject: [PATCH] :sparkles: --- square.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/square.py b/square.py index 2fac3c4..d4fab95 100644 --- a/square.py +++ b/square.py @@ -6,9 +6,9 @@ POWER = 70 TURN_T = 0.079 # 10 degrees DRIVE_T = 0.22 # 10 centimeter -RIGHT_WHEEL_OFFSET = 2 +RIGHT_WHEEL_OFFSET = 5 -CLOCKWISE_OFFSET = 0.9 +CLOCKWISE_OFFSET = 1 def wiggle(arlo): arlo.go_diff(50, 53, 1, 0) @@ -39,7 +39,7 @@ def clockwise_square(arlo): sleep(1) # Turning 90 degrees - arlo.go_diff(POWER, POWER + RIGHT_WHEEL_OFFSET, 1, 0) + arlo.go_diff(POWER, POWER, 1, 0) sleep(TURN_T * 10 * CLOCKWISE_OFFSET) arlo.stop() sleep(0.2)