From 3ec89f08b2c3fff76963dd3443fe03eaa3f64f05 Mon Sep 17 00:00:00 2001 From: alex-fddz <javier.fddz@gmail.com> Date: Wed, 25 Jan 2023 16:58:56 +0100 Subject: [PATCH] Clean is_intersection() --- controller.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/controller.py b/controller.py index e0d7724..418b7ab 100644 --- a/controller.py +++ b/controller.py @@ -46,10 +46,6 @@ def is_intersection(le: HCSR04Event, fe: HCSR04Event, re: HCSR04Event): """ returns True if the droid is currently in an intersection, False otherwise """ - #fr3 = (le is HCSR04Event.NOTHING or fe is HCSR04Event.NOTHING - # or re is HCSR04Event.NOTHING) - print("int add =", le+fe+re) - return (le is HCSR04Event.NOTHING or fe is HCSR04Event.NOTHING or re is HCSR04Event.NOTHING) -- GitLab