CTRE Phoenix 6 C++ 25.0.0-beta-4
Loading...
Searching...
No Matches
ctre::phoenix6::hardware::traits::HasTalonSignals Class Referenceabstract

Contains all status signals available for devices that support Talon signals. More...

#include <ctre/phoenix6/hardware/traits/HasTalonSignals.hpp>

Inheritance diagram for ctre::phoenix6::hardware::traits::HasTalonSignals:
ctre::phoenix6::hardware::traits::CommonTalon ctre::phoenix6::hardware::traits::CommonTalonWithFOC ctre::phoenix6::hardware::core::CoreTalonFX ctre::phoenix6::hardware::TalonFX

Public Member Functions

virtual ~HasTalonSignals ()=default
 
virtual StatusSignal< int > & GetVersionMajor (bool refresh=true)=0
 App Major Version number.
 
virtual StatusSignal< int > & GetVersionMinor (bool refresh=true)=0
 App Minor Version number.
 
virtual StatusSignal< int > & GetVersionBugfix (bool refresh=true)=0
 App Bugfix Version number.
 
virtual StatusSignal< int > & GetVersionBuild (bool refresh=true)=0
 App Build Version number.
 
virtual StatusSignal< int > & GetVersion (bool refresh=true)=0
 Full Version of firmware in device.
 
virtual StatusSignal< int > & GetFaultField (bool refresh=true)=0
 Integer representing all fault flags reported by the device.
 
virtual StatusSignal< int > & GetStickyFaultField (bool refresh=true)=0
 Integer representing all (persistent) sticky fault flags reported by the device.
 
virtual StatusSignal< units::voltage::volt_t > & GetMotorVoltage (bool refresh=true)=0
 The applied (output) motor voltage.
 
virtual StatusSignal< signals::ForwardLimitValue > & GetForwardLimit (bool refresh=true)=0
 Forward Limit Pin.
 
virtual StatusSignal< signals::ReverseLimitValue > & GetReverseLimit (bool refresh=true)=0
 Reverse Limit Pin.
 
virtual StatusSignal< signals::AppliedRotorPolarityValue > & GetAppliedRotorPolarity (bool refresh=true)=0
 The applied rotor polarity as seen from the front of the motor.
 
virtual StatusSignal< units::dimensionless::scalar_t > & GetDutyCycle (bool refresh=true)=0
 The applied motor duty cycle.
 
virtual StatusSignal< units::current::ampere_t > & GetTorqueCurrent (bool refresh=true)=0
 Current corresponding to the torque output by the motor.
 
virtual StatusSignal< units::current::ampere_t > & GetStatorCurrent (bool refresh=true)=0
 Current corresponding to the stator windings.
 
virtual StatusSignal< units::current::ampere_t > & GetSupplyCurrent (bool refresh=true)=0
 Measured supply side current.
 
virtual StatusSignal< units::voltage::volt_t > & GetSupplyVoltage (bool refresh=true)=0
 Measured supply voltage to the device.
 
virtual StatusSignal< units::temperature::celsius_t > & GetDeviceTemp (bool refresh=true)=0
 Temperature of device.
 
virtual StatusSignal< units::temperature::celsius_t > & GetProcessorTemp (bool refresh=true)=0
 Temperature of the processor.
 
virtual StatusSignal< units::angular_velocity::turns_per_second_t > & GetRotorVelocity (bool refresh=true)=0
 Velocity of the motor rotor.
 
virtual StatusSignal< units::angle::turn_t > & GetRotorPosition (bool refresh=true)=0
 Position of the motor rotor.
 
virtual StatusSignal< units::angular_velocity::turns_per_second_t > & GetVelocity (bool refresh=true)=0
 Velocity of the device in mechanism rotations per second.
 
virtual StatusSignal< units::angle::turn_t > & GetPosition (bool refresh=true)=0
 Position of the device in mechanism rotations.
 
virtual StatusSignal< units::angular_acceleration::turns_per_second_squared_t > & GetAcceleration (bool refresh=true)=0
 Acceleration of the device in mechanism rotations per second².
 
virtual StatusSignal< signals::ControlModeValue > & GetControlMode (bool refresh=true)=0
 The active control mode of the motor controller.
 
virtual StatusSignal< signals::MotionMagicIsRunningValue > & GetMotionMagicIsRunning (bool refresh=true)=0
 Check if Motion MagicĀ® is running.
 
virtual StatusSignal< signals::DeviceEnableValue > & GetDeviceEnable (bool refresh=true)=0
 Indicates if device is actuator enabled.
 
virtual StatusSignal< int > & GetClosedLoopSlot (bool refresh=true)=0
 The slot that the closed-loop PID is using.
 
virtual StatusSignal< signals::MotorOutputStatusValue > & GetMotorOutputStatus (bool refresh=true)=0
 Assess the status of the motor output with respect to load and supply.
 
virtual StatusSignal< signals::DifferentialControlModeValue > & GetDifferentialControlMode (bool refresh=true)=0
 The active control mode of the differential controller.
 
virtual StatusSignal< units::angular_velocity::turns_per_second_t > & GetDifferentialAverageVelocity (bool refresh=true)=0
 Average component of the differential velocity of device.
 
virtual StatusSignal< units::angle::turn_t > & GetDifferentialAveragePosition (bool refresh=true)=0
 Average component of the differential position of device.
 
virtual StatusSignal< units::angular_velocity::turns_per_second_t > & GetDifferentialDifferenceVelocity (bool refresh=true)=0
 Difference component of the differential velocity of device.
 
virtual StatusSignal< units::angle::turn_t > & GetDifferentialDifferencePosition (bool refresh=true)=0
 Difference component of the differential position of device.
 
virtual StatusSignal< int > & GetDifferentialClosedLoopSlot (bool refresh=true)=0
 The slot that the closed-loop differential PID is using.
 
virtual StatusSignal< ctre::unit::newton_meters_per_ampere_t > & GetMotorKT (bool refresh=true)=0
 The torque constant (K_T) of the motor.
 
virtual StatusSignal< ctre::unit::rpm_per_volt_t > & GetMotorKV (bool refresh=true)=0
 The velocity constant (K_V) of the motor.
 
virtual StatusSignal< units::current::ampere_t > & GetMotorStallCurrent (bool refresh=true)=0
 The stall current of the motor at 12 V output.
 
virtual StatusSignal< signals::BridgeOutputValue > & GetBridgeOutput (bool refresh=true)=0
 The applied output of the bridge.
 
virtual StatusSignal< bool > & GetIsProLicensed (bool refresh=true)=0
 Whether the device is Phoenix Pro licensed.
 
virtual StatusSignal< units::temperature::celsius_t > & GetAncillaryDeviceTemp (bool refresh=true)=0
 Temperature of device from second sensor.
 
virtual StatusSignal< signals::ConnectedMotorValue > & GetConnectedMotor (bool refresh=true)=0
 The type of motor attached to the Talon.
 
virtual StatusSignal< bool > & GetFault_Hardware (bool refresh=true)=0
 Hardware fault occurred.
 
virtual StatusSignal< bool > & GetStickyFault_Hardware (bool refresh=true)=0
 Hardware fault occurred.
 
virtual StatusSignal< bool > & GetFault_ProcTemp (bool refresh=true)=0
 Processor temperature exceeded limit.
 
virtual StatusSignal< bool > & GetStickyFault_ProcTemp (bool refresh=true)=0
 Processor temperature exceeded limit.
 
virtual StatusSignal< bool > & GetFault_DeviceTemp (bool refresh=true)=0
 Device temperature exceeded limit.
 
virtual StatusSignal< bool > & GetStickyFault_DeviceTemp (bool refresh=true)=0
 Device temperature exceeded limit.
 
virtual StatusSignal< bool > & GetFault_Undervoltage (bool refresh=true)=0
 Device supply voltage dropped to near brownout levels.
 
virtual StatusSignal< bool > & GetStickyFault_Undervoltage (bool refresh=true)=0
 Device supply voltage dropped to near brownout levels.
 
virtual StatusSignal< bool > & GetFault_BootDuringEnable (bool refresh=true)=0
 Device boot while detecting the enable signal.
 
virtual StatusSignal< bool > & GetStickyFault_BootDuringEnable (bool refresh=true)=0
 Device boot while detecting the enable signal.
 
virtual StatusSignal< bool > & GetFault_UnlicensedFeatureInUse (bool refresh=true)=0
 An unlicensed feature is in use, device may not behave as expected.
 
