9 namespace motorcontrol {
224 default:
return "InvalidValue";
244 default:
return "InvalidValue";
261 default:
return "InvalidValue";
Class to handle feedback device routines.
Definition FeedbackDevice.h:205
static std::string toString(TalonSRXFeedbackDevice value)
Gets the string representation of selected feedback device.
Definition FeedbackDevice.h:232
static std::string toString(RemoteFeedbackDevice value)
Gets the string representation of selected remote feedback device.
Definition FeedbackDevice.h:252
static std::string toString(FeedbackDevice value)
Gets the string representation of selected feedback device.
Definition FeedbackDevice.h:212
RemoteFeedbackDevice
Choose the remote feedback device for a motor controller.
Definition FeedbackDevice.h:131
@ 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.
@ 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:72
@ 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.
WPI Compliant CANcoder class.
Definition CANCoderStatusFrame.h:4