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)) # ============================