Package com.ctre.phoenix.motorcontrol
Enum StatusFrame
- All Implemented Interfaces:
Serializable
,Comparable<StatusFrame>
,java.lang.constant.Constable
public enum StatusFrame extends Enum<StatusFrame>
The different status frames available to motor controllers
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description Status_1_General
General StatusStatus_10_MotionMagic
Old name for Status 10Status_10_Targets
Correct name for Status 10Status_12_Feedback1
Feedback for selected sensor on aux PID[1].Status_13_Base_PIDF0
Primary PIDStatus_14_Turn_PIDF1
Auxiliary PIDStatus_15_FirmwareApiStatus
Firmware & API status informationStatus_17_Targets1
MotionProfile Targets for Auxiliary PID1.Status_2_Feedback0
Feedback for selected sensor on primary PID[0].Status_4_AinTempVbat
Analog sensor, motor controller temperature, and voltage at input leadsStatus_6_Misc
Miscellaneous signalsStatus_7_CommStatus
Communication statusStatus_9_MotProfBuffer
Motion profile buffer status -
Field Summary
Fields Modifier and Type Field Description int
value
Value of StatusFrame -
Method Summary
Modifier and Type Method Description static StatusFrame
valueOf(String name)
Returns the enum constant of this type with the specified name.static StatusFrame[]
values()
Returns an array containing the constants of this enum type, 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:
Use Status_10_Targets instead.
-
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 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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-