virtual StatusSignal< bool > & GetStickyFault_UnlicensedFeatureInUse (bool refresh=true)=0
 An unlicensed feature is in use, device may not behave as expected.
 
virtual StatusSignal< bool > & GetFault_BridgeBrownout (bool refresh=true)=0
 Bridge was disabled most likely due to supply voltage dropping too low.
 
virtual StatusSignal< bool > & GetStickyFault_BridgeBrownout (bool refresh=true)=0
 Bridge was disabled most likely due to supply voltage dropping too low.
 
virtual StatusSignal< bool > & GetFault_RemoteSensorReset (bool refresh=true)=0
 The remote sensor has reset.
 
virtual StatusSignal< bool > & GetStickyFault_RemoteSensorReset (bool refresh=true)=0
 The remote sensor has reset.
 
virtual StatusSignal< bool > & GetFault_MissingDifferentialFX (bool refresh=true)=0
 The remote Talon used for differential control is not present on CAN Bus.
 
virtual StatusSignal< bool > & GetStickyFault_MissingDifferentialFX (bool refresh=true)=0
 The remote Talon used for differential control is not present on CAN Bus.
 
virtual StatusSignal< bool > & GetFault_RemoteSensorPosOverflow (bool refresh=true)=0
 The remote sensor position has overflowed.
 
virtual StatusSignal< bool > & GetStickyFault_RemoteSensorPosOverflow (bool refresh=true)=0
 The remote sensor position has overflowed.
 
virtual StatusSignal< bool > & GetFault_OverSupplyV (bool refresh=true)=0
 Supply Voltage has exceeded the maximum voltage rating of device.
 
virtual StatusSignal< bool > & GetStickyFault_OverSupplyV (bool refresh=true)=0
 Supply Voltage has exceeded the maximum voltage rating of device.
 
virtual StatusSignal< bool > & GetFault_UnstableSupplyV (bool refresh=true)=0
 Supply Voltage is unstable.
 
virtual StatusSignal< bool > & GetStickyFault_UnstableSupplyV (bool refresh=true)=0
 Supply Voltage is unstable.
 
virtual StatusSignal< bool > & GetFault_ReverseHardLimit (bool refresh=true)=0
 Reverse limit switch has been asserted.
 
virtual StatusSignal< bool > & GetStickyFault_ReverseHardLimit (bool refresh=true)=0
 Reverse limit switch has been asserted.
 
virtual StatusSignal< bool > & GetFault_ForwardHardLimit (bool refresh=true)=0
 Forward limit switch has been asserted.
 
virtual StatusSignal< bool > & GetStickyFault_ForwardHardLimit (bool refresh=true)=0
 Forward limit switch has been asserted.
 
virtual StatusSignal< bool > & GetFault_ReverseSoftLimit (bool refresh=true)=0
 Reverse soft limit has been asserted.
 
virtual StatusSignal< bool > & GetStickyFault_ReverseSoftLimit (bool refresh=true)=0
 Reverse soft limit has been asserted.
 
virtual StatusSignal< bool > & GetFault_ForwardSoftLimit (bool refresh=true)=0
 Forward soft limit has been asserted.
 
virtual StatusSignal< bool > & GetStickyFault_ForwardSoftLimit (bool refresh=true)=0
 Forward soft limit has been asserted.
 
virtual StatusSignal< bool > & GetFault_MissingSoftLimitRemote (bool refresh=true)=0
 The remote soft limit device is not present on CAN Bus.
 
virtual StatusSignal< bool > & GetStickyFault_MissingSoftLimitRemote (bool refresh=true)=0
 The remote soft limit device is not present on CAN Bus.
 
virtual StatusSignal< bool > & GetFault_MissingHardLimitRemote (bool refresh=true)=0
 The remote limit switch device is not present on CAN Bus.
 
virtual StatusSignal< bool > & GetStickyFault_MissingHardLimitRemote (bool refresh=true)=0
 The remote limit switch device is not present on CAN Bus.
 
virtual StatusSignal< bool > & GetFault_RemoteSensorDataInvalid (bool refresh=true)=0
 The remote sensor's data is no longer trusted.
 
virtual StatusSignal< bool > & GetStickyFault_RemoteSensorDataInvalid (bool refresh=true)=0
 The remote sensor's data is no longer trusted.
 
virtual StatusSignal< bool > & GetFault_FusedSensorOutOfSync (bool refresh=true)=0
 The remote sensor used for fusion has fallen out of sync to the local sensor.
 
virtual StatusSignal< bool > & GetStickyFault_FusedSensorOutOfSync (bool refresh=true)=0
 The remote sensor used for fusion has fallen out of sync to the local sensor.
 
virtual StatusSignal< bool > & GetFault_StatorCurrLimit (bool refresh=true)=0
 Stator current limit occured.
 
virtual StatusSignal< bool > & GetStickyFault_StatorCurrLimit (bool refresh=true)=0
 Stator current limit occured.
 
virtual StatusSignal< bool > & GetFault_SupplyCurrLimit (bool refresh=true)=0
 Supply current limit occured.
 
virtual StatusSignal< bool > & GetStickyFault_SupplyCurrLimit (bool refresh=true)=0
 Supply current limit occured.
 
virtual StatusSignal< bool > & GetFault_UsingFusedCANcoderWhileUnlicensed (bool refresh=true)=0
 Using Fused CANcoder feature while unlicensed.
 
virtual StatusSignal< bool > & GetStickyFault_UsingFusedCANcoderWhileUnlicensed (bool refresh=true)=0
 Using Fused CANcoder feature while unlicensed.
 
virtual StatusSignal< bool > & GetFault_StaticBrakeDisabled (bool refresh=true)=0
 Static brake was momentarily disabled due to excessive braking current while disabled.
 
virtual StatusSignal< bool > & GetStickyFault_StaticBrakeDisabled (bool refresh=true)=0
 Static brake was momentarily disabled due to excessive braking current while disabled.
 
virtual StatusSignal< double > & GetClosedLoopProportionalOutput (bool refresh=true)=0
 Closed loop proportional component.
 
virtual StatusSignal< double > & GetClosedLoopIntegratedOutput (bool refresh=true)=0
 Closed loop integrated component.
 
virtual StatusSignal< double > & GetClosedLoopFeedForward (bool refresh=true)=0
 Feedforward passed by the user.
 
virtual StatusSignal< double > & GetClosedLoopDerivativeOutput (bool refresh=true)=0
 Closed loop derivative component.
 
virtual StatusSignal< double > & GetClosedLoopOutput (bool refresh=true)=0
 Closed loop total output.
 
virtual StatusSignal< double > & GetClosedLoopReference (bool refresh=true)=0
 Value that the closed loop is targeting.
 
virtual StatusSignal< double > & GetClosedLoopReferenceSlope (bool refresh=true)=0
 Derivative of the target that the closed loop is targeting.
 
virtual StatusSignal< double > & GetClosedLoopError (bool refresh=true)=0
 The difference between target reference and current measurement.
 
virtual StatusSignal< double > & GetDifferentialOutput (bool refresh=true)=0
 The calculated motor output for differential followers.
 
virtual StatusSignal< double > & GetDifferentialClosedLoopProportionalOutput (bool refresh=true)=0
 Differential closed loop proportional component.
 
virtual StatusSignal< double > & GetDifferentialClosedLoopIntegratedOutput (bool refresh=true)=0
 Differential closed loop integrated component.
 
virtual StatusSignal< double > & GetDifferentialClosedLoopFeedForward (bool refresh=true)=0
 Differential Feedforward passed by the user.
 
virtual StatusSignal< double > & GetDifferentialClosedLoopDerivativeOutput (bool refresh=true)=0
 Differential closed loop derivative component.
 
virtual StatusSignal< double > & GetDifferentialClosedLoopOutput (bool refresh=true)=0
 Differential closed loop total output.
 
virtual StatusSignal< double > & GetDifferentialClosedLoopReference (bool refresh=true)=0
 Value that the differential closed loop is targeting.
 
virtual StatusSignal< double > & GetDifferentialClosedLoopReferenceSlope (bool refresh=true)=0
 Derivative of the target that the differential closed loop is targeting.
 
virtual StatusSignal< double > & GetDifferentialClosedLoopError (bool refresh=true)=0
 The difference between target differential reference and current measurement.
 
virtual ctre::phoenix::StatusCode SetPosition (units::angle::turn_t newValue, units::time::second_t timeoutSeconds)=0
 Sets the mechanism position of the device in mechanism rotations.
 
