FTC7393 / FtcRobotController

BSD 3-Clause Clear License
3 stars 1 forks source link

Wait for Fetcher not working in Auto #35

Closed robot256 closed 1 year ago

robot256 commented 1 year ago

With Fetcher Coordination turned on, the fetcher encoder does not match the requested position we send to it from the Auto opmode. This confused the "wait for fetcher" code and it frequently got stuck. We need to use a different equation to determine when the Fetcher is in a good position for grabbing. Either read the actual command back out, or go back to using the fetcher.isDone flag. We can change the margin of error used for the isDone flag if we want.

robot256 commented 1 year ago

Related to #20

robot256 commented 1 year ago

It only hangs on this occasionally. We could increase the tolerance for the isDone check by 2 or 3 encoder counts.

TheDeveloper101 commented 1 year ago

alrighty

robot256 commented 1 year ago

Gonna call this done thanks to 385235a603452122bd2cfcc2859a64d94f1259de Will make new ticket if different problem/solution is required.