Skip to content
Snippets Groups Projects
Commit 3ec89f08 authored by alex-fddz's avatar alex-fddz
Browse files

Clean is_intersection()

parent 35481297
No related branches found
No related tags found
No related merge requests found
...@@ -46,10 +46,6 @@ def is_intersection(le: HCSR04Event, fe: HCSR04Event, re: HCSR04Event): ...@@ -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 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 return (le is HCSR04Event.NOTHING or fe is HCSR04Event.NOTHING
or re is HCSR04Event.NOTHING) or re is HCSR04Event.NOTHING)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment