I’m looking to add a button to our dashboard that would reset our encoders before a match since our arm swings a little more than we’d like and can mess things up if we don’t zero it properly.
The button works fine, but only when we’re enabled. Was wondering if there was a way to be able to reset the encoders on a press while we’re disabled.
Or, if there’s an alternative idea that I’m missing, I’d love to hear it.
Github
(Ik it’s very spaghetti coded don’t bully me)