pid steering

This commit is contained in:
tymek 2025-08-01 18:34:38 +02:00
parent c5f00ffc42
commit 48027822d8

View file

@ -107,8 +107,8 @@ for chunk in stream.iter_content(chunk_size=1024):
speedL = max(-99, -v * min(100 + k, 99))
speedR = max(-99, v * min(100 - k, 99))
motorL.start(speedL)
motorR.start(speedR)
motorL.start(int(speedL))
motorR.start(int(speedR))
xp = x
ip = i