virtual ctre::phoenix::StatusCode SetPosition (units::angle::turn_t newValue)=0
 Sets the mechanism position of the device in mechanism rotations.
 
virtual ctre::phoenix::StatusCode ClearStickyFaults (units::time::second_t timeoutSeconds)=0
 Clear the sticky faults in the device.
 
virtual ctre::phoenix::StatusCode ClearStickyFaults ()=0
 Clear the sticky faults in the device.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_Hardware (units::time::second_t timeoutSeconds)=0
 Clear sticky fault: Hardware fault occurred.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_Hardware ()=0
 Clear sticky fault: Hardware fault occurred.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_ProcTemp (units::time::second_t timeoutSeconds)=0
 Clear sticky fault: Processor temperature exceeded limit.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_ProcTemp ()=0
 Clear sticky fault: Processor temperature exceeded limit.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_DeviceTemp (units::time::second_t timeoutSeconds)=0
 Clear sticky fault: Device temperature exceeded limit.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_DeviceTemp ()=0
 Clear sticky fault: Device temperature exceeded limit.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_Undervoltage (units::time::second_t timeoutSeconds)=0
 Clear sticky fault: Device supply voltage dropped to near brownout levels.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_Undervoltage ()=0
 Clear sticky fault: Device supply voltage dropped to near brownout levels.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_BootDuringEnable (units::time::second_t timeoutSeconds)=0
 Clear sticky fault: Device boot while detecting the enable signal.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_BootDuringEnable ()=0
 Clear sticky fault: Device boot while detecting the enable signal.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_UnlicensedFeatureInUse (units::time::second_t timeoutSeconds)=0
 Clear sticky fault: An unlicensed feature is in use, device may not behave as expected.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_UnlicensedFeatureInUse ()=0
 Clear sticky fault: An unlicensed feature is in use, device may not behave as expected.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_BridgeBrownout (units::time::second_t timeoutSeconds)=0
 Clear sticky fault: Bridge was disabled most likely due to supply voltage dropping too low.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_BridgeBrownout ()=0
 Clear sticky fault: Bridge was disabled most likely due to supply voltage dropping too low.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_RemoteSensorReset (units::time::second_t timeoutSeconds)=0
 Clear sticky fault: The remote sensor has reset.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_RemoteSensorReset ()=0
 Clear sticky fault: The remote sensor has reset.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_MissingDifferentialFX (units::time::second_t timeoutSeconds)=0
 Clear sticky fault: The remote Talon used for differential control is not present on CAN Bus.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_MissingDifferentialFX ()=0
 Clear sticky fault: The remote Talon used for differential control is not present on CAN Bus.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_RemoteSensorPosOverflow (units::time::second_t timeoutSeconds)=0
 Clear sticky fault: The remote sensor position has overflowed.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_RemoteSensorPosOverflow ()=0
 Clear sticky fault: The remote sensor position has overflowed.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_OverSupplyV (units::time::second_t timeoutSeconds)=0
 Clear sticky fault: Supply Voltage has exceeded the maximum voltage rating of device.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_OverSupplyV ()=0
 Clear sticky fault: Supply Voltage has exceeded the maximum voltage rating of device.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_UnstableSupplyV (units::time::second_t timeoutSeconds)=0
 Clear sticky fault: Supply Voltage is unstable.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_UnstableSupplyV ()=0
 Clear sticky fault: Supply Voltage is unstable.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_ReverseHardLimit (units::time::second_t timeoutSeconds)=0
 Clear sticky fault: Reverse limit switch has been asserted.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_ReverseHardLimit ()=0
 Clear sticky fault: Reverse limit switch has been asserted.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_ForwardHardLimit (units::time::second_t timeoutSeconds)=0
 Clear sticky fault: Forward limit switch has been asserted.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_ForwardHardLimit ()=0
 Clear sticky fault: Forward limit switch has been asserted.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_ReverseSoftLimit (units::time::second_t timeoutSeconds)=0
 Clear sticky fault: Reverse soft limit has been asserted.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_ReverseSoftLimit ()=0
 Clear sticky fault: Reverse soft limit has been asserted.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_ForwardSoftLimit (units::time::second_t timeoutSeconds)=0
 Clear sticky fault: Forward soft limit has been asserted.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_ForwardSoftLimit ()=0
 Clear sticky fault: Forward soft limit has been asserted.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_MissingSoftLimitRemote (units::time::second_t timeoutSeconds)=0
 Clear sticky fault: The remote soft limit device is not present on CAN Bus.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_MissingSoftLimitRemote ()=0
 Clear sticky fault: The remote soft limit device is not present on CAN Bus.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_MissingHardLimitRemote (units::time::second_t timeoutSeconds)=0
 Clear sticky fault: The remote limit switch device is not present on CAN Bus.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_MissingHardLimitRemote ()=0
 Clear sticky fault: The remote limit switch device is not present on CAN Bus.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_RemoteSensorDataInvalid (units::time::second_t timeoutSeconds)=0
 Clear sticky fault: The remote sensor's data is no longer trusted.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_RemoteSensorDataInvalid ()=0
 Clear sticky fault: The remote sensor's data is no longer trusted.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_FusedSensorOutOfSync (units::time::second_t timeoutSeconds)=0
 Clear sticky fault: The remote sensor used for fusion has fallen out of sync to the local sensor.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_FusedSensorOutOfSync ()=0
 Clear sticky fault: The remote sensor used for fusion has fallen out of sync to the local sensor.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_StatorCurrLimit (units::time::second_t timeoutSeconds)=0
 Clear sticky fault: Stator current limit occured.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_StatorCurrLimit ()=0
 Clear sticky fault: Stator current limit occured.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_SupplyCurrLimit (units::time::second_t timeoutSeconds)=0
 Clear sticky fault: Supply current limit occured.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_SupplyCurrLimit ()=0
 Clear sticky fault: Supply current limit occured.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_UsingFusedCANcoderWhileUnlicensed (units::time::second_t timeoutSeconds)=0
 Clear sticky fault: Using Fused CANcoder feature while unlicensed.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_UsingFusedCANcoderWhileUnlicensed ()=0
 Clear sticky fault: Using Fused CANcoder feature while unlicensed.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_StaticBrakeDisabled (units::time::second_t timeoutSeconds)=0
 Clear sticky fault: Static brake was momentarily disabled due to excessive braking current while disabled.
 
virtual ctre::phoenix::StatusCode ClearStickyFault_StaticBrakeDisabled ()=0
 Clear sticky fault: Static brake was momentarily disabled due to excessive braking current while disabled.
 

Detailed Description

Contains all status signals available for devices that support Talon signals.

Constructor & Destructor Documentation

◆ ~HasTalonSignals()

virtual ctre::phoenix6::hardware::traits::HasTalonSignals::~HasTalonSignals ( )
virtualdefault

Member Function Documentation

