Decreasing the ENCODER_RESET_ITERATIONS from ~10s to ~2.5s helped us reset our encoders quicker when we'd get in to a bad state where our absolute encoders wouldn't initialize. That code we tested with tonight and it looked pretty good.
The other LOC here is something that we talked about - always reset our encoders at start as opposed to having to wait 2.5s. We'll need to keep an eye on that LOC if we merge this change, since we were not testing with that code tonight.
This is an easy fix - but there's a more comprehensive fix for this. I think we close this and work on the more comprehensive fix as opposed to patching over this issue with this code.
Decreasing the
ENCODER_RESET_ITERATIONS
from ~10s to ~2.5s helped us reset our encoders quicker when we'd get in to a bad state where our absolute encoders wouldn't initialize. That code we tested with tonight and it looked pretty good.The other LOC here is something that we talked about - always reset our encoders at start as opposed to having to wait 2.5s. We'll need to keep an eye on that LOC if we merge this change, since we were not testing with that code tonight.