From 8008f8fdae6795ea663fddd4cc135a53cc7681de Mon Sep 17 00:00:00 2001 From: NikolajDanger Date: Mon, 26 Sep 2022 14:07:50 +0200 Subject: [PATCH] :sparkles: --- drive_to_aruco.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drive_to_aruco.py b/drive_to_aruco.py index abd14b1..7fffe36 100644 --- a/drive_to_aruco.py +++ b/drive_to_aruco.py @@ -40,7 +40,7 @@ def main(): arlo = Robot() while True: arucos = find_aruco(arlo.take_photo()) - if arucos is not []: + if arucos != []: break arlo.go_diff(POWER, POWER, 1, 0) sleep(TURN_T)