From 916829aecb03de4cc7d66ba6beba6624ea9506ab Mon Sep 17 00:00:00 2001 From: NikolajDanger Date: Wed, 7 Sep 2022 13:17:57 +0200 Subject: [PATCH] :sparkles: --- square.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/square.py b/square.py index eef1ad6..54c5c92 100644 --- a/square.py +++ b/square.py @@ -11,14 +11,14 @@ CLOCKWISE_OFFSET = 0.96 def square(arlo, drive_t): while True: # Driving forward - arlo.go_diff(POWER, POWER, 1, 1) + arlo.go_diff(POWER, POWER+4, 1, 1) sleep(drive_t * 10) arlo.stop() sleep(1) # Turning 90 degrees - arlo.go_diff(POWER, POWER, 0, 1) + arlo.go_diff(POWER, POWER+4, 0, 1) sleep(TURN_T * 9) arlo.stop()