Skip to content
Discussion options

You must be logged in to vote

I am curious, though, about the approach used for backup vs just doing some fixed distance drive backward and hold, this code drives forever in reverse for 2 seconds and then stops with a coast. I would love to understand why and if that's a better approach for doing this micro reverse at the start of a run to remove potential drive motor slop and get things lined up better out of the gate.

The issue with a fixed distance can be that the wheels can block if they have a lot of grip, and then your robot just waits and sits there. You could also combine the two for less waiting overall.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@joshsloat
Comment options

Answer selected by joshsloat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants