CTRE_Phoenix
5.19.4
|
Public Member Functions | |
TalonFXFeedbackDevice (int initValue) | |
String | toString () |
FeedbackDevice | toFeedbackDevice () |
Static Public Member Functions | |
[static initializer] | |
static TalonFXFeedbackDevice | valueOf (int value) |
static TalonFXFeedbackDevice | valueOf (double value) |
Public Attributes | |
IntegratedSensor =(1) | |
SensorSum =(9) | |
SensorDifference =(10) | |
RemoteSensor0 =(11) | |
RemoteSensor1 =(12) | |
None =(14) | |
SoftwareEmulatedSensor =(15) | |
final int | value |
Choose the feedback device for a selected sensor
|
inline |
Create Feedback device of initValue
initValue | Value of TalonFXFeedbackDevice |
|
inlinestatic |
static c'tor, prepare the map
|
inline |
Helper method to convert to generic FeedbackDevice enum.
|
inline |
|
inlinestatic |
Get TalonFXFeedbackDevice from specified value
value | Value of TalonFXFeedbackDevice |
|
inlinestatic |
Get TalonFXFeedbackDevice from specified value
value | Value of TalonFXFeedbackDevice |
com.ctre.phoenix.motorcontrol.TalonFXFeedbackDevice.IntegratedSensor =(1) |
TalonFX supports an integrated sensor.
com.ctre.phoenix.motorcontrol.TalonFXFeedbackDevice.None =(14) |
Position and velocity will read 0.
com.ctre.phoenix.motorcontrol.TalonFXFeedbackDevice.RemoteSensor0 =(11) |
Sensor configured in RemoteFilter0
com.ctre.phoenix.motorcontrol.TalonFXFeedbackDevice.RemoteSensor1 =(12) |
Sensor configured in RemoteFilter1
com.ctre.phoenix.motorcontrol.TalonFXFeedbackDevice.SensorDifference =(10) |
Diff0 - Diff1
com.ctre.phoenix.motorcontrol.TalonFXFeedbackDevice.SensorSum =(9) |
Sum0 + Sum1
com.ctre.phoenix.motorcontrol.TalonFXFeedbackDevice.SoftwareEmulatedSensor =(15) |
Motor Controller will fake a sensor based on applied motor output.
final int com.ctre.phoenix.motorcontrol.TalonFXFeedbackDevice.value |
Value of Feedback Device