9 namespace motorcontrol {
19 namespace motorcontrol {
Collection of sensors available to the Talon FX.
Definition: TalonFXSensorCollection.h:40
TalonFXSensorCollection(ctre::phoenix::motorcontrol::can::BaseTalon &motorController)
Constructor for TalonFXSensorCollection.
double GetIntegratedSensorVelocity()
Get the IntegratedSensor velocity of the Talon FX, regardless of whether it is actually being used fo...
double GetIntegratedSensorAbsolutePosition()
Get the IntegratedSensor absolute position of the Talon FX, regardless of whether it is actually bein...
ErrorCode SetIntegratedSensorPosition(double newPosition, int timeoutMs=0)
Set the IntegratedSensor reported position.
int IsFwdLimitSwitchClosed()
Is forward limit switch closed.
int IsRevLimitSwitchClosed()
Is reverse limit switch closed.
double GetIntegratedSensorPosition()
Get the IntegratedSensor position of the Talon FX, regardless of whether it is actually being used fo...
ErrorCode SetIntegratedSensorPositionToAbsolute(int timeoutMs=0)
Set the IntegratedSensor reported position based on the absolute position.
CTRE Talon SRX Motor Controller when used on CAN Bus.
Definition: BaseTalon.h:267
ErrorCode
Definition: ErrorCode.h:13
namespace ctre
Definition: paramEnum.h:5