CTRE_Phoenix 5.20.2
com.ctre.phoenix.motorcontrol.SensorTerm Enum Reference

Public Member Functions

 SensorTerm (int value)
 
String toString ()
 

Static Public Member Functions

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

Public Attributes

 Sum0 =(0)
 
 Sum1 =(1)
 
 Diff0 =(2)
 
 Diff1 =(3)
 
int value
 

Detailed Description

Choose the sensor term for a motor controller

Constructor & Destructor Documentation

◆ SensorTerm()

com.ctre.phoenix.motorcontrol.SensorTerm.SensorTerm ( int  value)
inline

Create SensorTerm of specified value

Parameters
valueValue of SensorTerm

Member Function Documentation

◆ [static initializer]()

com.ctre.phoenix.motorcontrol.SensorTerm.[static initializer]
inlinestatic

static c'tor, prepare the map

◆ toString()

String com.ctre.phoenix.motorcontrol.SensorTerm.toString ( )
inline
Returns
string representation of SensorTerm

◆ valueOf() [1/2]

static SensorTerm com.ctre.phoenix.motorcontrol.SensorTerm.valueOf ( double  value)
inlinestatic

Get SensorTerm of specified value

Parameters
valueValue of SensorTerm
Returns
SensorTerm of specified value

◆ valueOf() [2/2]

static SensorTerm com.ctre.phoenix.motorcontrol.SensorTerm.valueOf ( int  value)
inlinestatic

Get SensorTerm of specified value

Parameters
valueValue of SensorTerm
Returns
SensorTerm of specified value

Member Data Documentation

◆ Diff0

com.ctre.phoenix.motorcontrol.SensorTerm.Diff0 =(2)

Choose Diff0 for a term

◆ Diff1

com.ctre.phoenix.motorcontrol.SensorTerm.Diff1 =(3)

Choose Diff1 for a term

◆ Sum0

com.ctre.phoenix.motorcontrol.SensorTerm.Sum0 =(0)

Choose Sum0 for a term

◆ Sum1

com.ctre.phoenix.motorcontrol.SensorTerm.Sum1 =(1)

Choose Sum1 for a term

◆ value

int com.ctre.phoenix.motorcontrol.SensorTerm.value

Value of SensorTerm


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