Package com.ctre.phoenix.motorcontrol
Enum ControlFrameEnhanced
- All Implemented Interfaces:
Serializable
,Comparable<ControlFrameEnhanced>
,java.lang.constant.Constable
public enum ControlFrameEnhanced extends Enum<ControlFrameEnhanced>
Control Frames for enhanced motor controllers
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description Control_2_Enable_50m
ControlControl_3_General
General Control frame for motor controlControl_4_Advanced
Advanced Control frame for motor controlControl_5_FeedbackOutputOverride
Control frame to override feedback outputControl_6_MotProfAddTrajPoint
Control frame for adding trajectory points from Stream object -
Field Summary
Fields Modifier and Type Field Description int
value
Value of enhanced control frame -
Method Summary
Modifier and Type Method Description static ControlFrameEnhanced
valueOf(String name)
Returns the enum constant of this type with the specified name.static ControlFrameEnhanced[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Control_2_Enable_50m
Control -
Control_3_General
General Control frame for motor control -
Control_4_Advanced
Advanced Control frame for motor control -
Control_5_FeedbackOutputOverride
Control frame to override feedback output -
Control_6_MotProfAddTrajPoint
Control frame for adding trajectory points from Stream object
-
-
Field Details
-
value
Value of enhanced control frame
-
-
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
-