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

Public Member Functions

 RemoteFeedbackDevice (int initValue)
 
FeedbackDevice getFeedbackDevice ()
 
String toString ()
 

Static Public Member Functions

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

Public Attributes

 FactoryDefaultOff =(0)
 
 SensorSum =(9)
 
 SensorDifference =(10)
 
 RemoteSensor0 =(11)
 
 RemoteSensor1 =(12)
 
 None =(14)
 
 SoftwareEmulatedSensor =(15)
 
final int value
 

Detailed Description

Choose the remote feedback device for a motor controller

Constructor & Destructor Documentation

◆ RemoteFeedbackDevice()

com.ctre.phoenix.motorcontrol.RemoteFeedbackDevice.RemoteFeedbackDevice ( int  initValue)
inline

Create RemoteFeedbackDevice of initValue

Parameters
initValueValue of RemoteFeedbackDevice

Member Function Documentation

◆ [static initializer]()

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

static c'tor, prepare the map

◆ getFeedbackDevice()

FeedbackDevice com.ctre.phoenix.motorcontrol.RemoteFeedbackDevice.getFeedbackDevice ( )
inline

◆ toString()

String com.ctre.phoenix.motorcontrol.RemoteFeedbackDevice.toString ( )
inline
Returns
String representation of selected feedback device

◆ valueOf() [1/2]

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

Get RemoteFeedbackDevice from specified value

Parameters
valueValue of RemoteFeedbackDevice
Returns
RemoteFeedbackDevice of specified value

◆ valueOf() [2/2]

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

Get RemoteFeedbackDevice from specified value

Parameters
valueValue of RemoteFeedbackDevice
Returns
RemoteFeedbackDevice of specified value

Member Data Documentation

◆ FactoryDefaultOff

com.ctre.phoenix.motorcontrol.RemoteFeedbackDevice.FactoryDefaultOff =(0)

Factory default setting for non-enhanced motor controllers

Deprecated:
Use "None" instead.

◆ None

com.ctre.phoenix.motorcontrol.RemoteFeedbackDevice.None =(14)

Position and velocity will read 0.

◆ RemoteSensor0

com.ctre.phoenix.motorcontrol.RemoteFeedbackDevice.RemoteSensor0 =(11)

Use the sensor configured in remote filter0

◆ RemoteSensor1

com.ctre.phoenix.motorcontrol.RemoteFeedbackDevice.RemoteSensor1 =(12)

Use the sensor configured in remote filter1

◆ SensorDifference

com.ctre.phoenix.motorcontrol.RemoteFeedbackDevice.SensorDifference =(10)

Use Diff0 - Diff1

◆ SensorSum

com.ctre.phoenix.motorcontrol.RemoteFeedbackDevice.SensorSum =(9)

Use Sum0 + Sum1

◆ SoftwareEmulatedSensor

com.ctre.phoenix.motorcontrol.RemoteFeedbackDevice.SoftwareEmulatedSensor =(15)

Motor Controller will fake a sensor based on applied motor output.

◆ value

final int com.ctre.phoenix.motorcontrol.RemoteFeedbackDevice.value

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