WPI_TalonSRX
- class phoenix5.WPI_TalonSRX(deviceNumber: int)
Bases:
TalonSRX
,WPI_BaseMotorController
CTRE Talon SRX Motor Controller when used on CAN Bus.
Constructor for a WPI_TalonSRX
- Parameters:
deviceNumber – Device ID of TalonSRX
- configSelectedFeedbackSensor(*args, **kwargs)
Overloaded function.
configSelectedFeedbackSensor(self: phoenix5._ctre.WPI_TalonSRX, feedbackDevice: phoenix5._ctre.FeedbackDevice, pidIdx: int = 0, timeoutMs: int = 0) -> phoenix5._ctre.ErrorCode
configSelectedFeedbackSensor(self: phoenix5._ctre.WPI_TalonSRX, feedbackDevice: phoenix5._ctre.RemoteFeedbackDevice, pidIdx: int = 0, timeoutMs: int = 0) -> phoenix5._ctre.ErrorCode
- set(*args, **kwargs)
Overloaded function.
set(self: phoenix5._ctre.WPI_TalonSRX, value: float) -> None
set(self: phoenix5._ctre.WPI_TalonSRX, mode: phoenix5._ctre.ControlMode, value: float) -> None
set(self: phoenix5._ctre.WPI_TalonSRX, mode: phoenix5._ctre.ControlMode, demand0: float, demand1Type: phoenix5._ctre.DemandType, demand1: float) -> None
set(self: phoenix5._ctre.WPI_TalonSRX, mode: phoenix5._ctre.TalonSRXControlMode, value: float) -> None
set(self: phoenix5._ctre.WPI_TalonSRX, mode: phoenix5._ctre.TalonSRXControlMode, demand0: float, demand1Type: phoenix5._ctre.DemandType, demand1: float) -> None
- setInverted(*args, **kwargs)
Overloaded function.
setInverted(self: phoenix5._ctre.WPI_TalonSRX, invertType: phoenix5._ctre.InvertType) -> None
setInverted(self: phoenix5._ctre.WPI_TalonSRX, bInvert: bool) -> None
- setVoltage(output: wpimath.units.volts) None