Debounce Motor Connection on Falling Edge
Currently in the swerve templates, connection to motors is measured using a Debouncer, however, it is currently debouncing on the default rising edge, and not the falling edge. To my understanding, the intent of the debounce is to wait for a disconnection to last for half a second until reporting it to ignore any inconsequential disconnections or false disconnections.
Currently, it will instantly log a disconnection, and wait for half a second to log the disconnection alert as false again. This makes is so every single disconnection is at least logged as half a second, although disconnections smaller than half a second can be viewed as inconsequential or falsely measured. It would make more sense to debounce on the disconnecting edge, and have the error instantly go away as soon as a connection is gained, not wait 5 seconds.