I have a Spark health monitoring class, and we've found that when calling getWarnings and getFaults at a 1 second interval, we get a random 1 second hang, that occurs at a random time, shortly after enabling. In matches, it usually occurs during autonomous.
https://github.com/lasarobotics/PurpleLib/blob/master/src/main/java/org/lasarobotics/hardware/revrobotics/SparkMonitor.java
I have a Spark health monitoring class, and we've found that when calling getWarnings and getFaults at a 1 second interval, we get a random 1 second hang, that occurs at a random time, shortly after enabling. In matches, it usually occurs during autonomous.
https://github.com/lasarobotics/PurpleLib/blob/master/src/main/java/org/lasarobotics/hardware/revrobotics/SparkMonitor.java