You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.
In the drivetrain subsystem (Drivetrain.java), you determine whether an encoder based movement is finished with the toPosition() method on line 165. Instead of establishing that the difference in counts is equal to zero, you should evaluate to where the difference is less than epsilon, where epsilon is an arbitrarily small number.
Otherwise your Encoder auto will never terminate :)
The text was updated successfully, but these errors were encountered:
In the drivetrain subsystem (Drivetrain.java), you determine whether an encoder based movement is finished with the toPosition() method on line 165. Instead of establishing that the difference in counts is equal to zero, you should evaluate to where the difference is less than epsilon, where epsilon is an arbitrarily small number.
Otherwise your Encoder auto will never terminate :)
The text was updated successfully, but these errors were encountered: