We are seeing random encoder value dropouts from some Spark Max modules. The values respond properly, and then the value jumps between zero and the correct value. This can happen both when the motor is turning or stationary. This problem seems to fade in and out of severity, and seems to favor specific modules.
I’m running two independent systems with the NEO motors and Spark Max controllers.
One is a two-motor test bed, and one is a 4-motor Mecanum drive. The problem is seen on BOTH setups.
Programming with basic (very) Java example programs, but with CAN bus.
Rio and Spark modules have been freshly updated with the latest firmware.
The motors respond well to user controls, and we are displaying the position and velocity of each motor on a Shuffleboard display. We see the dropouts frequently. This makes closed loop control impossible.
Where should we look for more diagnostic data?