detection works
This commit is contained in:
parent
6d680bf175
commit
b73d5ffece
|
|
@ -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))
|
||||
|
||||
# ============================
|
||||
|
|
|
|||
Loading…
Reference in a new issue