Skip to content
Snippets Groups Projects
Commit 4d5a9eed authored by Samuel Tardieu's avatar Samuel Tardieu
Browse files

showencoders.py: read encoders once to reset them

parent 3c8351ea
No related branches found
No related tags found
No related merge requests found
Pipeline #97624 passed
......@@ -6,6 +6,9 @@ from controller import Controller
c = Controller()
# Reset encoders
c.get_encoder_ticks()
left, right = 0, 0
while True:
dl, dr = c.get_encoder_ticks()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment