Package com.ctre.phoenix.motorcontrol
Enum Class StatusFrameEnhanced
- All Implemented Interfaces:
Serializable
,Comparable<StatusFrameEnhanced>
,Constable
The different status frames available to enhanced motor controllers
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGeneral StatusOld name for Status 10Correct name for Status 10Gadgeteer statusFeedback for selected sensor on aux PID[1].Primary PIDAuxiliary PIDFirmware & APIFeedback for selected sensor on primary PID[0].Quadrature sensorAnalog sensor, motor controller temperature, and voltage at input leadsMiscellaneous signalsCommunication statusPulse width sensorMotion profile buffer statusBrushless Current Status Includes Stator and Supply Current for Talon FX. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StatusFrameEnhanced
Returns the enum constant of this class with the specified name.static StatusFrameEnhanced[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Status_1_General
General Status -
Status_2_Feedback0
Feedback for selected sensor on primary PID[0]. -
Status_4_AinTempVbat
Analog sensor, motor controller temperature, and voltage at input leads -
Status_6_Misc
Miscellaneous signals -
Status_7_CommStatus
Communication status -
Status_9_MotProfBuffer
Motion profile buffer status -
Status_10_MotionMagic
Old name for Status 10- See Also:
-
Status_10_Targets
Correct name for Status 10 -
Status_12_Feedback1
Feedback for selected sensor on aux PID[1]. -
Status_13_Base_PIDF0
Primary PID -
Status_14_Turn_PIDF1
Auxiliary PID -
Status_15_FirmwareApiStatus
Firmware & API -
Status_3_Quadrature
Quadrature sensor -
Status_8_PulseWidth
Pulse width sensor -
Status_11_UartGadgeteer
Gadgeteer status -
Status_Brushless_Current
Brushless Current Status Includes Stator and Supply Current for Talon FX.
-
-
Field Details
-
value
Value of Enhanced StatusFrame
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-