Package com.ctre.phoenix.motorcontrol
Enum StatusFrameEnhanced
- All Implemented Interfaces:
Serializable
,Comparable<StatusFrameEnhanced>
,java.lang.constant.Constable
public enum StatusFrameEnhanced extends Enum<StatusFrameEnhanced>
The different status frames available to enhanced 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_11_UartGadgeteer
Gadgeteer statusStatus_12_Feedback1
Feedback for selected sensor on aux PID[1].Status_13_Base_PIDF0
Primary PIDStatus_14_Turn_PIDF1
Auxiliary PIDStatus_15_FirmwareApiStatus
Firmware & APIStatus_2_Feedback0
Feedback for selected sensor on primary PID[0].Status_21_FeedbackIntegrated
FX Integrated sensorStatus_3_Quadrature
Quadrature sensorStatus_4_AinTempVbat
Analog sensor, motor controller temperature, and voltage at input leadsStatus_6_Misc
Miscellaneous signalsStatus_7_CommStatus
Communication statusStatus_8_PulseWidth
Pulse width sensorStatus_9_MotProfBuffer
Motion profile buffer statusStatus_Brushless_Current
Brushless Current Status Includes Stator and Supply Current for Talon FX. -
Field Summary
Fields Modifier and Type Field Description int
value
Value of Enhanced StatusFrame -
Method Summary
Modifier and Type Method Description static StatusFrameEnhanced
valueOf(String name)
Returns the enum constant of this type with the specified name.static StatusFrameEnhanced[]
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_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. -
Status_21_FeedbackIntegrated
FX Integrated sensor
-
-
Field Details
-
value
Value of Enhanced 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
-