CTRE_Phoenix 5.20.2
|
Public Member Functions | |
boolean | hasAnyFault () |
int | toBitfield () |
void | update (int bits) |
String | toString () |
Public Attributes | |
boolean | UnderVoltage |
boolean | ForwardLimitSwitch |
boolean | ReverseLimitSwitch |
boolean | ForwardSoftLimit |
boolean | ReverseSoftLimit |
boolean | HardwareFailure |
boolean | ResetDuringEn |
boolean | SensorOverflow |
boolean | SensorOutOfPhase |
boolean | HardwareESDReset |
boolean | RemoteLossOfSignal |
boolean | APIError |
boolean | SupplyOverV |
boolean | SupplyUnstable |
All the faults available to motor controllers
|
inline |
|
inline |
|
inline |
|
inline |
Updates current fault list with specified bit field of faults
bits | bit field of faults to update with |
boolean com.ctre.phoenix.motorcontrol.Faults.APIError |
API error detected. Make sure API and firmware versions are compatible.
boolean com.ctre.phoenix.motorcontrol.Faults.ForwardLimitSwitch |
Forward limit switch is tripped and device is trying to go forward Only trips when the device is limited
boolean com.ctre.phoenix.motorcontrol.Faults.ForwardSoftLimit |
Sensor is beyond forward soft limit and device is trying to go forward Only trips when the device is limited
boolean com.ctre.phoenix.motorcontrol.Faults.HardwareESDReset |
Not used,
boolean com.ctre.phoenix.motorcontrol.Faults.HardwareFailure |
Device detects hardware failure
boolean com.ctre.phoenix.motorcontrol.Faults.RemoteLossOfSignal |
Remote Sensor is no longer detected on bus
boolean com.ctre.phoenix.motorcontrol.Faults.ResetDuringEn |
Device was powered-on or reset while robot is enabled. Check your breakers and wiring.
boolean com.ctre.phoenix.motorcontrol.Faults.ReverseLimitSwitch |
Reverse limit switch is tripped and device is trying to go reverse Only trips when the device is limited
boolean com.ctre.phoenix.motorcontrol.Faults.ReverseSoftLimit |
Sensor is beyond reverse soft limit and device is trying to go reverse Only trips when the device is limited
boolean com.ctre.phoenix.motorcontrol.Faults.SensorOutOfPhase |
Device detects its sensor is out of phase
boolean com.ctre.phoenix.motorcontrol.Faults.SensorOverflow |
Device's sensor overflowed
boolean com.ctre.phoenix.motorcontrol.Faults.SupplyOverV |
Supply is well above the rated voltage of the hardware. This fault is specific to Brushless.
boolean com.ctre.phoenix.motorcontrol.Faults.SupplyUnstable |
Supply is rapidly fluctuating and unstable. This fault is specific to Brushless.
boolean com.ctre.phoenix.motorcontrol.Faults.UnderVoltage |
Motor Controller is under 6.5V