Class BaseTalonPIDSetConfiguration
java.lang.Object
com.ctre.phoenix.motorcontrol.can.BasePIDSetConfiguration
com.ctre.phoenix.motorcontrol.can.BaseTalonPIDSetConfiguration
- Direct Known Subclasses:
TalonFXPIDSetConfiguration
,TalonSRXPIDSetConfiguration
Configurables available to TalonSRX's PID
-
Field Summary
FieldsModifier and TypeFieldDescriptionFeedback device for a particular PID loop.Fields inherited from class com.ctre.phoenix.motorcontrol.can.BasePIDSetConfiguration
selectedFeedbackCoefficient
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
selectedFeedbackSensor
Feedback device for a particular PID loop. Note the FeedbackDevice enum holds all possible sensor types. Consult product documentation to confirm what is available. Alternatively the product specific enum can be used instead (see below).configs.primaryPID.selectedFeedbackSensor = TalonSRXFeedbackDevice.QuadEncoder.toFeedbackDevice(); configs.primaryPID.selectedFeedbackSensor = TalonFXFeedbackDevice.IntegratedSensor.toFeedbackDevice();
-
-
Constructor Details
-
BaseTalonPIDSetConfiguration
-
-
Method Details
-
toString
- Overrides:
toString
in classBasePIDSetConfiguration
- Returns:
- string representation of configs
-
toString
- Overrides:
toString
in classBasePIDSetConfiguration
- Parameters:
prependString
- String to prepend to configs- Returns:
- String representation of configs
-