BaseTalonPIDSetConfiguration
- class phoenix5.BaseTalonPIDSetConfiguration(defaultFeedbackDevice: phoenix5._ctre.FeedbackDevice)
Bases:
BasePIDSetConfiguration
Configurables available to BaseTalon’s PID
- property 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. * @code * configs.primaryPID.selectedFeedbackSensor = (FeedbackDevice)TalonSRXFeedbackDevice::QuadEncoder; * configs.primaryPID.selectedFeedbackSensor = (FeedbackDevice)TalonFXFeedbackDevice::IntegratedSensor; * @endcode
- toString(prependString: str) str
- Parameters:
prependString – String to prepend to configs
- Returns:
String representation of configs