← Back to ratslair.com
aboutsummaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorEdvin <[email protected]>2025-05-12 14:16:59 +0200
committerEdvin <[email protected]>2025-05-12 14:16:59 +0200
commit43aedd8f90137698ec3155a73f6175ee5e14bb55 (patch)
tree81d55938a98b8e2e7ca97c64858afcba2823d07c /main.py
parent9d6019076927017b90f04c84e3ebbe9907b64613 (diff)
Increased turn times to match their specified degrees
Diffstat (limited to 'main.py')
-rwxr-xr-xmain.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.py b/main.py
index 75bf9ed..4d8c698 100755
--- a/main.py
+++ b/main.py
@@ -167,7 +167,7 @@ if bto.find("Connected") != -1:
sleep(0.1)
NANO.write(b"Right\n")
NANO.write(f"Current status {xstatus} {ystatus} {dirstatus}\n".encode())
- sleep(0.9)
+ sleep(1)
NANO.write(b"Stop\n")
elif bto == "44": # Turn left 90 degrees
@@ -183,7 +183,7 @@ if bto.find("Connected") != -1:
sleep(0.1)
NANO.write(b"Left\n")
NANO.write(f"Current status {xstatus} {ystatus} {dirstatus}\n".encode())
- sleep(0.9)
+ sleep(1)
NANO.write(b"Stop\n")
elif bto == "55": # Turn right 45 degrees