From c2929ab72bfdbcfd053fc431dc30538ccbe1f1bb Mon Sep 17 00:00:00 2001 From: tymek Date: Thu, 31 Jul 2025 18:37:06 +0200 Subject: [PATCH] pid steering --- steer-pid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/steer-pid.py b/steer-pid.py index b2cf197..8305162 100644 --- a/steer-pid.py +++ b/steer-pid.py @@ -106,7 +106,7 @@ for chunk in stream.iter_content(chunk_size=1024): k = wp * p + wi * i + wd * d - motorL.start(-v * min(100 - k, 100)) + motorL.start(-v * min(100 + k, 100)) motorR.start(v * min(100 - k, 100)) xp = x ip += i