Closed KyleQ1 closed 3 years ago
The magnetic limits may not exactly match the position of the soft limits so we should actually measure out where the limits are positioned first.
Probably not worth doing since the limit could be passed and the state could be set to the wrong position. We also may be able to track the position of the turret at all times following this. https://frc3512.slack.com/archives/C29CKB8LR/p1629310215036100
Since the position of the magnetic limit switch is known, then set the current position state to that position. This will also stop the turret from moving past the soft limit just in case the magnetic limit is passed.