Package com.ctre.phoenix.motorcontrol
Enum Class StatusFrame
- All Implemented Interfaces:
Serializable
,Comparable<StatusFrame>
,java.lang.constant.Constable
The different status frames available to 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 10Feedback for selected sensor on aux PID[1].Primary PIDAuxiliary PIDFirmware and API status informationMotionProfile Targets for Auxiliary PID1.Feedback for selected sensor on primary PID[0].Analog sensor, motor controller temperature, and voltage at input leadsMiscellaneous signalsCommunication statusMotion profile buffer status -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StatusFrame
Returns the enum constant of this class with the specified name.static StatusFrame[]
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 and API status information -
Status_17_Targets1
MotionProfile Targets for Auxiliary PID1.
-
-
Field Details
-
value
Value of 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
-