9 namespace motorcontrol {
273 default:
return "InvalidValue";
293 default:
return "InvalidValue";
301 [[deprecated(
"This device's Phoenix 5 API is deprecated for removal in the 2025 season."
302 "Users should update to Phoenix 6 firmware and migrate to the Phoenix 6 API."
303 "A migration guide is available at https://v6.docs.ctr-electronics.com/en/stable/docs/migration/migration-guide/index.html")]]
313 default:
return "InvalidValue";
330 default:
return "InvalidValue";
Class to handle feedback device routines.
Definition: FeedbackDevice.h:253
static std::string toString(TalonSRXFeedbackDevice value)
Gets the string representation of selected feedback device.
Definition: FeedbackDevice.h:281
static std::string toString(TalonFXFeedbackDevice value)
Gets the string representation of selected feedback device.
Definition: FeedbackDevice.h:304
static std::string toString(RemoteFeedbackDevice value)
Gets the string representation of selected remote feedback device.
Definition: FeedbackDevice.h:321
static std::string toString(FeedbackDevice value)
Gets the string representation of selected feedback device.
Definition: FeedbackDevice.h:260
@ None
Same as SetInverted(false)
TalonFXFeedbackDevice
Choose the feedback device for a Talon FX/Falcon 500.
Definition: FeedbackDevice.h:144
@ SensorDifference
Diff0 - Diff1.
@ None
Position and velocity will read 0.
@ RemoteSensor0
Sensor configured in RemoteFilter0.
@ IntegratedSensor
TalonFX supports an integrated sensor.
@ RemoteSensor1
Sensor configured in RemoteFilter1.
@ SoftwareEmulatedSensor
Motor Controller will fake a sensor based on applied motor output.
RemoteFeedbackDevice
Choose the remote feedback device for a motor controller.
Definition: FeedbackDevice.h:179
@ RemoteFeedbackDevice_SensorSum
[[deprecated("Use SensorSum instead.")]] Use Sum0 + Sum1
@ RemoteFeedbackDevice_SoftwareEmulatedSensor
[[deprecated("Use SoftwareEmulatedSensor instead.")]] Motor Controller will fake a sensor based on ap...
@ RemoteFeedbackDevice_FactoryDefaultOff
[[deprecated("Use None instead.")]] Factory default setting for non-enhanced motor controllers
@ SensorDifference
Use Diff0 - Diff1.
@ RemoteFeedbackDevice_RemoteSensor0
[[deprecated("Use RemoteSensor0 instead.")]] Use the sensor configured in filter0
@ None
Position and velocity will read 0.
@ RemoteFeedbackDevice_None
[[deprecated("Use None instead.")]] Position and velocity will read 0.
@ RemoteSensor0
Use the sensor configured in filter0.
@ RemoteFeedbackDevice_SensorDifference
[[deprecated("Use SensorDifference instead.")]] Use Diff0 - Diff1
@ SensorSum
Use Sum0 + Sum1.
@ RemoteSensor1
Use the sensor configured in filter1.
@ FactoryDefaultOff
[[deprecated("Use None instead.")]] Factory default setting for non-enhanced motor controllers
@ SoftwareEmulatedSensor
Motor Controller will fake a sensor based on applied motor output.
@ RemoteFeedbackDevice_RemoteSensor1
[[deprecated("Use RemoteSensor1 instead.")]] Use the sensor configured in filter1
FeedbackDevice
Choose the feedback device for a motor controller.
Definition: FeedbackDevice.h:14
@ CTRE_MagEncoder_Absolute
CTR mag encoder configured in absolute, is the same as a PWM sensor.
@ Analog
Analog potentiometer/encoder.
@ SensorDifference
Diff0 - Diff1.
@ None
Position and velocity will read 0.
@ RemoteSensor0
Sensor configured in RemoteFilter0.
@ PulseWidthEncodedPosition
CTRE Mag Encoder in Absolute mode or any other device that uses PWM to encode its output.
@ IntegratedSensor
TalonFX supports an integrated sensor.
@ QuadEncoder
Quadrature encoder.
@ RemoteSensor1
Sensor configured in RemoteFilter1.
@ CTRE_MagEncoder_Relative
CTR mag encoder configured in relative, is the same as an quadrature encoder sensor.
@ SoftwareEmulatedSensor
Motor Controller will fake a sensor based on applied motor output.
TalonSRXFeedbackDevice
Choose the feedback device for a Talon SRX.
Definition: FeedbackDevice.h:76
@ Analog
Analog potentiometer/encoder.
@ SensorDifference
Diff0 - Diff1.
@ None
Position and velocity will read 0.
@ RemoteSensor0
Sensor configured in RemoteFilter0.
@ PulseWidthEncodedPosition
CTRE Mag Encoder in Absolute mode or any other device that uses PWM to encode its output.
@ QuadEncoder
Quadrature encoder.
@ RemoteSensor1
Sensor configured in RemoteFilter1.
@ SoftwareEmulatedSensor
Motor Controller will fake a sensor based on applied motor output.
namespace ctre
Definition: paramEnum.h:5