← Back to ratslair.com
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdvin <[email protected]>2025-05-07 15:53:28 +0200
committerEdvin <[email protected]>2025-05-07 15:53:28 +0200
commit824d57736e4930397ce51ecb3216a3de7d2e81d0 (patch)
tree872d9e684f595590d9c31908b6461b3111e60d8a
parentb469e20d18187f375640d9642baef0439ecb7703 (diff)
Changed LIDAR angles to ignore DWM mounted behind it.
-rwxr-xr-xmain.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/main.py b/main.py
index 0d74089..a4d5871 100755
--- a/main.py
+++ b/main.py
@@ -211,8 +211,7 @@ if bto.find("Connected") != -1:
if backward == False:
NANO.write(b"Stop\n")
- if ((a > 155 and a < 170) or (a > 190 and a < 205)) and (d > 0 and d < 300):
- print("Something behind!")
+ if ((a > 155 and a < 165) or (a > 195 and a < 205)) and (d > 0 and d < 300):
backward = False
if forward == False:
NANO.write(b"Stop\n")