CTRE_Phoenix 5.20.2
|
Public Member Functions | |
VictorSPXControlMode (int initValue) | |
ControlMode | toControlMode () |
Public Attributes | |
PercentOutput =(0) | |
Position =(1) | |
Velocity =(2) | |
Follower =(5) | |
MotionProfile =(6) | |
MotionMagic =(7) | |
MotionProfileArc =(10) | |
Disabled =(15) | |
final int | value |
Choose the control mode for a VictorSPX.
|
inline |
Create VictorSPXControlMode of initValue
initValue | Value of VictorSPXControlMode |
|
inline |
Helper method to convert to generic ControlMode enum.
com.ctre.phoenix.motorcontrol.VictorSPXControlMode.Disabled =(15) |
Disable Motor Controller
com.ctre.phoenix.motorcontrol.VictorSPXControlMode.Follower =(5) |
Follow other motor controller
com.ctre.phoenix.motorcontrol.VictorSPXControlMode.MotionMagic =(7) |
Motion Magic
com.ctre.phoenix.motorcontrol.VictorSPXControlMode.MotionProfile =(6) |
Motion Profile
com.ctre.phoenix.motorcontrol.VictorSPXControlMode.MotionProfileArc =(10) |
Motion Profile with auxiliary output
com.ctre.phoenix.motorcontrol.VictorSPXControlMode.PercentOutput =(0) |
Percent output [-1,1]
com.ctre.phoenix.motorcontrol.VictorSPXControlMode.Position =(1) |
Position closed loop
final int com.ctre.phoenix.motorcontrol.VictorSPXControlMode.value |
Value of control mode
com.ctre.phoenix.motorcontrol.VictorSPXControlMode.Velocity =(2) |
Velocity closed loop