From b73d5ffece382836ffc536398b916ac6930dff14 Mon Sep 17 00:00:00 2001 From: tymek Date: Wed, 30 Jul 2025 20:18:39 +0200 Subject: [PATCH] detection works --- detection-steer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/detection-steer.py b/detection-steer.py index 66c6784..66f2f00 100644 --- a/detection-steer.py +++ b/detection-steer.py @@ -86,7 +86,7 @@ for chunk in stream.iter_content(chunk_size=1024): # motorL.stop() # motorR.stop() 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)) # ============================