So our motor controllers are ALWAYS flashing orange no matter what we change in our code. We know it’s not a problem with the electrical because the phoenix tuner is able to get them to run directly, and in the drivers station under the “variables” section the “values” for the motor controllers change as we press joystick buttons. We’ve updated the motor controllers as well and still continue to have this problem.
Here’s what the phoenix tuner says under the self test snapshot for one of the motor controllers:
Victor SPX (Device ID 0) | CAN ID is 0
Device NOT ENABLED!
Motor Type: Brushed
Mode:0:PercentOutput | Output:0.00% [0.00 V]
Motor Leads: M+/M- off
Coast during neutral
VCompEn:F CurrLimited:F
PID0 (primary)
Feedback: No Sensor Selected
Pos: 0u | Vel: 0u/100ms
Slot Select: 0
Err: 0 u | iacc: 0 u-ms | derr: 0 u/ms
PID1 (aux)
Feedback: No Sensor Selected
Pos: 0u | Vel: 0u/100ms
Slot Select: 0
Err: 0 u | iacc: 0 u-ms | derr: 0 u/ms
Limit Switches
Forward:Open
Reverse:Open
Bus: 12.59V
Configurations
Nominal Output: [0.00, 0.00] | Peak Output: [-1.00, 1.00]
FRC Locked:1
“Light Device LED” clears sticky faults.
Build:Jan 24 2020 23:30:08
Press “Refresh” to close.
We understand that our problem may have to do with our motor controller not being enabled. Any ideas on how to fix this?
Thanks