◆ ClearStickyFault_BootDuringEnable() [1/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_BootDuringEnable ( )
pure virtual

Clear sticky fault: Device boot while detecting the enable signal.

This will wait up to 0.100 seconds (100ms) by default.

Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_BootDuringEnable() [2/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_BootDuringEnable ( units::time::second_t timeoutSeconds)
pure virtual

Clear sticky fault: Device boot while detecting the enable signal.

Parameters
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_BridgeBrownout() [1/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_BridgeBrownout ( )
pure virtual

Clear sticky fault: Bridge was disabled most likely due to supply voltage dropping too low.

This will wait up to 0.100 seconds (100ms) by default.

Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_BridgeBrownout() [2/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_BridgeBrownout ( units::time::second_t timeoutSeconds)
pure virtual

Clear sticky fault: Bridge was disabled most likely due to supply voltage dropping too low.

Parameters
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_DeviceTemp() [1/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_DeviceTemp ( )
pure virtual

Clear sticky fault: Device temperature exceeded limit.

This will wait up to 0.100 seconds (100ms) by default.

Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_DeviceTemp() [2/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_DeviceTemp ( units::time::second_t timeoutSeconds)
pure virtual

Clear sticky fault: Device temperature exceeded limit.

Parameters
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_ForwardHardLimit() [1/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_ForwardHardLimit ( )
pure virtual

Clear sticky fault: Forward limit switch has been asserted.

Output is set to neutral.

This will wait up to 0.100 seconds (100ms) by default.

Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_ForwardHardLimit() [2/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_ForwardHardLimit ( units::time::second_t timeoutSeconds)
pure virtual

Clear sticky fault: Forward limit switch has been asserted.

Output is set to neutral.

Parameters
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_ForwardSoftLimit() [1/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_ForwardSoftLimit ( )
pure virtual

Clear sticky fault: Forward soft limit has been asserted.

Output is set to neutral.

This will wait up to 0.100 seconds (100ms) by default.

Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_ForwardSoftLimit() [2/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_ForwardSoftLimit ( units::time::second_t timeoutSeconds)
pure virtual

Clear sticky fault: Forward soft limit has been asserted.

Output is set to neutral.

Parameters
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_FusedSensorOutOfSync() [1/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_FusedSensorOutOfSync ( )
pure virtual

Clear sticky fault: The remote sensor used for fusion has fallen out of sync to the local sensor.

A re-synchronization has occurred, which may cause a discontinuity. This typically happens if there is significant slop in the mechanism, or if the RotorToSensorRatio configuration parameter is incorrect.

This will wait up to 0.100 seconds (100ms) by default.

Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_FusedSensorOutOfSync() [2/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_FusedSensorOutOfSync ( units::time::second_t timeoutSeconds)
pure virtual

Clear sticky fault: The remote sensor used for fusion has fallen out of sync to the local sensor.

A re-synchronization has occurred, which may cause a discontinuity. This typically happens if there is significant slop in the mechanism, or if the RotorToSensorRatio configuration parameter is incorrect.

Parameters
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_Hardware() [1/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_Hardware ( )
pure virtual

Clear sticky fault: Hardware fault occurred.

This will wait up to 0.100 seconds (100ms) by default.

Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_Hardware() [2/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_Hardware ( units::time::second_t timeoutSeconds)
pure virtual

Clear sticky fault: Hardware fault occurred.

Parameters
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_MissingDifferentialFX() [1/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_MissingDifferentialFX ( )
pure virtual

Clear sticky fault: The remote Talon used for differential control is not present on CAN Bus.

This will wait up to 0.100 seconds (100ms) by default.

Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_MissingDifferentialFX() [2/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_MissingDifferentialFX ( units::time::second_t timeoutSeconds)
pure virtual

Clear sticky fault: The remote Talon used for differential control is not present on CAN Bus.

Parameters
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_MissingHardLimitRemote() [1/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_MissingHardLimitRemote ( )
pure virtual

Clear sticky fault: The remote limit switch device is not present on CAN Bus.

This will wait up to 0.100 seconds (100ms) by default.

Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_MissingHardLimitRemote() [2/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_MissingHardLimitRemote ( units::time::second_t timeoutSeconds)
pure virtual

Clear sticky fault: The remote limit switch device is not present on CAN Bus.

Parameters
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_MissingSoftLimitRemote() [1/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_MissingSoftLimitRemote ( )
pure virtual

Clear sticky fault: The remote soft limit device is not present on CAN Bus.

This will wait up to 0.100 seconds (100ms) by default.

Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_MissingSoftLimitRemote() [2/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_MissingSoftLimitRemote ( units::time::second_t timeoutSeconds)
pure virtual

Clear sticky fault: The remote soft limit device is not present on CAN Bus.

Parameters
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_OverSupplyV() [1/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_OverSupplyV ( )
pure virtual

Clear sticky fault: Supply Voltage has exceeded the maximum voltage rating of device.

This will wait up to 0.100 seconds (100ms) by default.

Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_OverSupplyV() [2/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_OverSupplyV ( units::time::second_t timeoutSeconds)
pure virtual

Clear sticky fault: Supply Voltage has exceeded the maximum voltage rating of device.

Parameters
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_ProcTemp() [1/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_ProcTemp ( )
pure virtual

Clear sticky fault: Processor temperature exceeded limit.

This will wait up to 0.100 seconds (100ms) by default.

Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_ProcTemp() [2/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_ProcTemp ( units::time::second_t timeoutSeconds)
pure virtual

Clear sticky fault: Processor temperature exceeded limit.

Parameters
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_RemoteSensorDataInvalid() [1/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_RemoteSensorDataInvalid ( )
pure virtual

Clear sticky fault: The remote sensor's data is no longer trusted.

This can happen if the remote sensor disappears from the CAN bus or if the remote sensor indicates its data is no longer valid, such as when a CANcoder's magnet strength falls into the "red" range.

This will wait up to 0.100 seconds (100ms) by default.

Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_RemoteSensorDataInvalid() [2/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_RemoteSensorDataInvalid ( units::time::second_t timeoutSeconds)
pure virtual

Clear sticky fault: The remote sensor's data is no longer trusted.

This can happen if the remote sensor disappears from the CAN bus or if the remote sensor indicates its data is no longer valid, such as when a CANcoder's magnet strength falls into the "red" range.

Parameters
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_RemoteSensorPosOverflow() [1/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_RemoteSensorPosOverflow ( )
pure virtual

Clear sticky fault: The remote sensor position has overflowed.

Because of the nature of remote sensors, it is possible for the remote sensor position to overflow beyond what is supported by the status signal frame. However, this is rare and cannot occur over the course of an FRC match under normal use.

This will wait up to 0.100 seconds (100ms) by default.

Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_RemoteSensorPosOverflow() [2/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_RemoteSensorPosOverflow ( units::time::second_t timeoutSeconds)
pure virtual

Clear sticky fault: The remote sensor position has overflowed.

Because of the nature of remote sensors, it is possible for the remote sensor position to overflow beyond what is supported by the status signal frame. However, this is rare and cannot occur over the course of an FRC match under normal use.

Parameters
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_RemoteSensorReset() [1/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_RemoteSensorReset ( )
pure virtual

Clear sticky fault: The remote sensor has reset.

This will wait up to 0.100 seconds (100ms) by default.

Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_RemoteSensorReset() [2/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_RemoteSensorReset ( units::time::second_t timeoutSeconds)
pure virtual

Clear sticky fault: The remote sensor has reset.

Parameters
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_ReverseHardLimit() [1/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_ReverseHardLimit ( )
pure virtual

Clear sticky fault: Reverse limit switch has been asserted.

Output is set to neutral.

This will wait up to 0.100 seconds (100ms) by default.

Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_ReverseHardLimit() [2/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_ReverseHardLimit ( units::time::second_t timeoutSeconds)
pure virtual

Clear sticky fault: Reverse limit switch has been asserted.

Output is set to neutral.

Parameters
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_ReverseSoftLimit() [1/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_ReverseSoftLimit ( )
pure virtual

Clear sticky fault: Reverse soft limit has been asserted.

Output is set to neutral.

This will wait up to 0.100 seconds (100ms) by default.

Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_ReverseSoftLimit() [2/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_ReverseSoftLimit ( units::time::second_t timeoutSeconds)
pure virtual

Clear sticky fault: Reverse soft limit has been asserted.

Output is set to neutral.

Parameters
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_StaticBrakeDisabled() [1/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_StaticBrakeDisabled ( )
pure virtual

Clear sticky fault: Static brake was momentarily disabled due to excessive braking current while disabled.

This will wait up to 0.100 seconds (100ms) by default.

Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_StaticBrakeDisabled() [2/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_StaticBrakeDisabled ( units::time::second_t timeoutSeconds)
pure virtual

Clear sticky fault: Static brake was momentarily disabled due to excessive braking current while disabled.

Parameters
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_StatorCurrLimit() [1/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_StatorCurrLimit ( )
pure virtual

Clear sticky fault: Stator current limit occured.

This will wait up to 0.100 seconds (100ms) by default.

Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_StatorCurrLimit() [2/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_StatorCurrLimit ( units::time::second_t timeoutSeconds)
pure virtual

Clear sticky fault: Stator current limit occured.

Parameters
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_SupplyCurrLimit() [1/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_SupplyCurrLimit ( )
pure virtual

Clear sticky fault: Supply current limit occured.

This will wait up to 0.100 seconds (100ms) by default.

Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_SupplyCurrLimit() [2/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_SupplyCurrLimit ( units::time::second_t timeoutSeconds)
pure virtual

Clear sticky fault: Supply current limit occured.

Parameters
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_Undervoltage() [1/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_Undervoltage ( )
pure virtual

Clear sticky fault: Device supply voltage dropped to near brownout levels.

This will wait up to 0.100 seconds (100ms) by default.

Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_Undervoltage() [2/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_Undervoltage ( units::time::second_t timeoutSeconds)
pure virtual

Clear sticky fault: Device supply voltage dropped to near brownout levels.

Parameters
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_UnlicensedFeatureInUse() [1/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_UnlicensedFeatureInUse ( )
pure virtual

Clear sticky fault: An unlicensed feature is in use, device may not behave as expected.

This will wait up to 0.100 seconds (100ms) by default.

Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_UnlicensedFeatureInUse() [2/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_UnlicensedFeatureInUse ( units::time::second_t timeoutSeconds)
pure virtual

Clear sticky fault: An unlicensed feature is in use, device may not behave as expected.

Parameters
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_UnstableSupplyV() [1/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_UnstableSupplyV ( )
pure virtual

Clear sticky fault: Supply Voltage is unstable.

Ensure you are using a battery and current limited power supply.

This will wait up to 0.100 seconds (100ms) by default.

Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_UnstableSupplyV() [2/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_UnstableSupplyV ( units::time::second_t timeoutSeconds)
pure virtual

Clear sticky fault: Supply Voltage is unstable.

Ensure you are using a battery and current limited power supply.

Parameters
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_UsingFusedCANcoderWhileUnlicensed() [1/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_UsingFusedCANcoderWhileUnlicensed ( )
pure virtual

Clear sticky fault: Using Fused CANcoder feature while unlicensed.

Device has fallen back to remote CANcoder.

This will wait up to 0.100 seconds (100ms) by default.

Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFault_UsingFusedCANcoderWhileUnlicensed() [2/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFault_UsingFusedCANcoderWhileUnlicensed ( units::time::second_t timeoutSeconds)
pure virtual

Clear sticky fault: Using Fused CANcoder feature while unlicensed.

Device has fallen back to remote CANcoder.

Parameters
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFaults() [1/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFaults ( )
pure virtual

Clear the sticky faults in the device.

This typically has no impact on the device functionality. Instead, it just clears telemetry faults that are accessible via API and Tuner Self-Test.

This will wait up to 0.100 seconds (100ms) by default.

Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ ClearStickyFaults() [2/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::ClearStickyFaults ( units::time::second_t timeoutSeconds)
pure virtual

Clear the sticky faults in the device.

This typically has no impact on the device functionality. Instead, it just clears telemetry faults that are accessible via API and Tuner Self-Test.

Parameters
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetAcceleration()

virtual StatusSignal< units::angular_acceleration::turns_per_second_squared_t > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetAcceleration ( bool refresh = true)
pure virtual

Acceleration of the device in mechanism rotations per second².

This can be the acceleration of a remote sensor and is affected by the RotorToSensorRatio and SensorToMechanismRatio configs.

  • Minimum Value: -2048.0
  • Maximum Value: 2047.75
  • Default Value: 0
  • Units: rotations per second²

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
Acceleration Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetAncillaryDeviceTemp()

virtual StatusSignal< units::temperature::celsius_t > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetAncillaryDeviceTemp ( bool refresh = true)
pure virtual

Temperature of device from second sensor.

Newer versions of Talon have multiple temperature measurement methods.

  • Minimum Value: 0.0
  • Maximum Value: 255.0
  • Default Value: 0
  • Units: ā„ƒ

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
AncillaryDeviceTemp Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetAppliedRotorPolarity()

virtual StatusSignal< signals::AppliedRotorPolarityValue > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetAppliedRotorPolarity ( bool refresh = true)
pure virtual

The applied rotor polarity as seen from the front of the motor.

This typically is determined by the Inverted config, but can be overridden if using Follower features.

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
AppliedRotorPolarity Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetBridgeOutput()

virtual StatusSignal< signals::BridgeOutputValue > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetBridgeOutput ( bool refresh = true)
pure virtual

The applied output of the bridge.

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
BridgeOutput Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetClosedLoopDerivativeOutput()

virtual StatusSignal< double > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetClosedLoopDerivativeOutput ( bool refresh = true)
pure virtual

Closed loop derivative component.

The portion of the closed loop output that is the proportional to the deriviative the error. Alternatively, the d-Contribution of the closed loop output.

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
ClosedLoopDerivativeOutput Status Signal object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetClosedLoopError()

virtual StatusSignal< double > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetClosedLoopError ( bool refresh = true)
pure virtual

The difference between target reference and current measurement.

This is the value that is treated as the error in the PID loop.

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
ClosedLoopError Status Signal object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetClosedLoopFeedForward()

virtual StatusSignal< double > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetClosedLoopFeedForward ( bool refresh = true)
pure virtual

Feedforward passed by the user.

This is the general feedforward that the user provides for the closed loop.

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
ClosedLoopFeedForward Status Signal object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetClosedLoopIntegratedOutput()

virtual StatusSignal< double > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetClosedLoopIntegratedOutput ( bool refresh = true)
pure virtual

Closed loop integrated component.

The portion of the closed loop output that is proportional to the integrated error. Alternatively, the i-Contribution of the closed loop output.

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
ClosedLoopIntegratedOutput Status Signal object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetClosedLoopOutput()

virtual StatusSignal< double > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetClosedLoopOutput ( bool refresh = true)
pure virtual

Closed loop total output.

The total output of the closed loop output.

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
ClosedLoopOutput Status Signal object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetClosedLoopProportionalOutput()

virtual StatusSignal< double > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetClosedLoopProportionalOutput ( bool refresh = true)
pure virtual

Closed loop proportional component.

The portion of the closed loop output that is the proportional to the error. Alternatively, the p-Contribution of the closed loop output.

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
ClosedLoopProportionalOutput Status Signal object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetClosedLoopReference()

virtual StatusSignal< double > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetClosedLoopReference ( bool refresh = true)
pure virtual

Value that the closed loop is targeting.

This is the value that the closed loop PID controller targets.

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
ClosedLoopReference Status Signal object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetClosedLoopReferenceSlope()

virtual StatusSignal< double > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetClosedLoopReferenceSlope ( bool refresh = true)
pure virtual

Derivative of the target that the closed loop is targeting.

This is the change in the closed loop reference. This may be used in the feed-forward calculation, the derivative-error, or in application of the signage for kS. Typically, this represents the target velocity during Motion MagicĀ®.

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
ClosedLoopReferenceSlope Status Signal object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetClosedLoopSlot()

virtual StatusSignal< int > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetClosedLoopSlot ( bool refresh = true)
pure virtual

The slot that the closed-loop PID is using.

  • Minimum Value: 0
  • Maximum Value: 2
  • Default Value: 0
  • Units:

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
ClosedLoopSlot Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetConnectedMotor()

virtual StatusSignal< signals::ConnectedMotorValue > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetConnectedMotor ( bool refresh = true)
pure virtual

The type of motor attached to the Talon.

This can be used to determine what motor is attached to the Talon FX. Return will be "Unknown" if firmware is too old or device is not present.

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
ConnectedMotor Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetControlMode()

virtual StatusSignal< signals::ControlModeValue > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetControlMode ( bool refresh = true)
pure virtual

The active control mode of the motor controller.

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
ControlMode Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetDeviceEnable()

virtual StatusSignal< signals::DeviceEnableValue > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetDeviceEnable ( bool refresh = true)
pure virtual

Indicates if device is actuator enabled.

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
DeviceEnable Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetDeviceTemp()

virtual StatusSignal< units::temperature::celsius_t > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetDeviceTemp ( bool refresh = true)
pure virtual

Temperature of device.

This is the temperature that the device measures itself to be at. Similar to Processor Temperature.

  • Minimum Value: 0.0
  • Maximum Value: 255.0
  • Default Value: 0
  • Units: ā„ƒ

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
DeviceTemp Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetDifferentialAveragePosition()

virtual StatusSignal< units::angle::turn_t > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetDifferentialAveragePosition ( bool refresh = true)
pure virtual

Average component of the differential position of device.

  • Minimum Value: -16384.0
  • Maximum Value: 16383.999755859375
  • Default Value: 0
  • Units: rotations

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
DifferentialAveragePosition Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetDifferentialAverageVelocity()

virtual StatusSignal< units::angular_velocity::turns_per_second_t > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetDifferentialAverageVelocity ( bool refresh = true)
pure virtual

Average component of the differential velocity of device.

  • Minimum Value: -512.0
  • Maximum Value: 511.998046875
  • Default Value: 0
  • Units: rotations per second

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
DifferentialAverageVelocity Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetDifferentialClosedLoopDerivativeOutput()

virtual StatusSignal< double > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetDifferentialClosedLoopDerivativeOutput ( bool refresh = true)
pure virtual

Differential closed loop derivative component.

The portion of the differential closed loop output that is the proportional to the deriviative the error. Alternatively, the d-Contribution of the closed loop output.

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
DifferentialClosedLoopDerivativeOutput Status Signal object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetDifferentialClosedLoopError()

virtual StatusSignal< double > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetDifferentialClosedLoopError ( bool refresh = true)
pure virtual

The difference between target differential reference and current measurement.

This is the value that is treated as the error in the differential PID loop.

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
DifferentialClosedLoopError Status Signal object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetDifferentialClosedLoopFeedForward()

virtual StatusSignal< double > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetDifferentialClosedLoopFeedForward ( bool refresh = true)
pure virtual

Differential Feedforward passed by the user.

This is the general feedforward that the user provides for the differential closed loop.

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
DifferentialClosedLoopFeedForward Status Signal object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetDifferentialClosedLoopIntegratedOutput()

virtual StatusSignal< double > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetDifferentialClosedLoopIntegratedOutput ( bool refresh = true)
pure virtual

Differential closed loop integrated component.

The portion of the differential closed loop output that is proportional to the integrated error. Alternatively, the i-Contribution of the closed loop output.

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
DifferentialClosedLoopIntegratedOutput Status Signal object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetDifferentialClosedLoopOutput()

virtual StatusSignal< double > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetDifferentialClosedLoopOutput ( bool refresh = true)
pure virtual

Differential closed loop total output.

The total output of the differential closed loop output.

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
DifferentialClosedLoopOutput Status Signal object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetDifferentialClosedLoopProportionalOutput()

virtual StatusSignal< double > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetDifferentialClosedLoopProportionalOutput ( bool refresh = true)
pure virtual

Differential closed loop proportional component.

The portion of the differential closed loop output that is the proportional to the error. Alternatively, the p-Contribution of the closed loop output.

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
DifferentialClosedLoopProportionalOutput Status Signal object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetDifferentialClosedLoopReference()

virtual StatusSignal< double > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetDifferentialClosedLoopReference ( bool refresh = true)
pure virtual

Value that the differential closed loop is targeting.

This is the value that the differential closed loop PID controller targets.

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
DifferentialClosedLoopReference Status Signal object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetDifferentialClosedLoopReferenceSlope()

virtual StatusSignal< double > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetDifferentialClosedLoopReferenceSlope ( bool refresh = true)
pure virtual

Derivative of the target that the differential closed loop is targeting.

This is the change in the closed loop reference. This may be used in the feed-forward calculation, the derivative-error, or in application of the signage for kS. Typically, this represents the target velocity during Motion MagicĀ®.

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
DifferentialClosedLoopReferenceSlope Status Signal object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetDifferentialClosedLoopSlot()

virtual StatusSignal< int > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetDifferentialClosedLoopSlot ( bool refresh = true)
pure virtual

The slot that the closed-loop differential PID is using.

  • Minimum Value: 0
  • Maximum Value: 2
  • Default Value: 0
  • Units:

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
DifferentialClosedLoopSlot Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetDifferentialControlMode()

virtual StatusSignal< signals::DifferentialControlModeValue > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetDifferentialControlMode ( bool refresh = true)
pure virtual

The active control mode of the differential controller.

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
DifferentialControlMode Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetDifferentialDifferencePosition()

virtual StatusSignal< units::angle::turn_t > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetDifferentialDifferencePosition ( bool refresh = true)
pure virtual

Difference component of the differential position of device.

  • Minimum Value: -16384.0
  • Maximum Value: 16383.999755859375
  • Default Value: 0
  • Units: rotations

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
DifferentialDifferencePosition Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetDifferentialDifferenceVelocity()

virtual StatusSignal< units::angular_velocity::turns_per_second_t > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetDifferentialDifferenceVelocity ( bool refresh = true)
pure virtual

Difference component of the differential velocity of device.

  • Minimum Value: -512.0
  • Maximum Value: 511.998046875
  • Default Value: 0
  • Units: rotations per second

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
DifferentialDifferenceVelocity Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetDifferentialOutput()

virtual StatusSignal< double > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetDifferentialOutput ( bool refresh = true)
pure virtual

The calculated motor output for differential followers.

This is a torque request when using the TorqueCurrentFOC control output type, and a duty cycle in all other control types.

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
DifferentialOutput Status Signal object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetDutyCycle()

virtual StatusSignal< units::dimensionless::scalar_t > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetDutyCycle ( bool refresh = true)
pure virtual

The applied motor duty cycle.

  • Minimum Value: -2.0
  • Maximum Value: 1.9990234375
  • Default Value: 0
  • Units: fractional

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
DutyCycle Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetFault_BootDuringEnable()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetFault_BootDuringEnable ( bool refresh = true)
pure virtual

Device boot while detecting the enable signal.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
Fault_BootDuringEnable Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetFault_BridgeBrownout()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetFault_BridgeBrownout ( bool refresh = true)
pure virtual

Bridge was disabled most likely due to supply voltage dropping too low.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
Fault_BridgeBrownout Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetFault_DeviceTemp()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetFault_DeviceTemp ( bool refresh = true)
pure virtual

Device temperature exceeded limit.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
Fault_DeviceTemp Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetFault_ForwardHardLimit()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetFault_ForwardHardLimit ( bool refresh = true)
pure virtual

Forward limit switch has been asserted.

Output is set to neutral.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
Fault_ForwardHardLimit Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetFault_ForwardSoftLimit()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetFault_ForwardSoftLimit ( bool refresh = true)
pure virtual

Forward soft limit has been asserted.

Output is set to neutral.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
Fault_ForwardSoftLimit Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetFault_FusedSensorOutOfSync()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetFault_FusedSensorOutOfSync ( bool refresh = true)
pure virtual

The remote sensor used for fusion has fallen out of sync to the local sensor.

A re-synchronization has occurred, which may cause a discontinuity. This typically happens if there is significant slop in the mechanism, or if the RotorToSensorRatio configuration parameter is incorrect.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
Fault_FusedSensorOutOfSync Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetFault_Hardware()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetFault_Hardware ( bool refresh = true)
pure virtual

Hardware fault occurred.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
Fault_Hardware Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetFault_MissingDifferentialFX()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetFault_MissingDifferentialFX ( bool refresh = true)
pure virtual

The remote Talon used for differential control is not present on CAN Bus.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
Fault_MissingDifferentialFX Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetFault_MissingHardLimitRemote()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetFault_MissingHardLimitRemote ( bool refresh = true)
pure virtual

The remote limit switch device is not present on CAN Bus.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
Fault_MissingHardLimitRemote Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetFault_MissingSoftLimitRemote()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetFault_MissingSoftLimitRemote ( bool refresh = true)
pure virtual

The remote soft limit device is not present on CAN Bus.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
Fault_MissingSoftLimitRemote Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetFault_OverSupplyV()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetFault_OverSupplyV ( bool refresh = true)
pure virtual

Supply Voltage has exceeded the maximum voltage rating of device.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
Fault_OverSupplyV Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetFault_ProcTemp()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetFault_ProcTemp ( bool refresh = true)
pure virtual

Processor temperature exceeded limit.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
Fault_ProcTemp Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetFault_RemoteSensorDataInvalid()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetFault_RemoteSensorDataInvalid ( bool refresh = true)
pure virtual

The remote sensor's data is no longer trusted.

This can happen if the remote sensor disappears from the CAN bus or if the remote sensor indicates its data is no longer valid, such as when a CANcoder's magnet strength falls into the "red" range.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
Fault_RemoteSensorDataInvalid Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetFault_RemoteSensorPosOverflow()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetFault_RemoteSensorPosOverflow ( bool refresh = true)
pure virtual

The remote sensor position has overflowed.

Because of the nature of remote sensors, it is possible for the remote sensor position to overflow beyond what is supported by the status signal frame. However, this is rare and cannot occur over the course of an FRC match under normal use.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
Fault_RemoteSensorPosOverflow Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetFault_RemoteSensorReset()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetFault_RemoteSensorReset ( bool refresh = true)
pure virtual

The remote sensor has reset.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
Fault_RemoteSensorReset Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetFault_ReverseHardLimit()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetFault_ReverseHardLimit ( bool refresh = true)
pure virtual

Reverse limit switch has been asserted.

Output is set to neutral.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
Fault_ReverseHardLimit Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetFault_ReverseSoftLimit()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetFault_ReverseSoftLimit ( bool refresh = true)
pure virtual

Reverse soft limit has been asserted.

Output is set to neutral.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
Fault_ReverseSoftLimit Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetFault_StaticBrakeDisabled()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetFault_StaticBrakeDisabled ( bool refresh = true)
pure virtual

Static brake was momentarily disabled due to excessive braking current while disabled.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
Fault_StaticBrakeDisabled Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetFault_StatorCurrLimit()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetFault_StatorCurrLimit ( bool refresh = true)
pure virtual

Stator current limit occured.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
Fault_StatorCurrLimit Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetFault_SupplyCurrLimit()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetFault_SupplyCurrLimit ( bool refresh = true)
pure virtual

Supply current limit occured.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
Fault_SupplyCurrLimit Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetFault_Undervoltage()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetFault_Undervoltage ( bool refresh = true)
pure virtual

Device supply voltage dropped to near brownout levels.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
Fault_Undervoltage Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetFault_UnlicensedFeatureInUse()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetFault_UnlicensedFeatureInUse ( bool refresh = true)
pure virtual

An unlicensed feature is in use, device may not behave as expected.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
Fault_UnlicensedFeatureInUse Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetFault_UnstableSupplyV()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetFault_UnstableSupplyV ( bool refresh = true)
pure virtual

Supply Voltage is unstable.

Ensure you are using a battery and current limited power supply.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
Fault_UnstableSupplyV Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetFault_UsingFusedCANcoderWhileUnlicensed()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetFault_UsingFusedCANcoderWhileUnlicensed ( bool refresh = true)
pure virtual

Using Fused CANcoder feature while unlicensed.

Device has fallen back to remote CANcoder.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
Fault_UsingFusedCANcoderWhileUnlicensed Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetFaultField()

virtual StatusSignal< int > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetFaultField ( bool refresh = true)
pure virtual

Integer representing all fault flags reported by the device.

These are device specific and are not used directly in typical applications. Use the signal specific GetFault_*() methods instead.

  • Minimum Value: 0
  • Maximum Value: 4294967295
  • Default Value: 0
  • Units:

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
FaultField Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetForwardLimit()

virtual StatusSignal< signals::ForwardLimitValue > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetForwardLimit ( bool refresh = true)
pure virtual

Forward Limit Pin.

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
ForwardLimit Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetIsProLicensed()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetIsProLicensed ( bool refresh = true)
pure virtual

Whether the device is Phoenix Pro licensed.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
IsProLicensed Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetMotionMagicIsRunning()

virtual StatusSignal< signals::MotionMagicIsRunningValue > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetMotionMagicIsRunning ( bool refresh = true)
pure virtual

Check if Motion MagicĀ® is running.

This is equivalent to checking that the reported control mode is a Motion MagicĀ® based mode.

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
MotionMagicIsRunning Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetMotorKT()

virtual StatusSignal< ctre::unit::newton_meters_per_ampere_t > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetMotorKT ( bool refresh = true)
pure virtual

The torque constant (K_T) of the motor.

  • Minimum Value: 0.0
  • Maximum Value: 0.025500000000000002
  • Default Value: 0
  • Units: Nm/A

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
MotorKT Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetMotorKV()

virtual StatusSignal< ctre::unit::rpm_per_volt_t > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetMotorKV ( bool refresh = true)
pure virtual

The velocity constant (K_V) of the motor.

  • Minimum Value: 0.0
  • Maximum Value: 2047.0
  • Default Value: 0
  • Units: RPM/V

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
MotorKV Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetMotorOutputStatus()

virtual StatusSignal< signals::MotorOutputStatusValue > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetMotorOutputStatus ( bool refresh = true)
pure virtual

Assess the status of the motor output with respect to load and supply.

This routine can be used to determine the general status of motor commutation.

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
MotorOutputStatus Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetMotorStallCurrent()

virtual StatusSignal< units::current::ampere_t > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetMotorStallCurrent ( bool refresh = true)
pure virtual

The stall current of the motor at 12 V output.

  • Minimum Value: 0.0
  • Maximum Value: 1023.0
  • Default Value: 0
  • Units: A

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
MotorStallCurrent Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetMotorVoltage()

virtual StatusSignal< units::voltage::volt_t > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetMotorVoltage ( bool refresh = true)
pure virtual

The applied (output) motor voltage.

  • Minimum Value: -40.96
  • Maximum Value: 40.95
  • Default Value: 0
  • Units: V

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
MotorVoltage Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetPosition()

virtual StatusSignal< units::angle::turn_t > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetPosition ( bool refresh = true)
pure virtual

Position of the device in mechanism rotations.

This can be the position of a remote sensor and is affected by the RotorToSensorRatio and SensorToMechanismRatio configs, as well as calls to setPosition.

  • Minimum Value: -16384.0
  • Maximum Value: 16383.999755859375
  • Default Value: 0
  • Units: rotations

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
Position Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetProcessorTemp()

virtual StatusSignal< units::temperature::celsius_t > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetProcessorTemp ( bool refresh = true)
pure virtual

Temperature of the processor.

This is the temperature that the processor measures itself to be at. Similar to Device Temperature.

  • Minimum Value: 0.0
  • Maximum Value: 255.0
  • Default Value: 0
  • Units: ā„ƒ

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
ProcessorTemp Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetReverseLimit()

virtual StatusSignal< signals::ReverseLimitValue > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetReverseLimit ( bool refresh = true)
pure virtual

Reverse Limit Pin.

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
ReverseLimit Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetRotorPosition()

virtual StatusSignal< units::angle::turn_t > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetRotorPosition ( bool refresh = true)
pure virtual

Position of the motor rotor.

This position is only affected by the RotorOffset config and calls to setPosition.

  • Minimum Value: -16384.0
  • Maximum Value: 16383.999755859375
  • Default Value: 0
  • Units: rotations

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
RotorPosition Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetRotorVelocity()

virtual StatusSignal< units::angular_velocity::turns_per_second_t > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetRotorVelocity ( bool refresh = true)
pure virtual

Velocity of the motor rotor.

This velocity is not affected by any feedback configs.

  • Minimum Value: -512.0
  • Maximum Value: 511.998046875
  • Default Value: 0
  • Units: rotations per second

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
RotorVelocity Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetStatorCurrent()

virtual StatusSignal< units::current::ampere_t > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetStatorCurrent ( bool refresh = true)
pure virtual

Current corresponding to the stator windings.

Similar to TorqueCurrent. Users will likely prefer TorqueCurrent over StatorCurrent.

Stator current where Positive current indicates motoring regardless of direction. Negative current indicates regenerative braking regardless of direction.

  • Minimum Value: -327.68
  • Maximum Value: 327.66
  • Default Value: 0
  • Units: A

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
StatorCurrent Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetStickyFault_BootDuringEnable()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetStickyFault_BootDuringEnable ( bool refresh = true)
pure virtual

Device boot while detecting the enable signal.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
StickyFault_BootDuringEnable Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetStickyFault_BridgeBrownout()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetStickyFault_BridgeBrownout ( bool refresh = true)
pure virtual

Bridge was disabled most likely due to supply voltage dropping too low.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
StickyFault_BridgeBrownout Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetStickyFault_DeviceTemp()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetStickyFault_DeviceTemp ( bool refresh = true)
pure virtual

Device temperature exceeded limit.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
StickyFault_DeviceTemp Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetStickyFault_ForwardHardLimit()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetStickyFault_ForwardHardLimit ( bool refresh = true)
pure virtual

Forward limit switch has been asserted.

Output is set to neutral.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
StickyFault_ForwardHardLimit Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetStickyFault_ForwardSoftLimit()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetStickyFault_ForwardSoftLimit ( bool refresh = true)
pure virtual

Forward soft limit has been asserted.

Output is set to neutral.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
StickyFault_ForwardSoftLimit Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetStickyFault_FusedSensorOutOfSync()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetStickyFault_FusedSensorOutOfSync ( bool refresh = true)
pure virtual

The remote sensor used for fusion has fallen out of sync to the local sensor.

A re-synchronization has occurred, which may cause a discontinuity. This typically happens if there is significant slop in the mechanism, or if the RotorToSensorRatio configuration parameter is incorrect.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
StickyFault_FusedSensorOutOfSync Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetStickyFault_Hardware()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetStickyFault_Hardware ( bool refresh = true)
pure virtual

Hardware fault occurred.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
StickyFault_Hardware Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetStickyFault_MissingDifferentialFX()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetStickyFault_MissingDifferentialFX ( bool refresh = true)
pure virtual

The remote Talon used for differential control is not present on CAN Bus.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
StickyFault_MissingDifferentialFX Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetStickyFault_MissingHardLimitRemote()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetStickyFault_MissingHardLimitRemote ( bool refresh = true)
pure virtual

The remote limit switch device is not present on CAN Bus.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
StickyFault_MissingHardLimitRemote Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetStickyFault_MissingSoftLimitRemote()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetStickyFault_MissingSoftLimitRemote ( bool refresh = true)
pure virtual

The remote soft limit device is not present on CAN Bus.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
StickyFault_MissingSoftLimitRemote Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetStickyFault_OverSupplyV()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetStickyFault_OverSupplyV ( bool refresh = true)
pure virtual

Supply Voltage has exceeded the maximum voltage rating of device.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
StickyFault_OverSupplyV Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetStickyFault_ProcTemp()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetStickyFault_ProcTemp ( bool refresh = true)
pure virtual

Processor temperature exceeded limit.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
StickyFault_ProcTemp Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetStickyFault_RemoteSensorDataInvalid()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetStickyFault_RemoteSensorDataInvalid ( bool refresh = true)
pure virtual

The remote sensor's data is no longer trusted.

This can happen if the remote sensor disappears from the CAN bus or if the remote sensor indicates its data is no longer valid, such as when a CANcoder's magnet strength falls into the "red" range.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
StickyFault_RemoteSensorDataInvalid Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetStickyFault_RemoteSensorPosOverflow()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetStickyFault_RemoteSensorPosOverflow ( bool refresh = true)
pure virtual

The remote sensor position has overflowed.

Because of the nature of remote sensors, it is possible for the remote sensor position to overflow beyond what is supported by the status signal frame. However, this is rare and cannot occur over the course of an FRC match under normal use.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
StickyFault_RemoteSensorPosOverflow Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetStickyFault_RemoteSensorReset()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetStickyFault_RemoteSensorReset ( bool refresh = true)
pure virtual

The remote sensor has reset.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
StickyFault_RemoteSensorReset Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetStickyFault_ReverseHardLimit()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetStickyFault_ReverseHardLimit ( bool refresh = true)
pure virtual

Reverse limit switch has been asserted.

Output is set to neutral.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
StickyFault_ReverseHardLimit Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetStickyFault_ReverseSoftLimit()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetStickyFault_ReverseSoftLimit ( bool refresh = true)
pure virtual

Reverse soft limit has been asserted.

Output is set to neutral.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
StickyFault_ReverseSoftLimit Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetStickyFault_StaticBrakeDisabled()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetStickyFault_StaticBrakeDisabled ( bool refresh = true)
pure virtual

Static brake was momentarily disabled due to excessive braking current while disabled.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
StickyFault_StaticBrakeDisabled Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetStickyFault_StatorCurrLimit()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetStickyFault_StatorCurrLimit ( bool refresh = true)
pure virtual

Stator current limit occured.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
StickyFault_StatorCurrLimit Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetStickyFault_SupplyCurrLimit()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetStickyFault_SupplyCurrLimit ( bool refresh = true)
pure virtual

Supply current limit occured.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
StickyFault_SupplyCurrLimit Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetStickyFault_Undervoltage()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetStickyFault_Undervoltage ( bool refresh = true)
pure virtual

Device supply voltage dropped to near brownout levels.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
StickyFault_Undervoltage Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetStickyFault_UnlicensedFeatureInUse()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetStickyFault_UnlicensedFeatureInUse ( bool refresh = true)
pure virtual

An unlicensed feature is in use, device may not behave as expected.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
StickyFault_UnlicensedFeatureInUse Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetStickyFault_UnstableSupplyV()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetStickyFault_UnstableSupplyV ( bool refresh = true)
pure virtual

Supply Voltage is unstable.

Ensure you are using a battery and current limited power supply.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
StickyFault_UnstableSupplyV Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetStickyFault_UsingFusedCANcoderWhileUnlicensed()

virtual StatusSignal< bool > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetStickyFault_UsingFusedCANcoderWhileUnlicensed ( bool refresh = true)
pure virtual

Using Fused CANcoder feature while unlicensed.

Device has fallen back to remote CANcoder.

  • Default Value: False

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
StickyFault_UsingFusedCANcoderWhileUnlicensed Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetStickyFaultField()

virtual StatusSignal< int > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetStickyFaultField ( bool refresh = true)
pure virtual

Integer representing all (persistent) sticky fault flags reported by the device.

These are device specific and are not used directly in typical applications. Use the signal specific GetStickyFault_*() methods instead.

  • Minimum Value: 0
  • Maximum Value: 4294967295
  • Default Value: 0
  • Units:

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
StickyFaultField Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetSupplyCurrent()

virtual StatusSignal< units::current::ampere_t > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetSupplyCurrent ( bool refresh = true)
pure virtual

Measured supply side current.

  • Minimum Value: -327.68
  • Maximum Value: 327.66
  • Default Value: 0
  • Units: A

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
SupplyCurrent Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetSupplyVoltage()

virtual StatusSignal< units::voltage::volt_t > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetSupplyVoltage ( bool refresh = true)
pure virtual

Measured supply voltage to the device.

  • Minimum Value: 4
  • Maximum Value: 29.575
  • Default Value: 4
  • Units: V

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
SupplyVoltage Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetTorqueCurrent()

virtual StatusSignal< units::current::ampere_t > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetTorqueCurrent ( bool refresh = true)
pure virtual

Current corresponding to the torque output by the motor.

Similar to StatorCurrent. Users will likely prefer this current to calculate the applied torque to the rotor.

Stator current where positive current means torque is applied in the forward direction as determined by the Inverted setting.

  • Minimum Value: -327.68
  • Maximum Value: 327.67
  • Default Value: 0
  • Units: A

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
TorqueCurrent Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetVelocity()

virtual StatusSignal< units::angular_velocity::turns_per_second_t > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetVelocity ( bool refresh = true)
pure virtual

Velocity of the device in mechanism rotations per second.

This can be the velocity of a remote sensor and is affected by the RotorToSensorRatio and SensorToMechanismRatio configs.

  • Minimum Value: -512.0
  • Maximum Value: 511.998046875
  • Default Value: 0
  • Units: rotations per second

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
Velocity Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetVersion()

virtual StatusSignal< int > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetVersion ( bool refresh = true)
pure virtual

Full Version of firmware in device.

The format is a four byte value.

  • Minimum Value: 0
  • Maximum Value: 4294967295
  • Default Value: 0
  • Units:

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
Version Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetVersionBugfix()

virtual StatusSignal< int > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetVersionBugfix ( bool refresh = true)
pure virtual

App Bugfix Version number.

  • Minimum Value: 0
  • Maximum Value: 255
  • Default Value: 0
  • Units:

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
VersionBugfix Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetVersionBuild()

virtual StatusSignal< int > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetVersionBuild ( bool refresh = true)
pure virtual

App Build Version number.

  • Minimum Value: 0
  • Maximum Value: 255
  • Default Value: 0
  • Units:

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
VersionBuild Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetVersionMajor()

virtual StatusSignal< int > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetVersionMajor ( bool refresh = true)
pure virtual

App Major Version number.

  • Minimum Value: 0
  • Maximum Value: 255
  • Default Value: 0
  • Units:

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
VersionMajor Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ GetVersionMinor()

virtual StatusSignal< int > & ctre::phoenix6::hardware::traits::HasTalonSignals::GetVersionMinor ( bool refresh = true)
pure virtual

App Minor Version number.

  • Minimum Value: 0
  • Maximum Value: 255
  • Default Value: 0
  • Units:

This refreshes and returns a cached StatusSignal object.

Parameters
refreshWhether to refresh the StatusSignal before returning it; defaults to true
Returns
VersionMinor Status Signal Object

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ SetPosition() [1/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::SetPosition ( units::angle::turn_t newValue)
pure virtual

Sets the mechanism position of the device in mechanism rotations.

This will wait up to 0.100 seconds (100ms) by default.

Parameters
newValueValue to set to. Units are in rotations.
Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.

◆ SetPosition() [2/2]

virtual ctre::phoenix::StatusCode ctre::phoenix6::hardware::traits::HasTalonSignals::SetPosition ( units::angle::turn_t newValue,
units::time::second_t timeoutSeconds )
pure virtual

Sets the mechanism position of the device in mechanism rotations.

Parameters
newValueValue to set to. Units are in rotations.
timeoutSecondsMaximum time to wait up to in seconds.
Returns
StatusCode of the set command

Implemented in ctre::phoenix6::hardware::core::CoreTalonFX.


The documentation for this class was generated from the following file: