Package com.ctre.phoenix.motorcontrol
Enum Class ControlFrame
- All Implemented Interfaces:
Serializable
,Comparable<ControlFrame>
,Constable
Control Frames for motor controllers
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionGeneral Control frame for motor controlAdvanced Control frame for motor controlControl frame for adding trajectory points from Stream object -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ControlFrame
Returns the enum constant of this class with the specified name.static ControlFrame[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Control_3_General
General Control frame for motor control -
Control_4_Advanced
Advanced Control frame for motor control -
Control_6_MotProfAddTrajPoint
Control frame for adding trajectory points from Stream object
-
-
Field Details
-
value
Value of Control Frame
-
-
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
-