BaseTalonConfiguration

class phoenix5.BaseTalonConfiguration(defaultFeedbackDevice: phoenix5._ctre.FeedbackDevice)

Bases: BaseMotorControllerConfiguration

Configurables available to BaseTalon

property auxiliaryPID

Auxiliary PID configuration

property diff0Term

Feedback Device for Diff 0 Term 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.diff0Term = (FeedbackDevice)TalonSRXFeedbackDevice::QuadEncoder; * configs.diff0Term = (FeedbackDevice)TalonFXFeedbackDevice::IntegratedSensor; * @endcode

property diff1Term

Feedback Device for Diff 1 Term 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.diff1Term = (FeedbackDevice)TalonSRXFeedbackDevice::QuadEncoder; * configs.diff1Term = (FeedbackDevice)TalonFXFeedbackDevice::IntegratedSensor; * @endcode

property forwardLimitSwitchDeviceID

Forward limit switch device ID

Limit Switch device id isn’t used unless device is a remote

property forwardLimitSwitchNormal

Forward limit switch normally open/closed

property forwardLimitSwitchSource

Forward Limit Switch Source

User can choose between the feedback connector, remote Talon SRX, CANifier, or deactivate the feature

property primaryPID

Primary PID configuration

property reverseLimitSwitchDeviceID

Reverse limit switch device ID

Limit Switch device id isn’t used unless device is a remote

property reverseLimitSwitchNormal

Reverse limit switch normally open/closed

property reverseLimitSwitchSource

Reverse Limit Switch Source

User can choose between the feedback connector, remote Talon SRX, CANifier, or deactivate the feature

property sum0Term

Feedback Device for Sum 0 Term 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.sum0Term = (FeedbackDevice)TalonSRXFeedbackDevice::QuadEncoder; * configs.sum0Term = (FeedbackDevice)TalonFXFeedbackDevice::IntegratedSensor; * @endcode

property sum1Term

Feedback Device for Sum 1 Term 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.sum1Term = (FeedbackDevice)TalonSRXFeedbackDevice::QuadEncoder; * configs.sum1Term = (FeedbackDevice)TalonFXFeedbackDevice::IntegratedSensor; * @endcode

toString(prependString: str) str
Parameters:

prependString – String to prepend to all the configs

Returns:

String representation of all the configs