diff options
| author | Edvin <[email protected]> | 2025-05-07 15:53:28 +0200 |
|---|---|---|
| committer | Edvin <[email protected]> | 2025-05-07 15:53:28 +0200 |
| commit | 824d57736e4930397ce51ecb3216a3de7d2e81d0 (patch) | |
| tree | 872d9e684f595590d9c31908b6461b3111e60d8a | |
| parent | b469e20d18187f375640d9642baef0439ecb7703 (diff) | |
Changed LIDAR angles to ignore DWM mounted behind it.
| -rwxr-xr-x | main.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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") |
