CTRE_Phoenix 5.20.2
com.ctre.phoenix.sensors.SensorVelocityMeasPeriod Enum Reference

Public Member Functions

 SensorVelocityMeasPeriod (int initValue)
 
String toString ()
 

Static Public Member Functions

 [static initializer]
 
static SensorVelocityMeasPeriod valueOf (int value)
 
static SensorVelocityMeasPeriod 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

◆ SensorVelocityMeasPeriod()

com.ctre.phoenix.sensors.SensorVelocityMeasPeriod.SensorVelocityMeasPeriod ( int  initValue)
inline

Create a SensorVelocityMeasPeriod of initValue

Parameters
initValueValue of SensorVelocityMeasPeriod

Member Function Documentation

◆ [static initializer]()

com.ctre.phoenix.sensors.SensorVelocityMeasPeriod.[static initializer]
inlinestatic

static c'tor, prepare the map

◆ toString()

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

◆ valueOf() [1/2]

static SensorVelocityMeasPeriod com.ctre.phoenix.sensors.SensorVelocityMeasPeriod.valueOf ( double  value)
inlinestatic

Get SensorVelocityMeasPeriod of specified value

Parameters
valuevalue of SensorVelocityMeasPeriod
Returns
SensorVelocityMeasPeriod of specified value

◆ valueOf() [2/2]

static SensorVelocityMeasPeriod com.ctre.phoenix.sensors.SensorVelocityMeasPeriod.valueOf ( int  value)
inlinestatic

Get SensorVelocityMeasPeriod of specified value

Parameters
valuevalue of SensorVelocityMeasPeriod
Returns
SensorVelocityMeasPeriod of specified value

Member Data Documentation

◆ Period_100Ms

com.ctre.phoenix.sensors.SensorVelocityMeasPeriod.Period_100Ms =(100)

100ms velocity measurement period

◆ Period_10Ms

com.ctre.phoenix.sensors.SensorVelocityMeasPeriod.Period_10Ms =(10)

10ms velocity measurement period

◆ Period_1Ms

com.ctre.phoenix.sensors.SensorVelocityMeasPeriod.Period_1Ms =(1)

1ms velocity measurement period

◆ Period_20Ms

com.ctre.phoenix.sensors.SensorVelocityMeasPeriod.Period_20Ms =(20)

20ms velocity measurement period

◆ Period_25Ms

com.ctre.phoenix.sensors.SensorVelocityMeasPeriod.Period_25Ms =(25)

25ms velocity measurement period

◆ Period_2Ms

com.ctre.phoenix.sensors.SensorVelocityMeasPeriod.Period_2Ms =(2)

2ms velocity measurement period

◆ Period_50Ms

com.ctre.phoenix.sensors.SensorVelocityMeasPeriod.Period_50Ms =(50)

50ms velocity measurement period

◆ Period_5Ms

com.ctre.phoenix.sensors.SensorVelocityMeasPeriod.Period_5Ms =(5)

5ms velocity measurement period

◆ value

final int com.ctre.phoenix.sensors.SensorVelocityMeasPeriod.value

Value of velocity period


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