Hello again FIRST community!
I have a question about some strange behavior we’ve been seeing in our robot. The robot has swerve drive with MK3 modules, and occasionally, and seemingly without cause, one module will randomly lock up. The weird part is that it is sporadic. When the module locks, we can redeploy the code (with no code changes) and everything works fine again on the next run. That implies that it’s a software problem since if it was a hardware issue it would still be locked up until we made changes to the hardware. We even saw it happen to different modules at competition, so it wasn’t always the same one. Has anyone else seen behavior like this? Our robot drives well normally, but I’m very confused about this intermittent issue.
Here is our codebase for reference: https://github.com/5804/rapidReact2022Alpha .
Thanks for any info you can provide!