CTRE_Phoenix  5.19.4
com.ctre.phoenix.sensors.SensorTimeBase Enum Reference

Public Member Functions

 SensorTimeBase (int initValue)
 
String toString ()
 

Static Public Member Functions

static SensorTimeBase valueOf (int value)
 

Public Attributes

 Per100Ms_Legacy =(0)
 
 PerSecond =(1)
 
 PerMinute =(2)
 
final int value
 

Constructor & Destructor Documentation

◆ SensorTimeBase()

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

Create SensorTimeBase of initValue

Parameters
initValueValue of SensorTimeBase

Member Function Documentation

◆ toString()

String com.ctre.phoenix.sensors.SensorTimeBase.toString ( )
inline

String representation of specified SensorTimeBase

Parameters
valueSensorTimeBase to convert to a string
Returns
string representation of SensorTimeBase

◆ valueOf()

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

public lookup to convert int to enum

Member Data Documentation

◆ Per100Ms_Legacy

com.ctre.phoenix.sensors.SensorTimeBase.Per100Ms_Legacy =(0)

Legacy Mode

◆ PerMinute

com.ctre.phoenix.sensors.SensorTimeBase.PerMinute =(2)

Per-Minute Velocities

◆ PerSecond

com.ctre.phoenix.sensors.SensorTimeBase.PerSecond =(1)

Per-Second Velocities


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