Replies: 1 comment 5 replies
-
Thanks for opening this discussion! To be of more help, it would probably help to see some context or code. Most movements like Due to physics, stopping always takes some distance and time. If you are already using |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! Im trying to stop my robot after driving forwards. My problem is that I have no idea how go stop it properly. If I use stop() or brake() the robot doesn't stop immediately but goes on for an unpredictable amount of time before stopping (of course not major but the robot has to be precise...). If I use hold() the robot stops precise but the motors roll back a tiny bit after stopping. I think this is because of the tension in the motor that builds while stopping.
And I have another problem: The motors don't stop at the same time. There's a slight delay between the first and the second motor stopping which leads to the robot making a turn. (The lines of code for stopping are directly under each other)
Beta Was this translation helpful? Give feedback.
All reactions