Today we were testing a mechanism with a NEO and it was doing some weird things,
The getOutputCurrent method was returning 6000 amps (which is obviously impossible)
When any resistance is applied to the motor it throws an error and the motor shuts off temporarily and then starts back up seemingly randomly, the error in question looked something like this [CAN SPARK MAX] timed out while waiting for Periodic Status 1 [CAN SPARK MAX] WPILib or External HAL Error: CAN: Message not found.
EDIT: The other NEO / Spark Maxes on the bot don’t have this issue
I would make sure that the controller is running the latest firmware and that the encoder connector is seated fully in the port. I would also double-check your CAN bus wiring for any possible disconnects.
Does the motor exhibit the same behavior when connected to a different Spark Max controller? That would help narrow the issue to either the motor or the controller. If it is an issue with the motor, I would recommend contacting [email protected] to see if they can help your further.
It is running the most up-to-date firmware, I contacted REV (still waiting on a response), the encoder wire is fully connected, and I will try to swap the controller and see if that fixes it.
I was having the same issue, had to flash the firmware again holding down the button and plugging in the USB, and it worked but only half of my robot works…