From 9d6019076927017b90f04c84e3ebbe9907b64613 Mon Sep 17 00:00:00 2001 From: Edvin Date: Mon, 12 May 2025 14:13:51 +0200 Subject: Made sure status angle is an int and made goal pairing better --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.py') diff --git a/main.py b/main.py index f2a84d1..75bf9ed 100755 --- a/main.py +++ b/main.py @@ -291,7 +291,7 @@ if bto.find("Connected") != -1: xstatus = str(x).zfill(4) ystatus = str(y).zfill(4) - dirstatus = str(curDir).zfill(3) + dirstatus = str(int(curDir)).zfill(3) if iteration > delay: NANO.write(f"Current status {xstatus} {ystatus} {dirstatus}\n".encode()) iteration = 0 -- cgit v1.2.3