CTRE_Phoenix 5.20.2
|
Public Member Functions | |
FeedbackDevice (int initValue) | |
String | toString () |
Static Public Member Functions | |
[static initializer] | |
static FeedbackDevice | valueOf (int value) |
static FeedbackDevice | valueOf (double value) |
Public Attributes | |
QuadEncoder =(0) | |
IntegratedSensor =(1) | |
Analog =(2) | |
Tachometer =(4) | |
PulseWidthEncodedPosition =(8) | |
SensorSum =(9) | |
SensorDifference =(10) | |
RemoteSensor0 =(11) | |
RemoteSensor1 =(12) | |
None =(14) | |
SoftwareEmulatedSensor =(15) | |
CTRE_MagEncoder_Absolute =(8) | |
CTRE_MagEncoder_Relative =(0) | |
final int | value |
Choose the feedback device for a selected sensor. Consult product-specific documentation to determine what is available/supported for your device.
|
inline |
Create Feedback device of initValue
initValue | Value of FeedbackDevice |
|
inlinestatic |
static c'tor, prepare the map
|
inline |
|
inlinestatic |
Get FeedbackDevice from specified value
value | Value of FeedbackDevice |
|
inlinestatic |
Get FeedbackDevice from specified value
value | Value of FeedbackDevice |
com.ctre.phoenix.motorcontrol.FeedbackDevice.Analog =(2) |
Analog potentiometer/encoder
com.ctre.phoenix.motorcontrol.FeedbackDevice.CTRE_MagEncoder_Absolute =(8) |
CTR mag encoder configured in absolute, is the same as a PWM sensor.
com.ctre.phoenix.motorcontrol.FeedbackDevice.CTRE_MagEncoder_Relative =(0) |
CTR mag encoder configured in relative, is the same as an quadrature encoder sensor.
com.ctre.phoenix.motorcontrol.FeedbackDevice.IntegratedSensor =(1) |
TalonFX supports an integrated sensor.
com.ctre.phoenix.motorcontrol.FeedbackDevice.None =(14) |
Position and velocity will read 0.
com.ctre.phoenix.motorcontrol.FeedbackDevice.PulseWidthEncodedPosition =(8) |
CTRE Mag Encoder in Relative mode or any other device that uses PWM to encode its output
com.ctre.phoenix.motorcontrol.FeedbackDevice.QuadEncoder =(0) |
Quadrature encoder
com.ctre.phoenix.motorcontrol.FeedbackDevice.RemoteSensor0 =(11) |
Sensor configured in RemoteFilter0
com.ctre.phoenix.motorcontrol.FeedbackDevice.RemoteSensor1 =(12) |
Sensor configured in RemoteFilter1
com.ctre.phoenix.motorcontrol.FeedbackDevice.SensorDifference =(10) |
Diff0 - Diff1
com.ctre.phoenix.motorcontrol.FeedbackDevice.SensorSum =(9) |
Sum0 + Sum1
com.ctre.phoenix.motorcontrol.FeedbackDevice.SoftwareEmulatedSensor =(15) |
Motor Controller will fake a sensor based on applied motor output.
com.ctre.phoenix.motorcontrol.FeedbackDevice.Tachometer =(4) |
Tachometer
final int com.ctre.phoenix.motorcontrol.FeedbackDevice.value |
Value of Feedback Device