CTRE_Phoenix 5.20.2
com.ctre.phoenix.motion.SetValueMotionProfile Enum Reference

Public Member Functions

 SetValueMotionProfile (int initValue)
 

Static Public Member Functions

static SetValueMotionProfile valueOf (int value)
 

Public Attributes

 Invalid =(-1)
 
 Disable =(0)
 
 Enable =(1)
 
 Hold =(2)
 
final int value
 

Detailed Description

Choose what value to set to the motion profile

Constructor & Destructor Documentation

◆ SetValueMotionProfile()

com.ctre.phoenix.motion.SetValueMotionProfile.SetValueMotionProfile ( int  initValue)
inline

Create SetValueMotionProfile of initValue

Parameters
initValueValue to create SetValueMotionProfile

Member Function Documentation

◆ valueOf()

static SetValueMotionProfile com.ctre.phoenix.motion.SetValueMotionProfile.valueOf ( int  value)
inlinestatic

Get SetValueMotionProfile from specified value

Parameters
valuevalue to get SetValueMotionProfile
Returns
SetValueMotionProfile of specified value

Member Data Documentation

◆ Disable

com.ctre.phoenix.motion.SetValueMotionProfile.Disable =(0)

Disable motion profile

◆ Enable

com.ctre.phoenix.motion.SetValueMotionProfile.Enable =(1)

Enable motion profile

◆ Hold

com.ctre.phoenix.motion.SetValueMotionProfile.Hold =(2)

Hold motion profile This will keep motor controllers enabled and attempt to servo to the current position

◆ Invalid

com.ctre.phoenix.motion.SetValueMotionProfile.Invalid =(-1)

Invalid setting

◆ value

final int com.ctre.phoenix.motion.SetValueMotionProfile.value

The documentation for this enum was generated from the following file: