From 98c9a498dba66ec08070a9a945667de360c22871 Mon Sep 17 00:00:00 2001 From: NikolajDanger Date: Wed, 7 Sep 2022 13:55:47 +0200 Subject: [PATCH] :sparkles: --- square.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/square.py b/square.py index fee98ff..fd836d6 100644 --- a/square.py +++ b/square.py @@ -8,7 +8,7 @@ DRIVE_T = 0.22 # 10 centimeter RIGHT_WHEEL_OFFSET = 4 -CLOCKWISE_OFFSET = 0.96 +CLOCKWISE_OFFSET = 0.82 def clockwise_square(arlo): arlo.go_diff(POWER, POWER + RIGHT_WHEEL_OFFSET, 0, 1) @@ -26,7 +26,7 @@ def clockwise_square(arlo): # Turning 90 degrees arlo.go_diff(POWER, POWER + RIGHT_WHEEL_OFFSET, 1, 0) - sleep(TURN_T * 8.5 * CLOCKWISE_OFFSET) + sleep(TURN_T * 10 * CLOCKWISE_OFFSET) arlo.stop() sleep(0.2) arlo.go_diff(POWER, POWER + RIGHT_WHEEL_OFFSET, 0, 1)