CTRE_Phoenix  5.19.4
com.ctre.phoenix.VelocityPeriod Enum Reference

Public Member Functions

 VelocityPeriod (int initValue)
 
String toString ()
 

Static Public Member Functions

 [static initializer]
 
static VelocityPeriod valueOf (int value)
 
static VelocityPeriod valueOf (double value)
 

Public Attributes

 Period_1Ms =(1)
 
 Period_2Ms =(2)
 
 Period_5Ms =(5)
 
 Period_10Ms =(10)
 
 Period_20Ms =(20)
 
 Period_25Ms =(25)
 
 Period_50Ms =(50)
 
 Period_100Ms =(100)
 
final int value
 

Detailed Description

Enum for velocity periods used for CANifier

Constructor & Destructor Documentation

◆ VelocityPeriod()

com.ctre.phoenix.VelocityPeriod.VelocityPeriod ( int  initValue)
inline

Create a VelocityPeriod of initValue

Parameters
initValueValue of VelocityPeriod

Member Function Documentation

◆ [static initializer]()

com.ctre.phoenix.VelocityPeriod.[static initializer] ( )
inlinestatic

static c'tor, prepare the map

◆ toString()

String com.ctre.phoenix.VelocityPeriod.toString ( )
inline
Returns
String representation of specified VelocityPeriod

◆ valueOf() [1/2]

static VelocityPeriod com.ctre.phoenix.VelocityPeriod.valueOf ( int  value)
inlinestatic

Get velocityPeriod of specified value

Parameters
valuevalue of VelocityPeriod
Returns
VelocityPeriod of specified value

◆ valueOf() [2/2]

static VelocityPeriod com.ctre.phoenix.VelocityPeriod.valueOf ( double  value)
inlinestatic

Get VelocityPeriod of specified value

Parameters
valuevalue of VelocityPeriod
Returns
VelocityPeriod of specified value

Member Data Documentation

◆ Period_100Ms

com.ctre.phoenix.VelocityPeriod.Period_100Ms =(100)

100ms velocity measurement period

◆ Period_10Ms

com.ctre.phoenix.VelocityPeriod.Period_10Ms =(10)

10ms velocity measurement period

◆ Period_1Ms

com.ctre.phoenix.VelocityPeriod.Period_1Ms =(1)

1ms velocity measurement period

◆ Period_20Ms

com.ctre.phoenix.VelocityPeriod.Period_20Ms =(20)

20ms velocity measurement period

◆ Period_25Ms

com.ctre.phoenix.VelocityPeriod.Period_25Ms =(25)

25ms velocity measurement period

◆ Period_2Ms

com.ctre.phoenix.VelocityPeriod.Period_2Ms =(2)

2ms velocity measurement period

◆ Period_50Ms

com.ctre.phoenix.VelocityPeriod.Period_50Ms =(50)

50ms velocity measurement period

◆ Period_5Ms

com.ctre.phoenix.VelocityPeriod.Period_5Ms =(5)

5ms velocity measurement period

◆ value

final int com.ctre.phoenix.VelocityPeriod.value

Value of velocity period


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