detection works

This commit is contained in:
tymek 2025-07-30 20:18:39 +02:00
parent 6d680bf175
commit b73d5ffece

View file

@ -86,7 +86,7 @@ for chunk in stream.iter_content(chunk_size=1024):
# motorL.stop() # motorL.stop()
# motorR.stop() # motorR.stop()
else: else:
motorL.start(int((min(100, 260 - int(x)))/4)) motorL.start(int(-(min(100, 260 - int(x)))/4))
motorR.start(int((min(100, int(x) - 60))/4)) motorR.start(int((min(100, int(x) - 60))/4))
# ============================ # ============================