Package com.ctre.phoenixpro.signals
Enum ControlModeValue
- All Implemented Interfaces:
Serializable
,Comparable<ControlModeValue>
,java.lang.constant.Constable
@Deprecated(forRemoval=true) public enum ControlModeValue extends Enum<ControlModeValue>
Deprecated, for removal: This API element is subject to removal in a future version.
Classes in the phoenixpro package will be removed in 2024.
Users should instead use classes from the phoenix6 package.
The active control mode of the motor controller
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description CoastOut
Deprecated, for removal: This API element is subject to removal in a future version.DisabledOutput
Deprecated, for removal: This API element is subject to removal in a future version.DutyCycleFOC
Deprecated, for removal: This API element is subject to removal in a future version.DutyCycleOut
Deprecated, for removal: This API element is subject to removal in a future version.Follower
Deprecated, for removal: This API element is subject to removal in a future version.MotionMagicDutyCycle
Deprecated, for removal: This API element is subject to removal in a future version.MotionMagicDutyCycleFOC
Deprecated, for removal: This API element is subject to removal in a future version.MotionMagicTorqueCurrentFOC
Deprecated, for removal: This API element is subject to removal in a future version.MotionMagicVoltage
Deprecated, for removal: This API element is subject to removal in a future version.MotionMagicVoltageFOC
Deprecated, for removal: This API element is subject to removal in a future version.NeutralOut
Deprecated, for removal: This API element is subject to removal in a future version.PositionDutyCycle
Deprecated, for removal: This API element is subject to removal in a future version.PositionDutyCycleFOC
Deprecated, for removal: This API element is subject to removal in a future version.PositionTorqueCurrentFOC
Deprecated, for removal: This API element is subject to removal in a future version.PositionVoltage
Deprecated, for removal: This API element is subject to removal in a future version.PositionVoltageFOC
Deprecated, for removal: This API element is subject to removal in a future version.Reserved
Deprecated, for removal: This API element is subject to removal in a future version.StaticBrake
Deprecated, for removal: This API element is subject to removal in a future version.TorqueCurrentFOC
Deprecated, for removal: This API element is subject to removal in a future version.VelocityDutyCycle
Deprecated, for removal: This API element is subject to removal in a future version.VelocityDutyCycleFOC
Deprecated, for removal: This API element is subject to removal in a future version.VelocityTorqueCurrentFOC
Deprecated, for removal: This API element is subject to removal in a future version.VelocityVoltage
Deprecated, for removal: This API element is subject to removal in a future version.VelocityVoltageFOC
Deprecated, for removal: This API element is subject to removal in a future version.VoltageFOC
Deprecated, for removal: This API element is subject to removal in a future version.VoltageOut
Deprecated, for removal: This API element is subject to removal in a future version. -
Field Summary
Fields Modifier and Type Field Description int
value
Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and Type Method Description static ControlModeValue
valueOf(int value)
Deprecated, for removal: This API element is subject to removal in a future version.Gets ControlModeValue from specified valuestatic ControlModeValue
valueOf(String name)
Deprecated, for removal: This API element is subject to removal in a future version.Returns the enum constant of this type with the specified name.static ControlModeValue[]
values()
Deprecated, for removal: This API element is subject to removal in a future version.Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DisabledOutput
Deprecated, for removal: This API element is subject to removal in a future version. -
NeutralOut
Deprecated, for removal: This API element is subject to removal in a future version. -
StaticBrake
Deprecated, for removal: This API element is subject to removal in a future version. -
DutyCycleOut
Deprecated, for removal: This API element is subject to removal in a future version. -
PositionDutyCycle
Deprecated, for removal: This API element is subject to removal in a future version. -
VelocityDutyCycle
Deprecated, for removal: This API element is subject to removal in a future version. -
MotionMagicDutyCycle
Deprecated, for removal: This API element is subject to removal in a future version. -
DutyCycleFOC
Deprecated, for removal: This API element is subject to removal in a future version. -
PositionDutyCycleFOC
Deprecated, for removal: This API element is subject to removal in a future version. -
VelocityDutyCycleFOC
Deprecated, for removal: This API element is subject to removal in a future version. -
MotionMagicDutyCycleFOC
Deprecated, for removal: This API element is subject to removal in a future version. -
VoltageOut
Deprecated, for removal: This API element is subject to removal in a future version. -
PositionVoltage
Deprecated, for removal: This API element is subject to removal in a future version. -
VelocityVoltage
Deprecated, for removal: This API element is subject to removal in a future version. -
MotionMagicVoltage
Deprecated, for removal: This API element is subject to removal in a future version. -
VoltageFOC
Deprecated, for removal: This API element is subject to removal in a future version. -
PositionVoltageFOC
Deprecated, for removal: This API element is subject to removal in a future version. -
VelocityVoltageFOC
Deprecated, for removal: This API element is subject to removal in a future version. -
MotionMagicVoltageFOC
Deprecated, for removal: This API element is subject to removal in a future version. -
TorqueCurrentFOC
Deprecated, for removal: This API element is subject to removal in a future version. -
PositionTorqueCurrentFOC
Deprecated, for removal: This API element is subject to removal in a future version. -
VelocityTorqueCurrentFOC
Deprecated, for removal: This API element is subject to removal in a future version. -
MotionMagicTorqueCurrentFOC
Deprecated, for removal: This API element is subject to removal in a future version. -
Follower
Deprecated, for removal: This API element is subject to removal in a future version. -
Reserved
Deprecated, for removal: This API element is subject to removal in a future version. -
CoastOut
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Field Details
-
value
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
values
Deprecated, for removal: This API element is subject to removal in a future version.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
Deprecated, for removal: This API element is subject to removal in a future version.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
-
valueOf
Deprecated, for removal: This API element is subject to removal in a future version.Gets ControlModeValue from specified value- Parameters:
value
- Value of ControlModeValue- Returns:
- ControlModeValue of specified value
-