108#include <units/angle.h>
109#include <units/angular_acceleration.h>
110#include <units/angular_velocity.h>
111#include <units/current.h>
112#include <units/dimensionless.h>
113#include <units/temperature.h>
114#include <units/voltage.h>
600 Voltage = std::move(newVoltage);
794 Audio = std::move(newAudio);
1021 Slot0 = std::move(newSlot0);
1054 Slot1 = std::move(newSlot1);
1087 Slot2 = std::move(newSlot2);
1133 return Apply(configs, DefaultTimeoutSeconds);
1162 return Apply(configs, DefaultTimeoutSeconds);
1176 return SetConfigsPrivate(configs.
Serialize(), timeoutSeconds,
false,
false);
1191 return Apply(configs, DefaultTimeoutSeconds);
1205 return SetConfigsPrivate(configs.
Serialize(), timeoutSeconds,
false,
false);
1220 return Apply(configs, DefaultTimeoutSeconds);
1234 return SetConfigsPrivate(configs.
Serialize(), timeoutSeconds,
false,
false);
1249 return Apply(configs, DefaultTimeoutSeconds);
1263 return SetConfigsPrivate(configs.
Serialize(), timeoutSeconds,
false,
false);
1278 return Apply(configs, DefaultTimeoutSeconds);
1292 return SetConfigsPrivate(configs.
Serialize(), timeoutSeconds,
false,
false);
1307 return Apply(configs, DefaultTimeoutSeconds);
1321 return SetConfigsPrivate(configs.
Serialize(), timeoutSeconds,
false,
false);
1336 return Apply(configs, DefaultTimeoutSeconds);
1350 return SetConfigsPrivate(configs.
Serialize(), timeoutSeconds,
false,
false);
1365 return Apply(configs, DefaultTimeoutSeconds);
1379 return SetConfigsPrivate(configs.
Serialize(), timeoutSeconds,
false,
false);
1394 return Apply(configs, DefaultTimeoutSeconds);
1408 return SetConfigsPrivate(configs.
Serialize(), timeoutSeconds,
false,
false);
1423 return Apply(configs, DefaultTimeoutSeconds);
1437 return SetConfigsPrivate(configs.
Serialize(), timeoutSeconds,
false,
false);
1452 return Apply(configs, DefaultTimeoutSeconds);
1466 return SetConfigsPrivate(configs.
Serialize(), timeoutSeconds,
false,
false);
1481 return Apply(configs, DefaultTimeoutSeconds);
1495 return SetConfigsPrivate(configs.
Serialize(), timeoutSeconds,
false,
false);
1510 return Apply(configs, DefaultTimeoutSeconds);
1524 return SetConfigsPrivate(configs.
Serialize(), timeoutSeconds,
false,
false);
1539 return Apply(configs, DefaultTimeoutSeconds);
1553 return SetConfigsPrivate(configs.
Serialize(), timeoutSeconds,
false,
false);
1568 return Apply(configs, DefaultTimeoutSeconds);
1582 return SetConfigsPrivate(configs.
Serialize(), timeoutSeconds,
false,
false);
1597 return Apply(configs, DefaultTimeoutSeconds);
1611 return SetConfigsPrivate(configs.
Serialize(), timeoutSeconds,
false,
false);
1626 return Apply(configs, DefaultTimeoutSeconds);
1640 return SetConfigsPrivate(configs.
Serialize(), timeoutSeconds,
false,
false);
1655 return Apply(configs, DefaultTimeoutSeconds);
1669 return SetConfigsPrivate(configs.
Serialize(), timeoutSeconds,
false,
false);
1684 return Apply(configs, DefaultTimeoutSeconds);
1698 return SetConfigsPrivate(configs.
Serialize(), timeoutSeconds,
false,
false);
1713 return Apply(configs, DefaultTimeoutSeconds);
1727 return SetConfigsPrivate(configs.
Serialize(), timeoutSeconds,
false,
false);
1742 return Apply(configs, DefaultTimeoutSeconds);
1756 return SetConfigsPrivate(configs.
Serialize(), timeoutSeconds,
false,
false);
1771 return Refresh(configs, DefaultTimeoutSeconds);
1803 return Refresh(configs, DefaultTimeoutSeconds);
1834 return Refresh(configs, DefaultTimeoutSeconds);
1865 return Refresh(configs, DefaultTimeoutSeconds);
1896 return Refresh(configs, DefaultTimeoutSeconds);
1927 return Refresh(configs, DefaultTimeoutSeconds);
1958 return Refresh(configs, DefaultTimeoutSeconds);
1989 return Refresh(configs, DefaultTimeoutSeconds);
2020 return Refresh(configs, DefaultTimeoutSeconds);
2051 return Refresh(configs, DefaultTimeoutSeconds);
2082 return Refresh(configs, DefaultTimeoutSeconds);
2113 return Refresh(configs, DefaultTimeoutSeconds);
2144 return Refresh(configs, DefaultTimeoutSeconds);
2175 return Refresh(configs, DefaultTimeoutSeconds);
2206 return Refresh(configs, DefaultTimeoutSeconds);
2237 return Refresh(configs, DefaultTimeoutSeconds);
2268 return Refresh(configs, DefaultTimeoutSeconds);
2299 return Refresh(configs, DefaultTimeoutSeconds);
2330 return Refresh(configs, DefaultTimeoutSeconds);
2361 return Refresh(configs, DefaultTimeoutSeconds);
2392 return Refresh(configs, DefaultTimeoutSeconds);
2423 return Refresh(configs, DefaultTimeoutSeconds);
2460 return SetPosition(newValue, DefaultTimeoutSeconds);
2497 return ClearStickyFaults(DefaultTimeoutSeconds);
2532 return ClearStickyFault_Hardware(DefaultTimeoutSeconds);
2563 return ClearStickyFault_ProcTemp(DefaultTimeoutSeconds);
2594 return ClearStickyFault_DeviceTemp(DefaultTimeoutSeconds);
2626 return ClearStickyFault_Undervoltage(DefaultTimeoutSeconds);
2659 return ClearStickyFault_BootDuringEnable(DefaultTimeoutSeconds);
2692 return ClearStickyFault_UnlicensedFeatureInUse(DefaultTimeoutSeconds);
2725 return ClearStickyFault_BridgeBrownout(DefaultTimeoutSeconds);
2757 return ClearStickyFault_RemoteSensorReset(DefaultTimeoutSeconds);
2789 return ClearStickyFault_MissingDifferentialFX(DefaultTimeoutSeconds);
2825 return ClearStickyFault_RemoteSensorPosOverflow(DefaultTimeoutSeconds);
2861 return ClearStickyFault_OverSupplyV(DefaultTimeoutSeconds);
2894 return ClearStickyFault_UnstableSupplyV(DefaultTimeoutSeconds);
2927 return ClearStickyFault_ReverseHardLimit(DefaultTimeoutSeconds);
2960 return ClearStickyFault_ForwardHardLimit(DefaultTimeoutSeconds);
2993 return ClearStickyFault_ReverseSoftLimit(DefaultTimeoutSeconds);
3026 return ClearStickyFault_ForwardSoftLimit(DefaultTimeoutSeconds);
3059 return ClearStickyFault_MissingSoftLimitRemote(DefaultTimeoutSeconds);
3092 return ClearStickyFault_MissingHardLimitRemote(DefaultTimeoutSeconds);
3128 return ClearStickyFault_RemoteSensorDataInvalid(DefaultTimeoutSeconds);
3167 return ClearStickyFault_FusedSensorOutOfSync(DefaultTimeoutSeconds);
3202 return ClearStickyFault_StatorCurrLimit(DefaultTimeoutSeconds);
3233 return ClearStickyFault_SupplyCurrLimit(DefaultTimeoutSeconds);
3265 return ClearStickyFault_UsingFusedCANcoderWhileUnlicensed(DefaultTimeoutSeconds);
3298 return ClearStickyFault_StaticBrakeDisabled(DefaultTimeoutSeconds);
3331 return ClearStickyFault_BridgeShort(DefaultTimeoutSeconds);
3365 return ClearStickyFault_HallSensorMissing(DefaultTimeoutSeconds);
3399 return ClearStickyFault_DriveDisabledHallSensor(DefaultTimeoutSeconds);
3432 return ClearStickyFault_MotorTempSensorMissing(DefaultTimeoutSeconds);
3465 return ClearStickyFault_MotorTempSensorTooHot(DefaultTimeoutSeconds);
3498 return ClearStickyFault_MotorArrangementNotSelected(DefaultTimeoutSeconds);
3521#if defined(_WIN32) || defined(_WIN64)
3522#pragma warning(push)
3523#pragma warning(disable : 4250)
3605 std::unique_ptr<sim::TalonFXSSimState> _simState{};
3618 if (_simState ==
nullptr)
3619 _simState = std::make_unique<sim::TalonFXSSimState>(*
this);
3786 StatusSignal<units::voltage::volt_t> &GetMotorVoltage(
bool refresh = true) final;
3802 StatusSignal<signals::ForwardLimitValue> &GetForwardLimit(
bool refresh = true) final;
3818 StatusSignal<signals::ReverseLimitValue> &GetReverseLimit(
bool refresh = true) final;
3836 StatusSignal<signals::AppliedRotorPolarityValue> &GetAppliedRotorPolarity(
bool refresh = true) final;
3856 StatusSignal<units::dimensionless::scalar_t> &GetDutyCycle(
bool refresh = true) final;
3882 StatusSignal<units::current::ampere_t> &GetTorqueCurrent(
bool refresh = true) final;
3908 StatusSignal<units::current::ampere_t> &GetStatorCurrent(
bool refresh = true) final;
3928 StatusSignal<units::current::ampere_t> &GetSupplyCurrent(
bool refresh = true) final;
3948 StatusSignal<units::voltage::volt_t> &GetSupplyVoltage(
bool refresh = true) final;
3971 StatusSignal<units::temperature::celsius_t> &GetDeviceTemp(
bool refresh = true) final;
3994 StatusSignal<units::temperature::celsius_t> &GetProcessorTemp(
bool refresh = true) final;
4015 StatusSignal<units::angular_velocity::turns_per_second_t> &GetRotorVelocity(
bool refresh = true) final;
4036 StatusSignal<units::angle::turn_t> &GetRotorPosition(
bool refresh = true) final;
4058 StatusSignal<units::angular_velocity::turns_per_second_t> &GetVelocity(
bool refresh = true) final;
4081 StatusSignal<units::angle::turn_t> &GetPosition(
bool refresh = true) final;
4104 StatusSignal<units::angular_acceleration::turns_per_second_squared_t> &GetAcceleration(
bool refresh = true) final;
4120 StatusSignal<signals::ControlModeValue> &GetControlMode(
bool refresh = true) final;
4136 StatusSignal<signals::ExternalMotorTempStatusValue> &GetExternalMotorTempStatus(
bool refresh = true) final;
4156 StatusSignal<units::temperature::celsius_t> &GetExternalMotorTemp(
bool refresh = true) final;
4211 StatusSignal<signals::RobotEnableValue> &GetRobotEnable(
bool refresh = true) final;
4227 StatusSignal<signals::DeviceEnableValue> &GetDeviceEnable(
bool refresh = true) final;
4267 StatusSignal<signals::MotorOutputStatusValue> &GetMotorOutputStatus(
bool refresh = true) final;
4283 StatusSignal<signals::DifferentialControlModeValue> &GetDifferentialControlMode(
bool refresh = true) final;
4303 StatusSignal<units::angular_velocity::turns_per_second_t> &GetDifferentialAverageVelocity(
bool refresh = true) final;
4323 StatusSignal<units::angle::turn_t> &GetDifferentialAveragePosition(
bool refresh = true) final;
4343 StatusSignal<units::angular_velocity::turns_per_second_t> &GetDifferentialDifferenceVelocity(
bool refresh = true) final;
4363 StatusSignal<units::angle::turn_t> &GetDifferentialDifferencePosition(
bool refresh = true) final;
4383 StatusSignal<
int> &GetDifferentialClosedLoopSlot(
bool refresh = true) final;
4440 StatusSignal<units::current::ampere_t> &GetMotorStallCurrent(
bool refresh = true) final;
4456 StatusSignal<signals::BridgeOutputValue> &GetBridgeOutput(
bool refresh = true) final;
4495 StatusSignal<units::temperature::celsius_t> &GetAncillaryDeviceTemp(
bool refresh = true) final;
4515 StatusSignal<signals::ConnectedMotorValue> &GetConnectedMotor(
bool refresh = true) final;
4535 StatusSignal<units::voltage::volt_t> &GetFiveVRailVoltage(
bool refresh = true) final;
4555 StatusSignal<units::voltage::volt_t> &GetAnalogVoltage(
bool refresh = true) final;
4580 StatusSignal<units::angle::turn_t> &GetRawQuadraturePosition(
bool refresh = true) final;
4605 StatusSignal<units::angular_velocity::turns_per_second_t> &GetRawQuadratureVelocity(
bool refresh = true) final;
4630 StatusSignal<units::angle::turn_t> &GetRawPulseWidthPosition(
bool refresh = true) final;
4655 StatusSignal<units::angular_velocity::turns_per_second_t> &GetRawPulseWidthVelocity(
bool refresh = true) final;
4783 StatusSignal<
bool> &GetStickyFault_Undervoltage(
bool refresh = true) final;
4815 StatusSignal<
bool> &GetStickyFault_BootDuringEnable(
bool refresh = true) final;
4832 StatusSignal<
bool> &GetFault_UnlicensedFeatureInUse(
bool refresh = true) final;
4849 StatusSignal<
bool> &GetStickyFault_UnlicensedFeatureInUse(
bool refresh = true) final;
4883 StatusSignal<
bool> &GetStickyFault_BridgeBrownout(
bool refresh = true) final;
4915 StatusSignal<
bool> &GetStickyFault_RemoteSensorReset(
bool refresh = true) final;
4932 StatusSignal<
bool> &GetFault_MissingDifferentialFX(
bool refresh = true) final;
4949 StatusSignal<
bool> &GetStickyFault_MissingDifferentialFX(
bool refresh = true) final;
4969 StatusSignal<
bool> &GetFault_RemoteSensorPosOverflow(
bool refresh = true) final;
4989 StatusSignal<
bool> &GetStickyFault_RemoteSensorPosOverflow(
bool refresh = true) final;
5057 StatusSignal<
bool> &GetStickyFault_UnstableSupplyV(
bool refresh = true) final;
5091 StatusSignal<
bool> &GetStickyFault_ReverseHardLimit(
bool refresh = true) final;
5125 StatusSignal<
bool> &GetStickyFault_ForwardHardLimit(
bool refresh = true) final;
5159 StatusSignal<
bool> &GetStickyFault_ReverseSoftLimit(
bool refresh = true) final;
5193 StatusSignal<
bool> &GetStickyFault_ForwardSoftLimit(
bool refresh = true) final;
5209 StatusSignal<
bool> &GetFault_MissingSoftLimitRemote(
bool refresh = true) final;
5225 StatusSignal<
bool> &GetStickyFault_MissingSoftLimitRemote(
bool refresh = true) final;
5241 StatusSignal<
bool> &GetFault_MissingHardLimitRemote(
bool refresh = true) final;
5257 StatusSignal<
bool> &GetStickyFault_MissingHardLimitRemote(
bool refresh = true) final;
5276 StatusSignal<
bool> &GetFault_RemoteSensorDataInvalid(
bool refresh = true) final;
5295 StatusSignal<
bool> &GetStickyFault_RemoteSensorDataInvalid(
bool refresh = true) final;
5315 StatusSignal<
bool> &GetFault_FusedSensorOutOfSync(
bool refresh = true) final;
5335 StatusSignal<
bool> &GetStickyFault_FusedSensorOutOfSync(
bool refresh = true) final;
5367 StatusSignal<
bool> &GetStickyFault_StatorCurrLimit(
bool refresh = true) final;
5399 StatusSignal<
bool> &GetStickyFault_SupplyCurrLimit(
bool refresh = true) final;
5416 StatusSignal<
bool> &GetFault_UsingFusedCANcoderWhileUnlicensed(
bool refresh = true) final;
5433 StatusSignal<
bool> &GetStickyFault_UsingFusedCANcoderWhileUnlicensed(
bool refresh = true) final;
5450 StatusSignal<
bool> &GetFault_StaticBrakeDisabled(
bool refresh = true) final;
5467 StatusSignal<
bool> &GetStickyFault_StaticBrakeDisabled(
bool refresh = true) final;
5537 StatusSignal<
bool> &GetStickyFault_HallSensorMissing(
bool refresh = true) final;
5554 StatusSignal<
bool> &GetFault_DriveDisabledHallSensor(
bool refresh = true) final;
5571 StatusSignal<
bool> &GetStickyFault_DriveDisabledHallSensor(
bool refresh = true) final;
5587 StatusSignal<
bool> &GetFault_MotorTempSensorMissing(
bool refresh = true) final;
5603 StatusSignal<
bool> &GetStickyFault_MotorTempSensorMissing(
bool refresh = true) final;
5619 StatusSignal<
bool> &GetFault_MotorTempSensorTooHot(
bool refresh = true) final;
5635 StatusSignal<
bool> &GetStickyFault_MotorTempSensorTooHot(
bool refresh = true) final;
5651 StatusSignal<
bool> &GetFault_MotorArrangementNotSelected(
bool refresh = true) final;
5667 StatusSignal<
bool> &GetStickyFault_MotorArrangementNotSelected(
bool refresh = true) final;
5722 StatusSignal<
double> &GetClosedLoopProportionalOutput(
bool refresh = true) final;
5743 StatusSignal<
double> &GetClosedLoopIntegratedOutput(
bool refresh = true) final;
5784 StatusSignal<
double> &GetClosedLoopDerivativeOutput(
bool refresh = true) final;
5845 StatusSignal<
double> &GetClosedLoopReferenceSlope(
bool refresh = true) final;
5905 StatusSignal<
double> &GetDifferentialClosedLoopProportionalOutput(
bool refresh = true) final;
5924 StatusSignal<
double> &GetDifferentialClosedLoopIntegratedOutput(
bool refresh = true) final;
5942 StatusSignal<
double> &GetDifferentialClosedLoopFeedForward(
bool refresh = true) final;
5961 StatusSignal<
double> &GetDifferentialClosedLoopDerivativeOutput(
bool refresh = true) final;
5979 StatusSignal<
double> &GetDifferentialClosedLoopOutput(
bool refresh = true) final;
5997 StatusSignal<
double> &GetDifferentialClosedLoopReference(
bool refresh = true) final;
6019 StatusSignal<
double> &GetDifferentialClosedLoopReferenceSlope(
bool refresh = true) final;
6038 StatusSignal<
double> &GetDifferentialClosedLoopError(
bool refresh = true) final;
6111 ctre::phoenix::StatusCode SetControl(controls::DutyCycleOut const &request) final;
6183 ctre::phoenix::StatusCode SetControl(controls::VoltageOut const &request) final;
6264 ctre::phoenix::StatusCode SetControl(controls::PositionDutyCycle const &request) final;
6344 ctre::phoenix::StatusCode SetControl(controls::PositionVoltage const &request) final;
6425 ctre::phoenix::StatusCode SetControl(controls::VelocityDutyCycle const &request) final;
6505 ctre::phoenix::StatusCode SetControl(controls::VelocityVoltage const &request) final;
6592 ctre::phoenix::StatusCode SetControl(controls::MotionMagicDutyCycle const &request) final;
6678 ctre::phoenix::StatusCode SetControl(controls::MotionMagicVoltage const &request) final;
6759 ctre::phoenix::StatusCode SetControl(controls::DifferentialDutyCycle const &request) final;
6841 ctre::phoenix::StatusCode SetControl(controls::DifferentialVoltage const &request) final;
6924 ctre::phoenix::StatusCode SetControl(controls::DifferentialPositionDutyCycle const &request) final;
7007 ctre::phoenix::StatusCode SetControl(controls::DifferentialPositionVoltage const &request) final;
7091 ctre::phoenix::StatusCode SetControl(controls::DifferentialVelocityDutyCycle const &request) final;
7175 ctre::phoenix::StatusCode SetControl(controls::DifferentialVelocityVoltage const &request) final;
7265 ctre::phoenix::StatusCode SetControl(controls::DifferentialMotionMagicDutyCycle const &request) final;
7355 ctre::phoenix::StatusCode SetControl(controls::DifferentialMotionMagicVoltage const &request) final;
7450 ctre::phoenix::StatusCode SetControl(controls::DifferentialMotionMagicExpoDutyCycle const &request) final;
7545 ctre::phoenix::StatusCode SetControl(controls::DifferentialMotionMagicExpoVoltage const &request) final;
7640 ctre::phoenix::StatusCode SetControl(controls::DifferentialMotionMagicVelocityDutyCycle const &request) final;
7735 ctre::phoenix::StatusCode SetControl(controls::DifferentialMotionMagicVelocityVoltage const &request) final;
7767 ctre::phoenix::StatusCode SetControl(controls::Follower const &request) final;
7794 ctre::phoenix::StatusCode SetControl(controls::StrictFollower const &request) final;
7823 ctre::phoenix::StatusCode SetControl(controls::DifferentialFollower const &request) final;
7848 ctre::phoenix::StatusCode SetControl(controls::DifferentialStrictFollower const &request) final;
7867 ctre::phoenix::StatusCode SetControl(controls::NeutralOut const &request) final;
7886 ctre::phoenix::StatusCode SetControl(controls::CoastOut const &request) final;
7904 ctre::phoenix::StatusCode SetControl(controls::StaticBrake const &request) final;
8004 ctre::phoenix::StatusCode SetControl(controls::MotionMagicVelocityDutyCycle const &request) final;
8103 ctre::phoenix::StatusCode SetControl(controls::MotionMagicVelocityVoltage const &request) final;
8194 ctre::phoenix::StatusCode SetControl(controls::MotionMagicExpoDutyCycle const &request) final;
8284 ctre::phoenix::StatusCode SetControl(controls::MotionMagicExpoVoltage const &request) final;
8381 ctre::phoenix::StatusCode SetControl(controls::DynamicMotionMagicDutyCycle const &request) final;
8477 ctre::phoenix::StatusCode SetControl(controls::DynamicMotionMagicVoltage const &request) final;
8584 ctre::phoenix::StatusCode SetControl(controls::DynamicMotionMagicExpoDutyCycle const &request) final;
8690 ctre::phoenix::StatusCode SetControl(controls::DynamicMotionMagicExpoVoltage const &request) final;
8704 ctre::phoenix::StatusCode SetControl(controls::compound::Diff_DutyCycleOut_Position const &request) final;
8718 ctre::phoenix::StatusCode SetControl(controls::compound::Diff_PositionDutyCycle_Position const &request) final;
8732 ctre::phoenix::StatusCode SetControl(controls::compound::Diff_VelocityDutyCycle_Position const &request) final;
8746 ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicDutyCycle_Position const &request) final;
8761 ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicExpoDutyCycle_Position const &request) final;
8776 ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicVelocityDutyCycle_Position const &request) final;
8790 ctre::phoenix::StatusCode SetControl(controls::compound::Diff_DutyCycleOut_Velocity const &request) final;
8804 ctre::phoenix::StatusCode SetControl(controls::compound::Diff_PositionDutyCycle_Velocity const &request) final;
8818 ctre::phoenix::StatusCode SetControl(controls::compound::Diff_VelocityDutyCycle_Velocity const &request) final;
8832 ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicDutyCycle_Velocity const &request) final;
8847 ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicExpoDutyCycle_Velocity const &request) final;
8862 ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicVelocityDutyCycle_Velocity const &request) final;
8875 ctre::phoenix::StatusCode SetControl(controls::compound::Diff_DutyCycleOut_Open const &request) final;
8888 ctre::phoenix::StatusCode SetControl(controls::compound::Diff_PositionDutyCycle_Open const &request) final;
8901 ctre::phoenix::StatusCode SetControl(controls::compound::Diff_VelocityDutyCycle_Open const &request) final;
8914 ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicDutyCycle_Open const &request) final;
8928 ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicExpoDutyCycle_Open const &request) final;
8942 ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicVelocityDutyCycle_Open const &request) final;
8956 ctre::phoenix::StatusCode SetControl(controls::compound::Diff_VoltageOut_Position const &request) final;
8970 ctre::phoenix::StatusCode SetControl(controls::compound::Diff_PositionVoltage_Position const &request) final;
8984 ctre::phoenix::StatusCode SetControl(controls::compound::Diff_VelocityVoltage_Position const &request) final;
8998 ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicVoltage_Position const &request) final;
9012 ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicExpoVoltage_Position const &request) final;
9027 ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicVelocityVoltage_Position const &request) final;
9041 ctre::phoenix::StatusCode SetControl(controls::compound::Diff_VoltageOut_Velocity const &request) final;
9055 ctre::phoenix::StatusCode SetControl(controls::compound::Diff_PositionVoltage_Velocity const &request) final;
9069 ctre::phoenix::StatusCode SetControl(controls::compound::Diff_VelocityVoltage_Velocity const &request) final;
9083 ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicVoltage_Velocity const &request) final;
9097 ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicExpoVoltage_Velocity const &request) final;
9112 ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicVelocityVoltage_Velocity const &request) final;
9125 ctre::phoenix::StatusCode SetControl(controls::compound::Diff_VoltageOut_Open const &request) final;
9138 ctre::phoenix::StatusCode SetControl(controls::compound::Diff_PositionVoltage_Open const &request) final;
9151 ctre::phoenix::StatusCode SetControl(controls::compound::Diff_VelocityVoltage_Open const &request) final;
9164 ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicVoltage_Open const &request) final;
9177 ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicExpoVoltage_Open const &request) final;
9191 ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicVelocityVoltage_Open const &request) final;
9199 ctre::phoenix::StatusCode SetControl(controls::EmptyControl const &request) final;
9210 ctre::phoenix::StatusCode SetControl(controls::ControlRequest const &request) final;
9221 ctre::phoenix::StatusCode SetPosition(units::angle::turn_t newValue, units::time::second_t timeoutSeconds) final
9223 return GetConfigurator().SetPosition(newValue, timeoutSeconds);
9236 return SetPosition(newValue, 0.100_s);
9251 return GetConfigurator().ClearStickyFaults(timeoutSeconds);
9266 return ClearStickyFaults(0.100_s);
9277 return GetConfigurator().ClearStickyFault_Hardware(timeoutSeconds);
9288 return ClearStickyFault_Hardware(0.100_s);
9299 return GetConfigurator().ClearStickyFault_ProcTemp(timeoutSeconds);
9310 return ClearStickyFault_ProcTemp(0.100_s);
9321 return GetConfigurator().ClearStickyFault_DeviceTemp(timeoutSeconds);
9332 return ClearStickyFault_DeviceTemp(0.100_s);
9344 return GetConfigurator().ClearStickyFault_Undervoltage(timeoutSeconds);
9356 return ClearStickyFault_Undervoltage(0.100_s);
9368 return GetConfigurator().ClearStickyFault_BootDuringEnable(timeoutSeconds);
9380 return ClearStickyFault_BootDuringEnable(0.100_s);
9392 return GetConfigurator().ClearStickyFault_UnlicensedFeatureInUse(timeoutSeconds);
9404 return ClearStickyFault_UnlicensedFeatureInUse(0.100_s);
9416 return GetConfigurator().ClearStickyFault_BridgeBrownout(timeoutSeconds);
9428 return ClearStickyFault_BridgeBrownout(0.100_s);
9439 return GetConfigurator().ClearStickyFault_RemoteSensorReset(timeoutSeconds);
9450 return ClearStickyFault_RemoteSensorReset(0.100_s);
9462 return GetConfigurator().ClearStickyFault_MissingDifferentialFX(timeoutSeconds);
9474 return ClearStickyFault_MissingDifferentialFX(0.100_s);
9489 return GetConfigurator().ClearStickyFault_RemoteSensorPosOverflow(timeoutSeconds);
9504 return ClearStickyFault_RemoteSensorPosOverflow(0.100_s);
9516 return GetConfigurator().ClearStickyFault_OverSupplyV(timeoutSeconds);
9528 return ClearStickyFault_OverSupplyV(0.100_s);
9540 return GetConfigurator().ClearStickyFault_UnstableSupplyV(timeoutSeconds);
9552 return ClearStickyFault_UnstableSupplyV(0.100_s);
9564 return GetConfigurator().ClearStickyFault_ReverseHardLimit(timeoutSeconds);
9576 return ClearStickyFault_ReverseHardLimit(0.100_s);
9588 return GetConfigurator().ClearStickyFault_ForwardHardLimit(timeoutSeconds);
9600 return ClearStickyFault_ForwardHardLimit(0.100_s);
9612 return GetConfigurator().ClearStickyFault_ReverseSoftLimit(timeoutSeconds);
9624 return ClearStickyFault_ReverseSoftLimit(0.100_s);
9636 return GetConfigurator().ClearStickyFault_ForwardSoftLimit(timeoutSeconds);
9648 return ClearStickyFault_ForwardSoftLimit(0.100_s);
9660 return GetConfigurator().ClearStickyFault_MissingSoftLimitRemote(timeoutSeconds);
9672 return ClearStickyFault_MissingSoftLimitRemote(0.100_s);
9684 return GetConfigurator().ClearStickyFault_MissingHardLimitRemote(timeoutSeconds);
9696 return ClearStickyFault_MissingHardLimitRemote(0.100_s);
9711 return GetConfigurator().ClearStickyFault_RemoteSensorDataInvalid(timeoutSeconds);
9726 return ClearStickyFault_RemoteSensorDataInvalid(0.100_s);
9741 return GetConfigurator().ClearStickyFault_FusedSensorOutOfSync(timeoutSeconds);
9756 return ClearStickyFault_FusedSensorOutOfSync(0.100_s);
9767 return GetConfigurator().ClearStickyFault_StatorCurrLimit(timeoutSeconds);
9778 return ClearStickyFault_StatorCurrLimit(0.100_s);
9789 return GetConfigurator().ClearStickyFault_SupplyCurrLimit(timeoutSeconds);
9800 return ClearStickyFault_SupplyCurrLimit(0.100_s);
9812 return GetConfigurator().ClearStickyFault_UsingFusedCANcoderWhileUnlicensed(timeoutSeconds);
9824 return ClearStickyFault_UsingFusedCANcoderWhileUnlicensed(0.100_s);
9836 return GetConfigurator().ClearStickyFault_StaticBrakeDisabled(timeoutSeconds);
9848 return ClearStickyFault_StaticBrakeDisabled(0.100_s);
9860 return GetConfigurator().ClearStickyFault_BridgeShort(timeoutSeconds);
9872 return ClearStickyFault_BridgeShort(0.100_s);
9885 return GetConfigurator().ClearStickyFault_HallSensorMissing(timeoutSeconds);
9898 return ClearStickyFault_HallSensorMissing(0.100_s);
9910 return GetConfigurator().ClearStickyFault_DriveDisabledHallSensor(timeoutSeconds);
9922 return ClearStickyFault_DriveDisabledHallSensor(0.100_s);
9934 return GetConfigurator().ClearStickyFault_MotorTempSensorMissing(timeoutSeconds);
9946 return ClearStickyFault_MotorTempSensorMissing(0.100_s);
9958 return GetConfigurator().ClearStickyFault_MotorTempSensorTooHot(timeoutSeconds);
9970 return ClearStickyFault_MotorTempSensorTooHot(0.100_s);
9982 return GetConfigurator().ClearStickyFault_MotorArrangementNotSelected(timeoutSeconds);
9994 return ClearStickyFault_MotorArrangementNotSelected(0.100_s);
9998#if defined(_WIN32) || defined(_WIN64)
Class for getting information about an available CAN bus.
Definition CANBus.hpp:19
Represents a status signal with data of type T, and operations available to retrieve information abou...
Definition StatusSignal.hpp:567
Configs that affect audible components of the device.
Definition AudioConfigs.hpp:23
ctre::phoenix::StatusCode Deserialize(std::string const &to_deserialize) final
std::string Serialize() const final
Configs that affect general behavior during closed-looping.
Definition ClosedLoopGeneralConfigs.hpp:24
std::string Serialize() const final
ctre::phoenix::StatusCode Deserialize(std::string const &to_deserialize) final
Configs that affect the closed-loop control of this motor controller.
Definition ClosedLoopRampsConfigs.hpp:24
ctre::phoenix::StatusCode Deserialize(std::string const &to_deserialize) final
std::string Serialize() const final
Configs that determine motor selection and commutation.
Definition CommutationConfigs.hpp:24
ctre::phoenix::StatusCode Deserialize(std::string const &to_deserialize) final
std::string Serialize() const final
Configs that directly affect current limiting features.
Definition CurrentLimitsConfigs.hpp:25
ctre::phoenix::StatusCode Deserialize(std::string const &to_deserialize) final
std::string Serialize() const final
Configs related to using a custom brushless motor that is not formally supported by Talon FXS.
Definition CustomBrushlessMotorConfigs.hpp:31
ctre::phoenix::StatusCode Deserialize(std::string const &to_deserialize) final
std::string Serialize() const final
Custom Params.
Definition CustomParamsConfigs.hpp:23
std::string Serialize() const final
ctre::phoenix::StatusCode Deserialize(std::string const &to_deserialize) final
Configs related to constants used for differential control of a mechanism.
Definition DifferentialConstantsConfigs.hpp:26
std::string Serialize() const final
ctre::phoenix::StatusCode Deserialize(std::string const &to_deserialize) final
Configs related to sensors used for differential control of a mechanism.
Definition DifferentialSensorsConfigs.hpp:25
ctre::phoenix::StatusCode Deserialize(std::string const &to_deserialize) final
std::string Serialize() const final
Configs that affect the external feedback sensor of this motor controller.
Definition ExternalFeedbackConfigs.hpp:32
std::string Serialize() const final
ctre::phoenix::StatusCode Deserialize(std::string const &to_deserialize) final
Configs related to using an independent thermister for automatically disabling a motor when a thresho...
Definition ExternalTempConfigs.hpp:34
ctre::phoenix::StatusCode Deserialize(std::string const &to_deserialize) final
std::string Serialize() const final
Configs that change how the motor controller behaves under different limit switch states.
Definition HardwareLimitSwitchConfigs.hpp:30
std::string Serialize() const final
ctre::phoenix::StatusCode Deserialize(std::string const &to_deserialize) final
Configs for Motion Magic®.
Definition MotionMagicConfigs.hpp:27
ctre::phoenix::StatusCode Deserialize(std::string const &to_deserialize) final
std::string Serialize() const final
Configs that directly affect motor output.
Definition MotorOutputConfigs.hpp:26
std::string Serialize() const final
ctre::phoenix::StatusCode Deserialize(std::string const &to_deserialize) final
Configs that affect the open-loop control of this motor controller.
Definition OpenLoopRampsConfigs.hpp:24
std::string Serialize() const final
ctre::phoenix::StatusCode Deserialize(std::string const &to_deserialize) final
Definition Configuration.hpp:17
The base class for all device configurators.
Definition Configurator.hpp:21
Gains for the specified slot.
Definition Slot0Configs.hpp:26
std::string Serialize() const final
ctre::phoenix::StatusCode Deserialize(std::string const &to_deserialize) final
Gains for the specified slot.
Definition Slot1Configs.hpp:26
std::string Serialize() const final
ctre::phoenix::StatusCode Deserialize(std::string const &to_deserialize) final
Gains for the specified slot.
Definition Slot2Configs.hpp:26
ctre::phoenix::StatusCode Deserialize(std::string const &to_deserialize) final
std::string Serialize() const final
Gains for the specified slot.
Definition SlotConfigs.hpp:26
std::string Serialize() const final
ctre::phoenix::StatusCode Deserialize(std::string const &to_deserialize) final
Configs that affect how software-limit switches behave.
Definition SoftwareLimitSwitchConfigs.hpp:24
ctre::phoenix::StatusCode Deserialize(std::string const &to_deserialize) final
std::string Serialize() const final
Class description for the Talon FXS motor controller.
Definition CoreTalonFXS.hpp:133
OpenLoopRampsConfigs OpenLoopRamps
Configs that affect the open-loop control of this motor controller.
Definition CoreTalonFXS.hpp:272
constexpr TalonFXSConfiguration & WithMotorOutput(MotorOutputConfigs newMotorOutput)
Modifies this configuration's MotorOutput parameter and returns itself for method-chaining and easier...
Definition CoreTalonFXS.hpp:545
MotorOutputConfigs MotorOutput
Configs that directly affect motor output.
Definition CoreTalonFXS.hpp:169
constexpr TalonFXSConfiguration & WithClosedLoopGeneral(ClosedLoopGeneralConfigs newClosedLoopGeneral)
Modifies this configuration's ClosedLoopGeneral parameter and returns itself for method-chaining and ...
Definition CoreTalonFXS.hpp:893
constexpr TalonFXSConfiguration & WithOpenLoopRamps(OpenLoopRampsConfigs newOpenLoopRamps)
Modifies this configuration's OpenLoopRamps parameter and returns itself for method-chaining and easi...
Definition CoreTalonFXS.hpp:707
constexpr TalonFXSConfiguration & WithMotionMagic(MotionMagicConfigs newMotionMagic)
Modifies this configuration's MotionMagic parameter and returns itself for method-chaining and easier...
Definition CoreTalonFXS.hpp:845
constexpr TalonFXSConfiguration & WithDifferentialConstants(DifferentialConstantsConfigs newDifferentialConstants)
Modifies this configuration's DifferentialConstants parameter and returns itself for method-chaining ...
Definition CoreTalonFXS.hpp:683
ExternalFeedbackConfigs ExternalFeedback
Configs that affect the external feedback sensor of this motor controller.
Definition CoreTalonFXS.hpp:226
ExternalTempConfigs ExternalTemp
Configs related to using an independent thermister for automatically disabling a motor when a thresho...
Definition CoreTalonFXS.hpp:452
CommutationConfigs Commutation
Configs that determine motor selection and commutation.
Definition CoreTalonFXS.hpp:403
constexpr TalonFXSConfiguration & WithCommutation(CommutationConfigs newCommutation)
Modifies this configuration's Commutation parameter and returns itself for method-chaining and easier...
Definition CoreTalonFXS.hpp:918
constexpr TalonFXSConfiguration & WithHardwareLimitSwitch(HardwareLimitSwitchConfigs newHardwareLimitSwitch)
Modifies this configuration's HardwareLimitSwitch parameter and returns itself for method-chaining an...
Definition CoreTalonFXS.hpp:768
constexpr TalonFXSConfiguration & WithSlot0(Slot0Configs newSlot0)
Modifies this configuration's Slot0 parameter and returns itself for method-chaining and easier to us...
Definition CoreTalonFXS.hpp:1019
ClosedLoopRampsConfigs ClosedLoopRamps
Configs that affect the closed-loop control of this motor controller.
Definition CoreTalonFXS.hpp:287
constexpr TalonFXSConfiguration & WithDifferentialSensors(DifferentialSensorsConfigs newDifferentialSensors)
Modifies this configuration's DifferentialSensors parameter and returns itself for method-chaining an...
Definition CoreTalonFXS.hpp:658
constexpr TalonFXSConfiguration()=default
SoftwareLimitSwitchConfigs SoftwareLimitSwitch
Configs that affect how software-limit switches behave.
Definition CoreTalonFXS.hpp:343
ctre::phoenix::StatusCode Deserialize(std::string const &to_deserialize) final
Take a string and deserialize it to this configuration.
constexpr TalonFXSConfiguration & WithSoftwareLimitSwitch(SoftwareLimitSwitchConfigs newSoftwareLimitSwitch)
Modifies this configuration's SoftwareLimitSwitch parameter and returns itself for method-chaining an...
Definition CoreTalonFXS.hpp:818
constexpr TalonFXSConfiguration & WithAudio(AudioConfigs newAudio)
Modifies this configuration's Audio parameter and returns itself for method-chaining and easier to us...
Definition CoreTalonFXS.hpp:792
constexpr TalonFXSConfiguration & WithCustomParams(CustomParamsConfigs newCustomParams)
Modifies this configuration's CustomParams parameter and returns itself for method-chaining and easie...
Definition CoreTalonFXS.hpp:868
std::string ToString() const override
Get the string representation of this configuration.
MotionMagicConfigs MotionMagic
Configs for Motion Magic®.
Definition CoreTalonFXS.hpp:360
ClosedLoopGeneralConfigs ClosedLoopGeneral
Configs that affect general behavior during closed-looping.
Definition CoreTalonFXS.hpp:388
constexpr TalonFXSConfiguration & WithExternalFeedback(ExternalFeedbackConfigs newExternalFeedback)
Modifies this configuration's ExternalFeedback parameter and returns itself for method-chaining and e...
Definition CoreTalonFXS.hpp:632
constexpr TalonFXSConfiguration & WithVoltage(VoltageConfigs newVoltage)
Modifies this configuration's Voltage parameter and returns itself for method-chaining and easier to ...
Definition CoreTalonFXS.hpp:598
constexpr TalonFXSConfiguration & WithSlot2(Slot2Configs newSlot2)
Modifies this configuration's Slot2 parameter and returns itself for method-chaining and easier to us...
Definition CoreTalonFXS.hpp:1085
HardwareLimitSwitchConfigs HardwareLimitSwitch
Configs that change how the motor controller behaves under different limit switch states.
Definition CoreTalonFXS.hpp:313
std::string Serialize() const final
Get the serialized form of this configuration.
AudioConfigs Audio
Configs that affect audible components of the device.
Definition CoreTalonFXS.hpp:327
constexpr TalonFXSConfiguration & WithCustomBrushlessMotor(CustomBrushlessMotorConfigs newCustomBrushlessMotor)
Modifies this configuration's CustomBrushlessMotor parameter and returns itself for method-chaining a...
Definition CoreTalonFXS.hpp:953
bool FutureProofConfigs
True if we should factory default newer unsupported configs, false to leave newer unsupported configs...
Definition CoreTalonFXS.hpp:150
CurrentLimitsConfigs CurrentLimits
Configs that directly affect current limiting features.
Definition CoreTalonFXS.hpp:187
CustomParamsConfigs CustomParams
Custom Params.
Definition CoreTalonFXS.hpp:373
Slot1Configs Slot1
Gains for the specified slot.
Definition CoreTalonFXS.hpp:498
Slot2Configs Slot2
Gains for the specified slot.
Definition CoreTalonFXS.hpp:521
VoltageConfigs Voltage
Configs that affect Voltage control types.
Definition CoreTalonFXS.hpp:202
constexpr TalonFXSConfiguration & WithClosedLoopRamps(ClosedLoopRampsConfigs newClosedLoopRamps)
Modifies this configuration's ClosedLoopRamps parameter and returns itself for method-chaining and ea...
Definition CoreTalonFXS.hpp:732
Slot0Configs Slot0
Gains for the specified slot.
Definition CoreTalonFXS.hpp:475
constexpr TalonFXSConfiguration & WithSlot1(Slot1Configs newSlot1)
Modifies this configuration's Slot1 parameter and returns itself for method-chaining and easier to us...
Definition CoreTalonFXS.hpp:1052
DifferentialSensorsConfigs DifferentialSensors
Configs related to sensors used for differential control of a mechanism.
Definition CoreTalonFXS.hpp:242
constexpr TalonFXSConfiguration & WithExternalTemp(ExternalTempConfigs newExternalTemp)
Modifies this configuration's ExternalTemp parameter and returns itself for method-chaining and easie...
Definition CoreTalonFXS.hpp:986
CustomBrushlessMotorConfigs CustomBrushlessMotor
Configs related to using a custom brushless motor that is not formally supported by Talon FXS.
Definition CoreTalonFXS.hpp:428
constexpr TalonFXSConfiguration & WithCurrentLimits(CurrentLimitsConfigs newCurrentLimits)
Modifies this configuration's CurrentLimits parameter and returns itself for method-chaining and easi...
Definition CoreTalonFXS.hpp:573
DifferentialConstantsConfigs DifferentialConstants
Configs related to constants used for differential control of a mechanism.
Definition CoreTalonFXS.hpp:257
Class description for the Talon FXS motor controller.
Definition CoreTalonFXS.hpp:1112
ctre::phoenix::StatusCode ClearStickyFault_BridgeBrownout()
Clear sticky fault: Bridge was disabled most likely due to supply voltage dropping too low.
Definition CoreTalonFXS.hpp:2723
ctre::phoenix::StatusCode Apply(const VoltageConfigs &configs)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1218
ctre::phoenix::StatusCode ClearStickyFaults()
Clear the sticky faults in the device.
Definition CoreTalonFXS.hpp:2495
ctre::phoenix::StatusCode ClearStickyFault_HallSensorMissing(units::time::second_t timeoutSeconds)
Clear sticky fault: Hall sensor signals are invalid.
ctre::phoenix::StatusCode ClearStickyFault_Undervoltage(units::time::second_t timeoutSeconds)
Clear sticky fault: Device supply voltage dropped to near brownout levels.
ctre::phoenix::StatusCode Apply(const SlotConfigs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1754
ctre::phoenix::StatusCode ClearStickyFault_Hardware()
Clear sticky fault: Hardware fault occurred.
Definition CoreTalonFXS.hpp:2530
ctre::phoenix::StatusCode Refresh(CurrentLimitsConfigs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:1845
ctre::phoenix::StatusCode Refresh(HardwareLimitSwitchConfigs &configs) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:2049
ctre::phoenix::StatusCode Refresh(HardwareLimitSwitchConfigs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:2062
ctre::phoenix::StatusCode Refresh(SlotConfigs &configs) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:2421
ctre::phoenix::StatusCode ClearStickyFault_ForwardSoftLimit(units::time::second_t timeoutSeconds)
Clear sticky fault: Forward soft limit has been asserted.
ctre::phoenix::StatusCode Refresh(DifferentialSensorsConfigs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:1938
ctre::phoenix::StatusCode ClearStickyFault_MissingHardLimitRemote()
Clear sticky fault: The remote limit switch device is not present on CAN Bus.
Definition CoreTalonFXS.hpp:3090
ctre::phoenix::StatusCode Refresh(CustomBrushlessMotorConfigs &configs) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:2266
ctre::phoenix::StatusCode Refresh(ExternalFeedbackConfigs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:1907
ctre::phoenix::StatusCode Refresh(CustomParamsConfigs &configs) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:2173
ctre::phoenix::StatusCode Refresh(TalonFXSConfiguration &configs) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:1769
ctre::phoenix::StatusCode ClearStickyFault_ProcTemp(units::time::second_t timeoutSeconds)
Clear sticky fault: Processor temperature exceeded limit.
ctre::phoenix::StatusCode Apply(const ClosedLoopGeneralConfigs &configs)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1537
ctre::phoenix::StatusCode Refresh(MotorOutputConfigs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:1814
ctre::phoenix::StatusCode Apply(const MotionMagicConfigs &configs)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1479
ctre::phoenix::StatusCode ClearStickyFault_ProcTemp()
Clear sticky fault: Processor temperature exceeded limit.
Definition CoreTalonFXS.hpp:2561
ctre::phoenix::StatusCode ClearStickyFault_StaticBrakeDisabled(units::time::second_t timeoutSeconds)
Clear sticky fault: Static brake was momentarily disabled due to excessive braking current while disa...
ctre::phoenix::StatusCode Refresh(Slot0Configs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:2341
ctre::phoenix::StatusCode Apply(const VoltageConfigs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1232
ctre::phoenix::StatusCode Apply(const DifferentialConstantsConfigs &configs)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1305
ctre::phoenix::StatusCode Apply(const ExternalTempConfigs &configs)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1624
ctre::phoenix::StatusCode ClearStickyFault_MotorTempSensorMissing(units::time::second_t timeoutSeconds)
Clear sticky fault: Motor temperature signal appears to not be connected.
ctre::phoenix::StatusCode ClearStickyFault_OverSupplyV(units::time::second_t timeoutSeconds)
Clear sticky fault: Supply Voltage has exceeded the maximum voltage rating of device.
ctre::phoenix::StatusCode Refresh(ClosedLoopGeneralConfigs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:2217
ctre::phoenix::StatusCode ClearStickyFault_StaticBrakeDisabled()
Clear sticky fault: Static brake was momentarily disabled due to excessive braking current while disa...
Definition CoreTalonFXS.hpp:3296
ctre::phoenix::StatusCode ClearStickyFault_RemoteSensorReset(units::time::second_t timeoutSeconds)
Clear sticky fault: The remote sensor has reset.
ctre::phoenix::StatusCode Apply(const CustomBrushlessMotorConfigs &configs)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1595
ctre::phoenix::StatusCode ClearStickyFault_ReverseHardLimit()
Clear sticky fault: Reverse limit switch has been asserted.
Definition CoreTalonFXS.hpp:2925
ctre::phoenix::StatusCode ClearStickyFault_UnlicensedFeatureInUse(units::time::second_t timeoutSeconds)
Clear sticky fault: An unlicensed feature is in use, device may not behave as expected.
ctre::phoenix::StatusCode ClearStickyFault_ForwardSoftLimit()
Clear sticky fault: Forward soft limit has been asserted.
Definition CoreTalonFXS.hpp:3024
ctre::phoenix::StatusCode Refresh(MotionMagicConfigs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:2155
ctre::phoenix::StatusCode ClearStickyFault_RemoteSensorPosOverflow()
Clear sticky fault: The remote sensor position has overflowed.
Definition CoreTalonFXS.hpp:2823
ctre::phoenix::StatusCode SetPosition(units::angle::turn_t newValue)
Sets the mechanism position of the device in mechanism rotations.
Definition CoreTalonFXS.hpp:2458
ctre::phoenix::StatusCode Refresh(ExternalTempConfigs &configs) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:2297
ctre::phoenix::StatusCode ClearStickyFault_FusedSensorOutOfSync()
Clear sticky fault: The remote sensor used for fusion has fallen out of sync to the local sensor.
Definition CoreTalonFXS.hpp:3165
ctre::phoenix::StatusCode ClearStickyFault_ForwardHardLimit(units::time::second_t timeoutSeconds)
Clear sticky fault: Forward limit switch has been asserted.
ctre::phoenix::StatusCode ClearStickyFault_ReverseSoftLimit(units::time::second_t timeoutSeconds)
Clear sticky fault: Reverse soft limit has been asserted.
ctre::phoenix::StatusCode Apply(const AudioConfigs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1435
ctre::phoenix::StatusCode ClearStickyFault_OverSupplyV()
Clear sticky fault: Supply Voltage has exceeded the maximum voltage rating of device.
Definition CoreTalonFXS.hpp:2859
ctre::phoenix::StatusCode Apply(const SoftwareLimitSwitchConfigs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1464
ctre::phoenix::StatusCode Apply(const HardwareLimitSwitchConfigs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1406
ctre::phoenix::StatusCode ClearStickyFault_BridgeShort(units::time::second_t timeoutSeconds)
Clear sticky fault: Bridge was disabled most likely due to a short in the motor leads.
ctre::phoenix::StatusCode ClearStickyFault_ReverseSoftLimit()
Clear sticky fault: Reverse soft limit has been asserted.
Definition CoreTalonFXS.hpp:2991
ctre::phoenix::StatusCode ClearStickyFault_BridgeBrownout(units::time::second_t timeoutSeconds)
Clear sticky fault: Bridge was disabled most likely due to supply voltage dropping too low.
ctre::phoenix::StatusCode Apply(const HardwareLimitSwitchConfigs &configs)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1392
ctre::phoenix::StatusCode ClearStickyFault_SupplyCurrLimit()
Clear sticky fault: Supply current limit occured.
Definition CoreTalonFXS.hpp:3231
ctre::phoenix::StatusCode Refresh(MotionMagicConfigs &configs) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:2142
ctre::phoenix::StatusCode Refresh(Slot2Configs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:2403
ctre::phoenix::StatusCode SetPosition(units::angle::turn_t newValue, units::time::second_t timeoutSeconds)
Sets the mechanism position of the device in mechanism rotations.
ctre::phoenix::StatusCode ClearStickyFault_MotorArrangementNotSelected(units::time::second_t timeoutSeconds)
Clear sticky fault: Motor arrangement has not been set in configuration.
ctre::phoenix::StatusCode ClearStickyFault_Undervoltage()
Clear sticky fault: Device supply voltage dropped to near brownout levels.
Definition CoreTalonFXS.hpp:2624
ctre::phoenix::StatusCode Refresh(DifferentialConstantsConfigs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:1969
ctre::phoenix::StatusCode Apply(const OpenLoopRampsConfigs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1348
ctre::phoenix::StatusCode Apply(const ExternalFeedbackConfigs &configs)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1247
ctre::phoenix::StatusCode ClearStickyFault_MotorTempSensorTooHot()
Clear sticky fault: Motor temperature signal indicates motor is too hot.
Definition CoreTalonFXS.hpp:3463
ctre::phoenix::StatusCode ClearStickyFault_HallSensorMissing()
Clear sticky fault: Hall sensor signals are invalid.
Definition CoreTalonFXS.hpp:3363
ctre::phoenix::StatusCode ClearStickyFault_UsingFusedCANcoderWhileUnlicensed(units::time::second_t timeoutSeconds)
Clear sticky fault: Using Fused CANcoder feature while unlicensed.
ctre::phoenix::StatusCode Refresh(Slot0Configs &configs) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:2328
ctre::phoenix::StatusCode Apply(const CurrentLimitsConfigs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1203
ctre::phoenix::StatusCode Apply(const MotorOutputConfigs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1174
ctre::phoenix::StatusCode ClearStickyFault_MissingSoftLimitRemote()
Clear sticky fault: The remote soft limit device is not present on CAN Bus.
Definition CoreTalonFXS.hpp:3057
ctre::phoenix::StatusCode ClearStickyFault_StatorCurrLimit(units::time::second_t timeoutSeconds)
Clear sticky fault: Stator current limit occured.
ctre::phoenix::StatusCode ClearStickyFault_UsingFusedCANcoderWhileUnlicensed()
Clear sticky fault: Using Fused CANcoder feature while unlicensed.
Definition CoreTalonFXS.hpp:3263
ctre::phoenix::StatusCode Refresh(DifferentialSensorsConfigs &configs) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:1925
ctre::phoenix::StatusCode Apply(const Slot1Configs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1696
ctre::phoenix::StatusCode ClearStickyFault_ForwardHardLimit()
Clear sticky fault: Forward limit switch has been asserted.
Definition CoreTalonFXS.hpp:2958
ctre::phoenix::StatusCode Apply(const Slot0Configs &configs)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1653
ctre::phoenix::StatusCode Refresh(SoftwareLimitSwitchConfigs &configs) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:2111
ctre::phoenix::StatusCode Refresh(OpenLoopRampsConfigs &configs) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:1987
ctre::phoenix::StatusCode Apply(const Slot1Configs &configs)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1682
ctre::phoenix::StatusCode Apply(const Slot0Configs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1667
ctre::phoenix::StatusCode ClearStickyFault_MissingHardLimitRemote(units::time::second_t timeoutSeconds)
Clear sticky fault: The remote limit switch device is not present on CAN Bus.
ctre::phoenix::StatusCode ClearStickyFault_DriveDisabledHallSensor()
Clear sticky fault: Hall sensor signals are invalid during motor drive, so motor was disabled.
Definition CoreTalonFXS.hpp:3397
ctre::phoenix::StatusCode Apply(const CustomBrushlessMotorConfigs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1609
ctre::phoenix::StatusCode Refresh(SoftwareLimitSwitchConfigs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:2124
ctre::phoenix::StatusCode ClearStickyFault_DriveDisabledHallSensor(units::time::second_t timeoutSeconds)
Clear sticky fault: Hall sensor signals are invalid during motor drive, so motor was disabled.
ctre::phoenix::StatusCode Refresh(CustomBrushlessMotorConfigs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:2279
ctre::phoenix::StatusCode Refresh(Slot1Configs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:2372
ctre::phoenix::StatusCode Apply(const MotorOutputConfigs &configs)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1160
ctre::phoenix::StatusCode Apply(const DifferentialSensorsConfigs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1290
ctre::phoenix::StatusCode Refresh(AudioConfigs &configs) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:2080
ctre::phoenix::StatusCode Apply(const MotionMagicConfigs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1493
ctre::phoenix::StatusCode Refresh(ClosedLoopRampsConfigs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:2031
ctre::phoenix::StatusCode Refresh(CustomParamsConfigs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:2186
ctre::phoenix::StatusCode Refresh(CommutationConfigs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:2248
ctre::phoenix::StatusCode Apply(const CurrentLimitsConfigs &configs)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1189
ctre::phoenix::StatusCode Apply(const SlotConfigs &configs)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1740
ctre::phoenix::StatusCode Apply(const DifferentialSensorsConfigs &configs)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1276
ctre::phoenix::StatusCode Apply(const SoftwareLimitSwitchConfigs &configs)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1450
ctre::phoenix::StatusCode Refresh(CommutationConfigs &configs) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:2235
ctre::phoenix::StatusCode Refresh(AudioConfigs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:2093
ctre::phoenix::StatusCode ClearStickyFault_UnlicensedFeatureInUse()
Clear sticky fault: An unlicensed feature is in use, device may not behave as expected.
Definition CoreTalonFXS.hpp:2690
ctre::phoenix::StatusCode ClearStickyFault_StatorCurrLimit()
Clear sticky fault: Stator current limit occured.
Definition CoreTalonFXS.hpp:3200
ctre::phoenix::StatusCode Refresh(ExternalTempConfigs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:2310
ctre::phoenix::StatusCode Apply(const Slot2Configs &configs)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1711
ctre::phoenix::StatusCode ClearStickyFault_DeviceTemp(units::time::second_t timeoutSeconds)
Clear sticky fault: Device temperature exceeded limit.
ctre::phoenix::StatusCode ClearStickyFault_MotorArrangementNotSelected()
Clear sticky fault: Motor arrangement has not been set in configuration.
Definition CoreTalonFXS.hpp:3496
ctre::phoenix::StatusCode Apply(const ExternalTempConfigs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1638
ctre::phoenix::StatusCode ClearStickyFault_RemoteSensorDataInvalid(units::time::second_t timeoutSeconds)
Clear sticky fault: The remote sensor's data is no longer trusted.
ctre::phoenix::StatusCode ClearStickyFault_UnstableSupplyV()
Clear sticky fault: Supply Voltage is unstable.
Definition CoreTalonFXS.hpp:2892
ctre::phoenix::StatusCode Apply(const TalonFXSConfiguration &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1145
ctre::phoenix::StatusCode ClearStickyFault_BootDuringEnable()
Clear sticky fault: Device boot while detecting the enable signal.
Definition CoreTalonFXS.hpp:2657
ctre::phoenix::StatusCode ClearStickyFault_BridgeShort()
Clear sticky fault: Bridge was disabled most likely due to a short in the motor leads.
Definition CoreTalonFXS.hpp:3329
ctre::phoenix::StatusCode Refresh(VoltageConfigs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:1876
ctre::phoenix::StatusCode Apply(const CommutationConfigs &configs)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1566
ctre::phoenix::StatusCode ClearStickyFault_MissingDifferentialFX()
Clear sticky fault: The remote Talon used for differential control is not present on CAN Bus.
Definition CoreTalonFXS.hpp:2787
ctre::phoenix::StatusCode Apply(const CommutationConfigs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1580
ctre::phoenix::StatusCode Apply(const CustomParamsConfigs &configs)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1508
ctre::phoenix::StatusCode ClearStickyFault_FusedSensorOutOfSync(units::time::second_t timeoutSeconds)
Clear sticky fault: The remote sensor used for fusion has fallen out of sync to the local sensor.
ctre::phoenix::StatusCode Apply(const ClosedLoopRampsConfigs &configs)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1363
ctre::phoenix::StatusCode ClearStickyFault_DeviceTemp()
Clear sticky fault: Device temperature exceeded limit.
Definition CoreTalonFXS.hpp:2592
ctre::phoenix::StatusCode ClearStickyFault_MotorTempSensorTooHot(units::time::second_t timeoutSeconds)
Clear sticky fault: Motor temperature signal indicates motor is too hot.
ctre::phoenix::StatusCode Refresh(Slot1Configs &configs) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:2359
ctre::phoenix::StatusCode Apply(const ClosedLoopGeneralConfigs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1551
ctre::phoenix::StatusCode ClearStickyFault_MissingDifferentialFX(units::time::second_t timeoutSeconds)
Clear sticky fault: The remote Talon used for differential control is not present on CAN Bus.
ctre::phoenix::StatusCode Apply(const ExternalFeedbackConfigs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1261
ctre::phoenix::StatusCode Apply(const OpenLoopRampsConfigs &configs)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1334
ctre::phoenix::StatusCode Refresh(CurrentLimitsConfigs &configs) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:1832
ctre::phoenix::StatusCode ClearStickyFault_SupplyCurrLimit(units::time::second_t timeoutSeconds)
Clear sticky fault: Supply current limit occured.
ctre::phoenix::StatusCode ClearStickyFault_MotorTempSensorMissing()
Clear sticky fault: Motor temperature signal appears to not be connected.
Definition CoreTalonFXS.hpp:3430
ctre::phoenix::StatusCode Refresh(SlotConfigs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:2434
ctre::phoenix::StatusCode Refresh(VoltageConfigs &configs) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:1863
ctre::phoenix::StatusCode ClearStickyFault_RemoteSensorReset()
Clear sticky fault: The remote sensor has reset.
Definition CoreTalonFXS.hpp:2755
ctre::phoenix::StatusCode ClearStickyFault_BootDuringEnable(units::time::second_t timeoutSeconds)
Clear sticky fault: Device boot while detecting the enable signal.
ctre::phoenix::StatusCode ClearStickyFault_UnstableSupplyV(units::time::second_t timeoutSeconds)
Clear sticky fault: Supply Voltage is unstable.
ctre::phoenix::StatusCode Apply(const ClosedLoopRampsConfigs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1377
ctre::phoenix::StatusCode Refresh(ExternalFeedbackConfigs &configs) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:1894
ctre::phoenix::StatusCode ClearStickyFault_RemoteSensorDataInvalid()
Clear sticky fault: The remote sensor's data is no longer trusted.
Definition CoreTalonFXS.hpp:3126
ctre::phoenix::StatusCode Refresh(DifferentialConstantsConfigs &configs) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:1956
ctre::phoenix::StatusCode Refresh(ClosedLoopRampsConfigs &configs) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:2018
ctre::phoenix::StatusCode ClearStickyFault_MissingSoftLimitRemote(units::time::second_t timeoutSeconds)
Clear sticky fault: The remote soft limit device is not present on CAN Bus.
ctre::phoenix::StatusCode ClearStickyFault_ReverseHardLimit(units::time::second_t timeoutSeconds)
Clear sticky fault: Reverse limit switch has been asserted.
ctre::phoenix::StatusCode Refresh(OpenLoopRampsConfigs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:2000
ctre::phoenix::StatusCode ClearStickyFault_Hardware(units::time::second_t timeoutSeconds)
Clear sticky fault: Hardware fault occurred.
ctre::phoenix::StatusCode Apply(const AudioConfigs &configs)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1421
ctre::phoenix::StatusCode ClearStickyFault_RemoteSensorPosOverflow(units::time::second_t timeoutSeconds)
Clear sticky fault: The remote sensor position has overflowed.
ctre::phoenix::StatusCode Apply(const DifferentialConstantsConfigs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1319
ctre::phoenix::StatusCode Apply(const Slot2Configs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1725
ctre::phoenix::StatusCode Refresh(Slot2Configs &configs) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:2390
ctre::phoenix::StatusCode Apply(const TalonFXSConfiguration &configs)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1131
ctre::phoenix::StatusCode Refresh(MotorOutputConfigs &configs) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:1801
ctre::phoenix::StatusCode ClearStickyFaults(units::time::second_t timeoutSeconds)
Clear the sticky faults in the device.
ctre::phoenix::StatusCode Apply(const CustomParamsConfigs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition CoreTalonFXS.hpp:1522
ctre::phoenix::StatusCode Refresh(TalonFXSConfiguration &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:1783
ctre::phoenix::StatusCode Refresh(ClosedLoopGeneralConfigs &configs) const
Refreshes the values of the specified config group.
Definition CoreTalonFXS.hpp:2204
Configs that affect Voltage control types.
Definition VoltageConfigs.hpp:25
std::string Serialize() const final
ctre::phoenix::StatusCode Deserialize(std::string const &to_deserialize) final
The unique identifier for a device.
Definition DeviceIdentifier.hpp:19
Parent class for all devices.
Definition ParentDevice.hpp:23
Class description for the Talon FXS motor controller.
Definition CoreTalonFXS.hpp:3530
ctre::phoenix::StatusCode ClearStickyFault_FusedSensorOutOfSync() final
Clear sticky fault: The remote sensor used for fusion has fallen out of sync to the local sensor.
Definition CoreTalonFXS.hpp:9754
ctre::phoenix::StatusCode ClearStickyFault_UnstableSupplyV() final
Clear sticky fault: Supply Voltage is unstable.
Definition CoreTalonFXS.hpp:9550
ctre::phoenix::StatusCode ClearStickyFault_RemoteSensorPosOverflow() final
Clear sticky fault: The remote sensor position has overflowed.
Definition CoreTalonFXS.hpp:9502
ctre::phoenix::StatusCode ClearStickyFault_StaticBrakeDisabled(units::time::second_t timeoutSeconds) final
Clear sticky fault: Static brake was momentarily disabled due to excessive braking current while disa...
Definition CoreTalonFXS.hpp:9834
ctre::phoenix::StatusCode ClearStickyFault_Hardware(units::time::second_t timeoutSeconds) final
Clear sticky fault: Hardware fault occurred.
Definition CoreTalonFXS.hpp:9275
ctre::phoenix::StatusCode ClearStickyFault_HallSensorMissing() final
Clear sticky fault: Hall sensor signals are invalid.
Definition CoreTalonFXS.hpp:9896
configs::TalonFXSConfigurator const & GetConfigurator() const
Gets the configurator for this TalonFXS.
Definition CoreTalonFXS.hpp:3598
ctre::phoenix::StatusCode ClearStickyFault_MotorTempSensorMissing(units::time::second_t timeoutSeconds) final
Clear sticky fault: Motor temperature signal appears to not be connected.
Definition CoreTalonFXS.hpp:9932
ctre::phoenix::StatusCode ClearStickyFault_RemoteSensorDataInvalid() final
Clear sticky fault: The remote sensor's data is no longer trusted.
Definition CoreTalonFXS.hpp:9724
ctre::phoenix::StatusCode ClearStickyFault_BootDuringEnable() final
Clear sticky fault: Device boot while detecting the enable signal.
Definition CoreTalonFXS.hpp:9378
ctre::phoenix::StatusCode ClearStickyFault_RemoteSensorPosOverflow(units::time::second_t timeoutSeconds) final
Clear sticky fault: The remote sensor position has overflowed.
Definition CoreTalonFXS.hpp:9487
ctre::phoenix::StatusCode ClearStickyFault_ReverseSoftLimit(units::time::second_t timeoutSeconds) final
Clear sticky fault: Reverse soft limit has been asserted.
Definition CoreTalonFXS.hpp:9610
ctre::phoenix::StatusCode ClearStickyFault_ForwardHardLimit() final
Clear sticky fault: Forward limit switch has been asserted.
Definition CoreTalonFXS.hpp:9598
ctre::phoenix::StatusCode ClearStickyFaults() final
Clear the sticky faults in the device.
Definition CoreTalonFXS.hpp:9264
ctre::phoenix::StatusCode ClearStickyFault_UsingFusedCANcoderWhileUnlicensed(units::time::second_t timeoutSeconds) final
Clear sticky fault: Using Fused CANcoder feature while unlicensed.
Definition CoreTalonFXS.hpp:9810
ctre::phoenix::StatusCode ClearStickyFault_StatorCurrLimit() final
Clear sticky fault: Stator current limit occured.
Definition CoreTalonFXS.hpp:9776
ctre::phoenix::StatusCode ClearStickyFault_StatorCurrLimit(units::time::second_t timeoutSeconds) final
Clear sticky fault: Stator current limit occured.
Definition CoreTalonFXS.hpp:9765
ctre::phoenix::StatusCode ClearStickyFault_MotorArrangementNotSelected(units::time::second_t timeoutSeconds) final
Clear sticky fault: Motor arrangement has not been set in configuration.
Definition CoreTalonFXS.hpp:9980
ctre::phoenix::StatusCode ClearStickyFault_DriveDisabledHallSensor() final
Clear sticky fault: Hall sensor signals are invalid during motor drive, so motor was disabled.
Definition CoreTalonFXS.hpp:9920
ctre::phoenix::StatusCode ClearStickyFault_MissingSoftLimitRemote(units::time::second_t timeoutSeconds) final
Clear sticky fault: The remote soft limit device is not present on CAN Bus.
Definition CoreTalonFXS.hpp:9658
ctre::phoenix::StatusCode ClearStickyFaults(units::time::second_t timeoutSeconds) final
Clear the sticky faults in the device.
Definition CoreTalonFXS.hpp:9249
ctre::phoenix::StatusCode ClearStickyFault_MissingDifferentialFX() final
Clear sticky fault: The remote Talon used for differential control is not present on CAN Bus.
Definition CoreTalonFXS.hpp:9472
ctre::phoenix::StatusCode ClearStickyFault_ReverseHardLimit() final
Clear sticky fault: Reverse limit switch has been asserted.
Definition CoreTalonFXS.hpp:9574
ctre::phoenix::StatusCode ClearStickyFault_StaticBrakeDisabled() final
Clear sticky fault: Static brake was momentarily disabled due to excessive braking current while disa...
Definition CoreTalonFXS.hpp:9846
ctre::phoenix::StatusCode ClearStickyFault_MissingSoftLimitRemote() final
Clear sticky fault: The remote soft limit device is not present on CAN Bus.
Definition CoreTalonFXS.hpp:9670
ctre::phoenix::StatusCode ClearStickyFault_RemoteSensorDataInvalid(units::time::second_t timeoutSeconds) final
Clear sticky fault: The remote sensor's data is no longer trusted.
Definition CoreTalonFXS.hpp:9709
ctre::phoenix::StatusCode ClearStickyFault_UnstableSupplyV(units::time::second_t timeoutSeconds) final
Clear sticky fault: Supply Voltage is unstable.
Definition CoreTalonFXS.hpp:9538
ctre::phoenix::StatusCode ClearStickyFault_BridgeBrownout(units::time::second_t timeoutSeconds) final
Clear sticky fault: Bridge was disabled most likely due to supply voltage dropping too low.
Definition CoreTalonFXS.hpp:9414
ctre::phoenix::StatusCode ClearStickyFault_DeviceTemp(units::time::second_t timeoutSeconds) final
Clear sticky fault: Device temperature exceeded limit.
Definition CoreTalonFXS.hpp:9319
ctre::phoenix::StatusCode ClearStickyFault_MissingDifferentialFX(units::time::second_t timeoutSeconds) final
Clear sticky fault: The remote Talon used for differential control is not present on CAN Bus.
Definition CoreTalonFXS.hpp:9460
ctre::phoenix::StatusCode ClearStickyFault_ReverseSoftLimit() final
Clear sticky fault: Reverse soft limit has been asserted.
Definition CoreTalonFXS.hpp:9622
ctre::phoenix::StatusCode ClearStickyFault_MissingHardLimitRemote(units::time::second_t timeoutSeconds) final
Clear sticky fault: The remote limit switch device is not present on CAN Bus.
Definition CoreTalonFXS.hpp:9682
ctre::phoenix::StatusCode ClearStickyFault_ReverseHardLimit(units::time::second_t timeoutSeconds) final
Clear sticky fault: Reverse limit switch has been asserted.
Definition CoreTalonFXS.hpp:9562
CoreTalonFXS(int deviceId, CANBus canbus={})
Constructs a new Talon FXS motor controller object.
ctre::phoenix::StatusCode ClearStickyFault_MotorArrangementNotSelected() final
Clear sticky fault: Motor arrangement has not been set in configuration.
Definition CoreTalonFXS.hpp:9992
StatusSignal< int > & GetVersionMajor(bool refresh=true) final
App Major Version number.
ctre::phoenix::StatusCode ClearStickyFault_ProcTemp(units::time::second_t timeoutSeconds) final
Clear sticky fault: Processor temperature exceeded limit.
Definition CoreTalonFXS.hpp:9297
ctre::phoenix::StatusCode ClearStickyFault_MissingHardLimitRemote() final
Clear sticky fault: The remote limit switch device is not present on CAN Bus.
Definition CoreTalonFXS.hpp:9694
ctre::phoenix::StatusCode ClearStickyFault_MotorTempSensorTooHot() final
Clear sticky fault: Motor temperature signal indicates motor is too hot.
Definition CoreTalonFXS.hpp:9968
ctre::phoenix::StatusCode ClearStickyFault_RemoteSensorReset() final
Clear sticky fault: The remote sensor has reset.
Definition CoreTalonFXS.hpp:9448
ctre::phoenix::StatusCode ClearStickyFault_ForwardHardLimit(units::time::second_t timeoutSeconds) final
Clear sticky fault: Forward limit switch has been asserted.
Definition CoreTalonFXS.hpp:9586
configs::TalonFXSConfigurator & GetConfigurator()
Gets the configurator for this TalonFXS.
Definition CoreTalonFXS.hpp:3586
ctre::phoenix::StatusCode ClearStickyFault_BridgeShort(units::time::second_t timeoutSeconds) final
Clear sticky fault: Bridge was disabled most likely due to a short in the motor leads.
Definition CoreTalonFXS.hpp:9858
ctre::phoenix::StatusCode ClearStickyFault_BridgeBrownout() final
Clear sticky fault: Bridge was disabled most likely due to supply voltage dropping too low.
Definition CoreTalonFXS.hpp:9426
CoreTalonFXS(int deviceId, std::string canbus)
Constructs a new Talon FXS motor controller object.
ctre::phoenix::StatusCode ClearStickyFault_MotorTempSensorTooHot(units::time::second_t timeoutSeconds) final
Clear sticky fault: Motor temperature signal indicates motor is too hot.
Definition CoreTalonFXS.hpp:9956
ctre::phoenix::StatusCode ClearStickyFault_ForwardSoftLimit() final
Clear sticky fault: Forward soft limit has been asserted.
Definition CoreTalonFXS.hpp:9646
ctre::phoenix::StatusCode ClearStickyFault_Undervoltage(units::time::second_t timeoutSeconds) final
Clear sticky fault: Device supply voltage dropped to near brownout levels.
Definition CoreTalonFXS.hpp:9342
ctre::phoenix::StatusCode ClearStickyFault_UnlicensedFeatureInUse() final
Clear sticky fault: An unlicensed feature is in use, device may not behave as expected.
Definition CoreTalonFXS.hpp:9402
ctre::phoenix::StatusCode ClearStickyFault_FusedSensorOutOfSync(units::time::second_t timeoutSeconds) final
Clear sticky fault: The remote sensor used for fusion has fallen out of sync to the local sensor.
Definition CoreTalonFXS.hpp:9739
ctre::phoenix::StatusCode ClearStickyFault_HallSensorMissing(units::time::second_t timeoutSeconds) final
Clear sticky fault: Hall sensor signals are invalid.
Definition CoreTalonFXS.hpp:9883
ctre::phoenix::StatusCode ClearStickyFault_OverSupplyV() final
Clear sticky fault: Supply Voltage has exceeded the maximum voltage rating of device.
Definition CoreTalonFXS.hpp:9526
sim::TalonFXSSimState & GetSimState()
Get the simulation state for this device.
Definition CoreTalonFXS.hpp:3616
ctre::phoenix::StatusCode ClearStickyFault_SupplyCurrLimit(units::time::second_t timeoutSeconds) final
Clear sticky fault: Supply current limit occured.
Definition CoreTalonFXS.hpp:9787
ctre::phoenix::StatusCode ClearStickyFault_Undervoltage() final
Clear sticky fault: Device supply voltage dropped to near brownout levels.
Definition CoreTalonFXS.hpp:9354
ctre::phoenix::StatusCode ClearStickyFault_OverSupplyV(units::time::second_t timeoutSeconds) final
Clear sticky fault: Supply Voltage has exceeded the maximum voltage rating of device.
Definition CoreTalonFXS.hpp:9514
ctre::phoenix::StatusCode ClearStickyFault_SupplyCurrLimit() final
Clear sticky fault: Supply current limit occured.
Definition CoreTalonFXS.hpp:9798
static CoreTalonFXS None()
Constructs a stubbed-out CoreTalonFXS, where all status signals, controls, configs,...
Definition CoreTalonFXS.hpp:3574
ctre::phoenix::StatusCode ClearStickyFault_ProcTemp() final
Clear sticky fault: Processor temperature exceeded limit.
Definition CoreTalonFXS.hpp:9308
ctre::phoenix::StatusCode ClearStickyFault_DriveDisabledHallSensor(units::time::second_t timeoutSeconds) final
Clear sticky fault: Hall sensor signals are invalid during motor drive, so motor was disabled.
Definition CoreTalonFXS.hpp:9908
ctre::phoenix::StatusCode ClearStickyFault_RemoteSensorReset(units::time::second_t timeoutSeconds) final
Clear sticky fault: The remote sensor has reset.
Definition CoreTalonFXS.hpp:9437
ctre::phoenix::StatusCode ClearStickyFault_UnlicensedFeatureInUse(units::time::second_t timeoutSeconds) final
Clear sticky fault: An unlicensed feature is in use, device may not behave as expected.
Definition CoreTalonFXS.hpp:9390
ctre::phoenix::StatusCode ClearStickyFault_UsingFusedCANcoderWhileUnlicensed() final
Clear sticky fault: Using Fused CANcoder feature while unlicensed.
Definition CoreTalonFXS.hpp:9822
ctre::phoenix::StatusCode SetPosition(units::angle::turn_t newValue) final
Sets the mechanism position of the device in mechanism rotations.
Definition CoreTalonFXS.hpp:9234
ctre::phoenix::StatusCode ClearStickyFault_ForwardSoftLimit(units::time::second_t timeoutSeconds) final
Clear sticky fault: Forward soft limit has been asserted.
Definition CoreTalonFXS.hpp:9634
ctre::phoenix::StatusCode ClearStickyFault_DeviceTemp() final
Clear sticky fault: Device temperature exceeded limit.
Definition CoreTalonFXS.hpp:9330
ctre::phoenix::StatusCode ClearStickyFault_BootDuringEnable(units::time::second_t timeoutSeconds) final
Clear sticky fault: Device boot while detecting the enable signal.
Definition CoreTalonFXS.hpp:9366
ctre::phoenix::StatusCode ClearStickyFault_Hardware() final
Clear sticky fault: Hardware fault occurred.
Definition CoreTalonFXS.hpp:9286
ctre::phoenix::StatusCode ClearStickyFault_BridgeShort() final
Clear sticky fault: Bridge was disabled most likely due to a short in the motor leads.
Definition CoreTalonFXS.hpp:9870
ctre::phoenix::StatusCode ClearStickyFault_MotorTempSensorMissing() final
Clear sticky fault: Motor temperature signal appears to not be connected.
Definition CoreTalonFXS.hpp:9944
Contains everything common between Talon motor controllers that support external motors.
Definition CommonTalonWithExternalMotor.hpp:27
Class to control the state of a simulated hardware::TalonFXS.
Definition TalonFXSSimState.hpp:40
Status codes reported by APIs, including OK, warnings, and errors.
Definition StatusCodes.h:28
Definition motor_constants.h:14