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)