74#include <units/angle.h>
75#include <units/angular_acceleration.h>
76#include <units/angular_velocity.h>
77#include <units/current.h>
78#include <units/dimensionless.h>
79#include <units/temperature.h>
80#include <units/voltage.h>
293 Voltage = std::move(newVoltage);
389 Audio = std::move(newAudio);
449 Slot0 = std::move(newSlot0);
461 Slot1 = std::move(newSlot1);
473 Slot2 = std::move(newSlot2);
482 std::stringstream ss;
509 std::stringstream ss;
534 ctre::phoenix::StatusCode
Deserialize(
const std::string& to_deserialize)
1775 ctre::phoenix::StatusCode
Apply(
const SlotConfigs& configs, units::time::second_t timeoutSeconds)
1814 ctre::phoenix::StatusCode
SetPosition(units::angle::turn_t newValue, units::time::second_t timeoutSeconds)
1816 std::stringstream ss;
1861 std::stringstream ss;
1898 std::stringstream ss;
1935 std::stringstream ss;
1972 std::stringstream ss;
2011 std::stringstream ss;
2050 std::stringstream ss;
2089 std::stringstream ss;
2126 std::stringstream ss;
2165 std::stringstream ss;
2210 std::stringstream ss;
2249 std::stringstream ss;
2288 std::stringstream ss;
2327 std::stringstream ss;
2366 std::stringstream ss;
2405 std::stringstream ss;
2444 std::stringstream ss;
2489 std::stringstream ss;
2534 std::stringstream ss;
2571 std::stringstream ss;
2608 std::stringstream ss;
3367 std::unique_ptr<sim::TalonFXSimState> _simState{};
3380 if (_simState ==
nullptr)
3381 _simState = std::make_unique<sim::TalonFXSimState>(*
this);
7947 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_DutyCycleOut_Position& request);
7959 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_DutyCycleOut_Position&& request)
7975 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_PositionDutyCycle_Position& request);
7987 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_PositionDutyCycle_Position&& request)
8003 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_VelocityDutyCycle_Position& request);
8015 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_VelocityDutyCycle_Position&& request)
8031 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_MotionMagicDutyCycle_Position& request);
8043 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_MotionMagicDutyCycle_Position&& request)
8059 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_DutyCycleOut_Velocity& request);
8071 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_DutyCycleOut_Velocity&& request)
8087 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_PositionDutyCycle_Velocity& request);
8099 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_PositionDutyCycle_Velocity&& request)
8115 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_VelocityDutyCycle_Velocity& request);
8127 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_VelocityDutyCycle_Velocity&& request)
8143 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_MotionMagicDutyCycle_Velocity& request);
8155 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_MotionMagicDutyCycle_Velocity&& request)
8171 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_VoltageOut_Position& request);
8183 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_VoltageOut_Position&& request)
8199 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_PositionVoltage_Position& request);
8211 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_PositionVoltage_Position&& request)
8227 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_VelocityVoltage_Position& request);
8239 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_VelocityVoltage_Position&& request)
8255 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_MotionMagicVoltage_Position& request);
8267 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_MotionMagicVoltage_Position&& request)
8283 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_VoltageOut_Velocity& request);
8295 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_VoltageOut_Velocity&& request)
8311 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_PositionVoltage_Velocity& request);
8323 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_PositionVoltage_Velocity&& request)
8339 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_VelocityVoltage_Velocity& request);
8351 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_VelocityVoltage_Velocity&& request)
8367 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_MotionMagicVoltage_Velocity& request);
8379 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_MotionMagicVoltage_Velocity&& request)
8396 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_TorqueCurrentFOC_Position& request);
8409 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_TorqueCurrentFOC_Position&& request)
8426 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_PositionTorqueCurrentFOC_Position& request);
8439 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_PositionTorqueCurrentFOC_Position&& request)
8456 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_VelocityTorqueCurrentFOC_Position& request);
8469 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_VelocityTorqueCurrentFOC_Position&& request)
8486 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_MotionMagicTorqueCurrentFOC_Position& request);
8499 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_MotionMagicTorqueCurrentFOC_Position&& request)
8516 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_TorqueCurrentFOC_Velocity& request);
8529 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_TorqueCurrentFOC_Velocity&& request)
8546 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_PositionTorqueCurrentFOC_Velocity& request);
8559 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_PositionTorqueCurrentFOC_Velocity&& request)
8576 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_VelocityTorqueCurrentFOC_Velocity& request);
8589 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_VelocityTorqueCurrentFOC_Velocity&& request)
8606 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_MotionMagicTorqueCurrentFOC_Velocity& request);
8619 ctre::phoenix::StatusCode
SetControl(controls::compound::Diff_MotionMagicTorqueCurrentFOC_Velocity&& request)
8638 if (DutyCycleOutValue !=
nullptr)
8641 if (TorqueCurrentFOCValue !=
nullptr)
8644 if (VoltageOutValue !=
nullptr)
8647 if (PositionDutyCycleValue !=
nullptr)
8650 if (PositionVoltageValue !=
nullptr)
8653 if (PositionTorqueCurrentFOCValue !=
nullptr)
8654 return SetControl(*PositionTorqueCurrentFOCValue);
8656 if (VelocityDutyCycleValue !=
nullptr)
8659 if (VelocityVoltageValue !=
nullptr)
8662 if (VelocityTorqueCurrentFOCValue !=
nullptr)
8663 return SetControl(*VelocityTorqueCurrentFOCValue);
8665 if (MotionMagicDutyCycleValue !=
nullptr)
8666 return SetControl(*MotionMagicDutyCycleValue);
8668 if (MotionMagicVoltageValue !=
nullptr)
8671 if (MotionMagicTorqueCurrentFOCValue !=
nullptr)
8672 return SetControl(*MotionMagicTorqueCurrentFOCValue);
8674 if (DifferentialDutyCycleValue !=
nullptr)
8675 return SetControl(*DifferentialDutyCycleValue);
8677 if (DifferentialVoltageValue !=
nullptr)
8678 return SetControl(*DifferentialVoltageValue);
8680 if (DifferentialPositionDutyCycleValue !=
nullptr)
8681 return SetControl(*DifferentialPositionDutyCycleValue);
8683 if (DifferentialPositionVoltageValue !=
nullptr)
8684 return SetControl(*DifferentialPositionVoltageValue);
8686 if (DifferentialVelocityDutyCycleValue !=
nullptr)
8687 return SetControl(*DifferentialVelocityDutyCycleValue);
8689 if (DifferentialVelocityVoltageValue !=
nullptr)
8690 return SetControl(*DifferentialVelocityVoltageValue);
8692 if (DifferentialMotionMagicDutyCycleValue !=
nullptr)
8693 return SetControl(*DifferentialMotionMagicDutyCycleValue);
8695 if (DifferentialMotionMagicVoltageValue !=
nullptr)
8696 return SetControl(*DifferentialMotionMagicVoltageValue);
8698 if (FollowerValue !=
nullptr)
8701 if (StrictFollowerValue !=
nullptr)
8704 if (DifferentialFollowerValue !=
nullptr)
8705 return SetControl(*DifferentialFollowerValue);
8707 if (DifferentialStrictFollowerValue !=
nullptr)
8708 return SetControl(*DifferentialStrictFollowerValue);
8710 if (NeutralOutValue !=
nullptr)
8713 if (CoastOutValue !=
nullptr)
8716 if (StaticBrakeValue !=
nullptr)
8719 if (MusicToneValue !=
nullptr)
8722 if (MotionMagicVelocityDutyCycleValue !=
nullptr)
8723 return SetControl(*MotionMagicVelocityDutyCycleValue);
8725 if (MotionMagicVelocityTorqueCurrentFOCValue !=
nullptr)
8726 return SetControl(*MotionMagicVelocityTorqueCurrentFOCValue);
8728 if (MotionMagicVelocityVoltageValue !=
nullptr)
8729 return SetControl(*MotionMagicVelocityVoltageValue);
8731 if (MotionMagicExpoDutyCycleValue !=
nullptr)
8732 return SetControl(*MotionMagicExpoDutyCycleValue);
8734 if (MotionMagicExpoVoltageValue !=
nullptr)
8735 return SetControl(*MotionMagicExpoVoltageValue);
8737 if (MotionMagicExpoTorqueCurrentFOCValue !=
nullptr)
8738 return SetControl(*MotionMagicExpoTorqueCurrentFOCValue);
8740 if (DynamicMotionMagicDutyCycleValue !=
nullptr)
8741 return SetControl(*DynamicMotionMagicDutyCycleValue);
8743 if (DynamicMotionMagicVoltageValue !=
nullptr)
8744 return SetControl(*DynamicMotionMagicVoltageValue);
8746 if (DynamicMotionMagicTorqueCurrentFOCValue !=
nullptr)
8747 return SetControl(*DynamicMotionMagicTorqueCurrentFOCValue);
8748 auto *Diff_DutyCycleOut_PositionValue =
dynamic_cast<controls::compound::Diff_DutyCycleOut_Position *
>(ptr);
8749 if (Diff_DutyCycleOut_PositionValue !=
nullptr)
8750 return SetControl(*Diff_DutyCycleOut_PositionValue);
8751 auto *Diff_PositionDutyCycle_PositionValue =
dynamic_cast<controls::compound::Diff_PositionDutyCycle_Position *
>(ptr);
8752 if (Diff_PositionDutyCycle_PositionValue !=
nullptr)
8753 return SetControl(*Diff_PositionDutyCycle_PositionValue);
8754 auto *Diff_VelocityDutyCycle_PositionValue =
dynamic_cast<controls::compound::Diff_VelocityDutyCycle_Position *
>(ptr);
8755 if (Diff_VelocityDutyCycle_PositionValue !=
nullptr)
8756 return SetControl(*Diff_VelocityDutyCycle_PositionValue);
8757 auto *Diff_MotionMagicDutyCycle_PositionValue =
dynamic_cast<controls::compound::Diff_MotionMagicDutyCycle_Position *
>(ptr);
8758 if (Diff_MotionMagicDutyCycle_PositionValue !=
nullptr)
8759 return SetControl(*Diff_MotionMagicDutyCycle_PositionValue);
8760 auto *Diff_DutyCycleOut_VelocityValue =
dynamic_cast<controls::compound::Diff_DutyCycleOut_Velocity *
>(ptr);
8761 if (Diff_DutyCycleOut_VelocityValue !=
nullptr)
8762 return SetControl(*Diff_DutyCycleOut_VelocityValue);
8763 auto *Diff_PositionDutyCycle_VelocityValue =
dynamic_cast<controls::compound::Diff_PositionDutyCycle_Velocity *
>(ptr);
8764 if (Diff_PositionDutyCycle_VelocityValue !=
nullptr)
8765 return SetControl(*Diff_PositionDutyCycle_VelocityValue);
8766 auto *Diff_VelocityDutyCycle_VelocityValue =
dynamic_cast<controls::compound::Diff_VelocityDutyCycle_Velocity *
>(ptr);
8767 if (Diff_VelocityDutyCycle_VelocityValue !=
nullptr)
8768 return SetControl(*Diff_VelocityDutyCycle_VelocityValue);
8769 auto *Diff_MotionMagicDutyCycle_VelocityValue =
dynamic_cast<controls::compound::Diff_MotionMagicDutyCycle_Velocity *
>(ptr);
8770 if (Diff_MotionMagicDutyCycle_VelocityValue !=
nullptr)
8771 return SetControl(*Diff_MotionMagicDutyCycle_VelocityValue);
8772 auto *Diff_VoltageOut_PositionValue =
dynamic_cast<controls::compound::Diff_VoltageOut_Position *
>(ptr);
8773 if (Diff_VoltageOut_PositionValue !=
nullptr)
8774 return SetControl(*Diff_VoltageOut_PositionValue);
8775 auto *Diff_PositionVoltage_PositionValue =
dynamic_cast<controls::compound::Diff_PositionVoltage_Position *
>(ptr);
8776 if (Diff_PositionVoltage_PositionValue !=
nullptr)
8777 return SetControl(*Diff_PositionVoltage_PositionValue);
8778 auto *Diff_VelocityVoltage_PositionValue =
dynamic_cast<controls::compound::Diff_VelocityVoltage_Position *
>(ptr);
8779 if (Diff_VelocityVoltage_PositionValue !=
nullptr)
8780 return SetControl(*Diff_VelocityVoltage_PositionValue);
8781 auto *Diff_MotionMagicVoltage_PositionValue =
dynamic_cast<controls::compound::Diff_MotionMagicVoltage_Position *
>(ptr);
8782 if (Diff_MotionMagicVoltage_PositionValue !=
nullptr)
8783 return SetControl(*Diff_MotionMagicVoltage_PositionValue);
8784 auto *Diff_VoltageOut_VelocityValue =
dynamic_cast<controls::compound::Diff_VoltageOut_Velocity *
>(ptr);
8785 if (Diff_VoltageOut_VelocityValue !=
nullptr)
8786 return SetControl(*Diff_VoltageOut_VelocityValue);
8787 auto *Diff_PositionVoltage_VelocityValue =
dynamic_cast<controls::compound::Diff_PositionVoltage_Velocity *
>(ptr);
8788 if (Diff_PositionVoltage_VelocityValue !=
nullptr)
8789 return SetControl(*Diff_PositionVoltage_VelocityValue);
8790 auto *Diff_VelocityVoltage_VelocityValue =
dynamic_cast<controls::compound::Diff_VelocityVoltage_Velocity *
>(ptr);
8791 if (Diff_VelocityVoltage_VelocityValue !=
nullptr)
8792 return SetControl(*Diff_VelocityVoltage_VelocityValue);
8793 auto *Diff_MotionMagicVoltage_VelocityValue =
dynamic_cast<controls::compound::Diff_MotionMagicVoltage_Velocity *
>(ptr);
8794 if (Diff_MotionMagicVoltage_VelocityValue !=
nullptr)
8795 return SetControl(*Diff_MotionMagicVoltage_VelocityValue);
8796 auto *Diff_TorqueCurrentFOC_PositionValue =
dynamic_cast<controls::compound::Diff_TorqueCurrentFOC_Position *
>(ptr);
8797 if (Diff_TorqueCurrentFOC_PositionValue !=
nullptr)
8798 return SetControl(*Diff_TorqueCurrentFOC_PositionValue);
8799 auto *Diff_PositionTorqueCurrentFOC_PositionValue =
dynamic_cast<controls::compound::Diff_PositionTorqueCurrentFOC_Position *
>(ptr);
8800 if (Diff_PositionTorqueCurrentFOC_PositionValue !=
nullptr)
8801 return SetControl(*Diff_PositionTorqueCurrentFOC_PositionValue);
8802 auto *Diff_VelocityTorqueCurrentFOC_PositionValue =
dynamic_cast<controls::compound::Diff_VelocityTorqueCurrentFOC_Position *
>(ptr);
8803 if (Diff_VelocityTorqueCurrentFOC_PositionValue !=
nullptr)
8804 return SetControl(*Diff_VelocityTorqueCurrentFOC_PositionValue);
8805 auto *Diff_MotionMagicTorqueCurrentFOC_PositionValue =
dynamic_cast<controls::compound::Diff_MotionMagicTorqueCurrentFOC_Position *
>(ptr);
8806 if (Diff_MotionMagicTorqueCurrentFOC_PositionValue !=
nullptr)
8807 return SetControl(*Diff_MotionMagicTorqueCurrentFOC_PositionValue);
8808 auto *Diff_TorqueCurrentFOC_VelocityValue =
dynamic_cast<controls::compound::Diff_TorqueCurrentFOC_Velocity *
>(ptr);
8809 if (Diff_TorqueCurrentFOC_VelocityValue !=
nullptr)
8810 return SetControl(*Diff_TorqueCurrentFOC_VelocityValue);
8811 auto *Diff_PositionTorqueCurrentFOC_VelocityValue =
dynamic_cast<controls::compound::Diff_PositionTorqueCurrentFOC_Velocity *
>(ptr);
8812 if (Diff_PositionTorqueCurrentFOC_VelocityValue !=
nullptr)
8813 return SetControl(*Diff_PositionTorqueCurrentFOC_VelocityValue);
8814 auto *Diff_VelocityTorqueCurrentFOC_VelocityValue =
dynamic_cast<controls::compound::Diff_VelocityTorqueCurrentFOC_Velocity *
>(ptr);
8815 if (Diff_VelocityTorqueCurrentFOC_VelocityValue !=
nullptr)
8816 return SetControl(*Diff_VelocityTorqueCurrentFOC_VelocityValue);
8817 auto *Diff_MotionMagicTorqueCurrentFOC_VelocityValue =
dynamic_cast<controls::compound::Diff_MotionMagicTorqueCurrentFOC_Velocity *
>(ptr);
8818 if (Diff_MotionMagicTorqueCurrentFOC_VelocityValue !=
nullptr)
8819 return SetControl(*Diff_MotionMagicTorqueCurrentFOC_VelocityValue);
8845 ctre::phoenix::StatusCode
SetPosition(units::angle::turn_t newValue, units::time::second_t timeoutSeconds)
ii that the Software will be uninterrupted or error free
Definition: CTRE_LICENSE.txt:226
CTREXPORT int c_ctre_phoenix6_serialize_double(int spn, double value, char **str)
@ OK
No Error.
Definition: StatusCodes.h:1192
@ NotSupported
This is not supported.
Definition: StatusCodes.h:1805
Configs that affect audible components of the device.
Definition: Configs.hpp:1984
std::string Serialize() const override
Definition: Configs.hpp:2063
ctre::phoenix::StatusCode Deserialize(const std::string &to_deserialize) override
Definition: Configs.hpp:2073
std::string ToString() const override
Definition: Configs.hpp:2051
Configs that affect general behavior during closed-looping.
Definition: Configs.hpp:2476
ctre::phoenix::StatusCode Deserialize(const std::string &to_deserialize) override
Definition: Configs.hpp:2513
std::string ToString() const override
Definition: Configs.hpp:2495
std::string Serialize() const override
Definition: Configs.hpp:2505
Configs that affect the closed-loop control of this motor controller.
Definition: Configs.hpp:1575
std::string Serialize() const override
Definition: Configs.hpp:1656
std::string ToString() const override
Definition: Configs.hpp:1644
ctre::phoenix::StatusCode Deserialize(const std::string &to_deserialize) override
Definition: Configs.hpp:1666
Configs that directly affect current limiting features.
Definition: Configs.hpp:616
std::string Serialize() const override
Definition: Configs.hpp:763
ctre::phoenix::StatusCode Deserialize(const std::string &to_deserialize) override
Definition: Configs.hpp:776
std::string ToString() const override
Definition: Configs.hpp:748
Custom Params.
Definition: Configs.hpp:2391
std::string ToString() const override
Definition: Configs.hpp:2439
std::string Serialize() const override
Definition: Configs.hpp:2450
ctre::phoenix::StatusCode Deserialize(const std::string &to_deserialize) override
Definition: Configs.hpp:2459
Configs related to constants used for differential control of a mechanism.
Definition: Configs.hpp:1355
std::string Serialize() const override
Definition: Configs.hpp:1436
std::string ToString() const override
Definition: Configs.hpp:1424
ctre::phoenix::StatusCode Deserialize(const std::string &to_deserialize) override
Definition: Configs.hpp:1446
Configs related to sensors used for differential control of a mechanism.
Definition: Configs.hpp:1229
ctre::phoenix::StatusCode Deserialize(const std::string &to_deserialize) override
Definition: Configs.hpp:1336
std::string Serialize() const override
Definition: Configs.hpp:1326
std::string ToString() const override
Definition: Configs.hpp:1314
Configs that affect the feedback of this motor controller.
Definition: Configs.hpp:1022
std::string ToString() const override
Definition: Configs.hpp:1182
ctre::phoenix::StatusCode Deserialize(const std::string &to_deserialize) override
Definition: Configs.hpp:1208
std::string Serialize() const override
Definition: Configs.hpp:1196
Configs that change how the motor controller behaves under different limit switch statse.
Definition: Configs.hpp:1687
std::string ToString() const override
Definition: Configs.hpp:1917
ctre::phoenix::StatusCode Deserialize(const std::string &to_deserialize) override
Definition: Configs.hpp:1957
std::string Serialize() const override
Definition: Configs.hpp:1938
Configs for Motion Magic®.
Definition: Configs.hpp:2220
std::string Serialize() const override
Definition: Configs.hpp:2359
ctre::phoenix::StatusCode Deserialize(const std::string &to_deserialize) override
Definition: Configs.hpp:2371
std::string ToString() const override
Definition: Configs.hpp:2345
Configs that directly affect motor-output.
Definition: Configs.hpp:468
ctre::phoenix::StatusCode Deserialize(const std::string &to_deserialize) override
Definition: Configs.hpp:595
std::string ToString() const override
Definition: Configs.hpp:569
std::string Serialize() const override
Definition: Configs.hpp:583
Configs that affect the open-loop control of this motor controller.
Definition: Configs.hpp:1465
std::string Serialize() const override
Definition: Configs.hpp:1546
std::string ToString() const override
Definition: Configs.hpp:1534
ctre::phoenix::StatusCode Deserialize(const std::string &to_deserialize) override
Definition: Configs.hpp:1556
Definition: Configs.hpp:27
Definition: Configurator.hpp:21
ctre::phoenix::StatusCode SetConfigsPrivate(const std::string &serializedString, units::time::second_t timeoutSeconds, bool futureProofConfigs, bool overrideIfDuplicate)
Definition: Configurator.hpp:37
ctre::phoenix::StatusCode GetConfigsPrivate(std::string &serializedString, units::time::second_t timeoutSeconds) const
Definition: Configurator.hpp:60
units::time::second_t DefaultTimeoutSeconds
The default amount of time to wait for a config.
Definition: Configurator.hpp:26
Gains for the specified slot.
Definition: Configs.hpp:2530
std::string ToString() const override
Definition: Configs.hpp:2786
ctre::phoenix::StatusCode Deserialize(const std::string &to_deserialize) override
Definition: Configs.hpp:2820
std::string Serialize() const override
Definition: Configs.hpp:2804
Gains for the specified slot.
Definition: Configs.hpp:2845
std::string Serialize() const override
Definition: Configs.hpp:3118
std::string ToString() const override
Definition: Configs.hpp:3100
ctre::phoenix::StatusCode Deserialize(const std::string &to_deserialize) override
Definition: Configs.hpp:3134
Gains for the specified slot.
Definition: Configs.hpp:3159
std::string Serialize() const override
Definition: Configs.hpp:3432
ctre::phoenix::StatusCode Deserialize(const std::string &to_deserialize) override
Definition: Configs.hpp:3448
std::string ToString() const override
Definition: Configs.hpp:3414
Gains for the specified slot.
Definition: Configs.hpp:3472
ctre::phoenix::StatusCode Deserialize(const std::string &to_deserialize)
Definition: Configs.hpp:3823
std::string Serialize() const
Definition: Configs.hpp:3806
Configs that affect how software-limit switches behave.
Definition: Configs.hpp:2092
std::string ToString() const override
Definition: Configs.hpp:2176
std::string Serialize() const override
Definition: Configs.hpp:2189
ctre::phoenix::StatusCode Deserialize(const std::string &to_deserialize) override
Definition: Configs.hpp:2200
Class description for the Talon FX integrated motor controller.
Definition: CoreTalonFX.hpp:99
TalonFXConfiguration & WithTorqueCurrent(TorqueCurrentConfigs newTorqueCurrent)
Modifies this configuration's TorqueCurrent parameter and returns itself for method-chaining and easi...
Definition: CoreTalonFX.hpp:303
TorqueCurrentConfigs TorqueCurrent
Configs to control the maximum and minimum applied torque when using Torque Current control types.
Definition: CoreTalonFX.hpp:146
MotorOutputConfigs MotorOutput
Configs that directly affect motor-output.
Definition: CoreTalonFX.hpp:122
TalonFXConfiguration & WithVoltage(VoltageConfigs newVoltage)
Modifies this configuration's Voltage parameter and returns itself for method-chaining and easier to ...
Definition: CoreTalonFX.hpp:291
TalonFXConfiguration & WithSlot1(Slot1Configs newSlot1)
Modifies this configuration's Slot1 parameter and returns itself for method-chaining and easier to us...
Definition: CoreTalonFX.hpp:459
bool FutureProofConfigs
True if we should factory default newer unsupported configs, false to leave newer unsupported configs...
Definition: CoreTalonFX.hpp:114
TalonFXConfiguration & WithAudio(AudioConfigs newAudio)
Modifies this configuration's Audio parameter and returns itself for method-chaining and easier to us...
Definition: CoreTalonFX.hpp:387
TalonFXConfiguration & WithMotorOutput(MotorOutputConfigs newMotorOutput)
Modifies this configuration's MotorOutput parameter and returns itself for method-chaining and easier...
Definition: CoreTalonFX.hpp:267
TalonFXConfiguration & WithFeedback(FeedbackConfigs newFeedback)
Modifies this configuration's Feedback parameter and returns itself for method-chaining and easier to...
Definition: CoreTalonFX.hpp:315
TalonFXConfiguration & WithSoftwareLimitSwitch(SoftwareLimitSwitchConfigs newSoftwareLimitSwitch)
Modifies this configuration's SoftwareLimitSwitch parameter and returns itself for method-chaining an...
Definition: CoreTalonFX.hpp:399
TalonFXConfiguration & WithDifferentialSensors(DifferentialSensorsConfigs newDifferentialSensors)
Modifies this configuration's DifferentialSensors parameter and returns itself for method-chaining an...
Definition: CoreTalonFX.hpp:327
TalonFXConfiguration & WithSlot2(Slot2Configs newSlot2)
Modifies this configuration's Slot2 parameter and returns itself for method-chaining and easier to us...
Definition: CoreTalonFX.hpp:471
TalonFXConfiguration & WithOpenLoopRamps(OpenLoopRampsConfigs newOpenLoopRamps)
Modifies this configuration's OpenLoopRamps parameter and returns itself for method-chaining and easi...
Definition: CoreTalonFX.hpp:351
TalonFXConfiguration & WithClosedLoopRamps(ClosedLoopRampsConfigs newClosedLoopRamps)
Modifies this configuration's ClosedLoopRamps parameter and returns itself for method-chaining and ea...
Definition: CoreTalonFX.hpp:363
TalonFXConfiguration & WithCurrentLimits(CurrentLimitsConfigs newCurrentLimits)
Modifies this configuration's CurrentLimits parameter and returns itself for method-chaining and easi...
Definition: CoreTalonFX.hpp:279
DifferentialConstantsConfigs DifferentialConstants
Configs related to constants used for differential control of a mechanism.
Definition: CoreTalonFX.hpp:172
VoltageConfigs Voltage
Voltage-specific configs.
Definition: CoreTalonFX.hpp:137
HardwareLimitSwitchConfigs HardwareLimitSwitch
Configs that change how the motor controller behaves under different limit switch statse.
Definition: CoreTalonFX.hpp:198
TalonFXConfiguration & WithSlot0(Slot0Configs newSlot0)
Modifies this configuration's Slot0 parameter and returns itself for method-chaining and easier to us...
Definition: CoreTalonFX.hpp:447
ClosedLoopRampsConfigs ClosedLoopRamps
Configs that affect the closed-loop control of this motor controller.
Definition: CoreTalonFX.hpp:188
Slot2Configs Slot2
Gains for the specified slot.
Definition: CoreTalonFX.hpp:259
OpenLoopRampsConfigs OpenLoopRamps
Configs that affect the open-loop control of this motor controller.
Definition: CoreTalonFX.hpp:180
TalonFXConfiguration & WithMotionMagic(MotionMagicConfigs newMotionMagic)
Modifies this configuration's MotionMagic parameter and returns itself for method-chaining and easier...
Definition: CoreTalonFX.hpp:411
SoftwareLimitSwitchConfigs SoftwareLimitSwitch
Configs that affect how software-limit switches behave.
Definition: CoreTalonFX.hpp:213
MotionMagicConfigs MotionMagic
Configs for Motion Magic®.
Definition: CoreTalonFX.hpp:221
std::string ToString() const
Get the string representation of this configuration.
Definition: CoreTalonFX.hpp:480
FeedbackConfigs Feedback
Configs that affect the feedback of this motor controller.
Definition: CoreTalonFX.hpp:156
Slot0Configs Slot0
Gains for the specified slot.
Definition: CoreTalonFX.hpp:243
TalonFXConfiguration & WithDifferentialConstants(DifferentialConstantsConfigs newDifferentialConstants)
Modifies this configuration's DifferentialConstants parameter and returns itself for method-chaining ...
Definition: CoreTalonFX.hpp:339
AudioConfigs Audio
Configs that affect audible components of the device.
Definition: CoreTalonFX.hpp:205
TalonFXConfiguration & WithHardwareLimitSwitch(HardwareLimitSwitchConfigs newHardwareLimitSwitch)
Modifies this configuration's HardwareLimitSwitch parameter and returns itself for method-chaining an...
Definition: CoreTalonFX.hpp:375
DifferentialSensorsConfigs DifferentialSensors
Configs related to sensors used for differential control of a mechanism.
Definition: CoreTalonFX.hpp:164
ctre::phoenix::StatusCode Deserialize(const std::string &to_deserialize)
Take a string and deserialize it to this configuration.
Definition: CoreTalonFX.hpp:534
CurrentLimitsConfigs CurrentLimits
Configs that directly affect current limiting features.
Definition: CoreTalonFX.hpp:130
TalonFXConfiguration & WithCustomParams(CustomParamsConfigs newCustomParams)
Modifies this configuration's CustomParams parameter and returns itself for method-chaining and easie...
Definition: CoreTalonFX.hpp:423
CustomParamsConfigs CustomParams
Custom Params.
Definition: CoreTalonFX.hpp:228
ClosedLoopGeneralConfigs ClosedLoopGeneral
Configs that affect general behavior during closed-looping.
Definition: CoreTalonFX.hpp:235
std::string Serialize() const
Get the serialized form of this configuration.
Definition: CoreTalonFX.hpp:507
Slot1Configs Slot1
Gains for the specified slot.
Definition: CoreTalonFX.hpp:251
TalonFXConfiguration & WithClosedLoopGeneral(ClosedLoopGeneralConfigs newClosedLoopGeneral)
Modifies this configuration's ClosedLoopGeneral parameter and returns itself for method-chaining and ...
Definition: CoreTalonFX.hpp:435
Class description for the Talon FX integrated motor controller.
Definition: CoreTalonFX.hpp:565
ctre::phoenix::StatusCode ClearStickyFault_RemoteSensorDataInvalid()
Clear sticky fault: The remote sensor's data is no longer trusted.
Definition: CoreTalonFX.hpp:2467
ctre::phoenix::StatusCode Refresh(AudioConfigs &configs) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:1250
ctre::phoenix::StatusCode ClearStickyFault_RemoteSensorPosOverflow(units::time::second_t timeoutSeconds)
Clear sticky fault: The remote sensor position has overflowed.
Definition: CoreTalonFX.hpp:2208
ctre::phoenix::StatusCode ClearStickyFault_ForwardSoftLimit()
Clear sticky fault: Forward soft limit has been asserted.
Definition: CoreTalonFX.hpp:2425
ctre::phoenix::StatusCode Refresh(Slot1Configs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:1623
ctre::phoenix::StatusCode SetPosition(units::angle::turn_t newValue)
Sets the mechanism position of the device in mechanism rotations.
Definition: CoreTalonFX.hpp:1796
ctre::phoenix::StatusCode ClearStickyFault_RemoteSensorDataInvalid(units::time::second_t timeoutSeconds)
Clear sticky fault: The remote sensor's data is no longer trusted.
Definition: CoreTalonFX.hpp:2487
ctre::phoenix::StatusCode ClearStickyFaults()
Clear the sticky faults in the device.
Definition: CoreTalonFX.hpp:1839
ctre::phoenix::StatusCode Apply(const DifferentialConstantsConfigs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:1055
ctre::phoenix::StatusCode Refresh(OpenLoopRampsConfigs &configs) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:1070
ctre::phoenix::StatusCode Apply(const AudioConfigs &configs)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:1281
ctre::phoenix::StatusCode Refresh(FeedbackConfigs &configs) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:890
ctre::phoenix::StatusCode Apply(const Slot0Configs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:1595
TalonFXConfigurator(const TalonFXConfigurator &)=delete
Delete the copy constructor, we can only pass by reference.
ctre::phoenix::StatusCode Refresh(Slot0Configs &configs) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:1550
ctre::phoenix::StatusCode Refresh(ClosedLoopGeneralConfigs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:1503
ctre::phoenix::StatusCode Refresh(SoftwareLimitSwitchConfigs &configs) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:1310
ctre::phoenix::StatusCode Apply(const TalonFXConfiguration &configs)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:620
ctre::phoenix::StatusCode Apply(const MotionMagicConfigs &configs)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:1401
ctre::phoenix::StatusCode ClearStickyFault_ProcTemp(units::time::second_t timeoutSeconds)
Clear sticky fault: Processor temperature exceeded limit.
Definition: CoreTalonFX.hpp:1933
ctre::phoenix::StatusCode Apply(const DifferentialSensorsConfigs &configs)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:981
ctre::phoenix::StatusCode Refresh(Slot2Configs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:1683
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.
Definition: CoreTalonFX.hpp:2087
ctre::phoenix::StatusCode Refresh(ClosedLoopRampsConfigs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:1143
ctre::phoenix::StatusCode ClearStickyFault_Undervoltage()
Clear sticky fault: Device supply voltage dropped to near brownout levels.
Definition: CoreTalonFX.hpp:1992
ctre::phoenix::StatusCode Refresh(MotionMagicConfigs &configs) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:1370
ctre::phoenix::StatusCode Apply(const Slot2Configs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:1715
ctre::phoenix::StatusCode ClearStickyFault_OverSupplyV(units::time::second_t timeoutSeconds)
Clear sticky fault: Supply Voltage has exceeded the maximum voltage rating of device.
Definition: CoreTalonFX.hpp:2247
ctre::phoenix::StatusCode Apply(const DifferentialConstantsConfigs &configs)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:1041
ctre::phoenix::StatusCode Refresh(VoltageConfigs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:783
ctre::phoenix::StatusCode ClearStickyFault_ProcTemp()
Clear sticky fault: Processor temperature exceeded limit.
Definition: CoreTalonFX.hpp:1917
ctre::phoenix::StatusCode Refresh(SlotConfigs &configs) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:1730
ctre::phoenix::StatusCode Refresh(Slot1Configs &configs) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:1610
ctre::phoenix::StatusCode Refresh(CustomParamsConfigs &configs) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:1430
ctre::phoenix::StatusCode ClearStickyFault_DeviceTemp()
Clear sticky fault: Device temperature exceeded limit.
Definition: CoreTalonFX.hpp:1954
ctre::phoenix::StatusCode ClearStickyFault_ForwardSoftLimit(units::time::second_t timeoutSeconds)
Clear sticky fault: Forward soft limit has been asserted.
Definition: CoreTalonFX.hpp:2442
ctre::phoenix::StatusCode Apply(const CustomParamsConfigs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:1475
ctre::phoenix::StatusCode Refresh(ClosedLoopGeneralConfigs &configs) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:1490
ctre::phoenix::StatusCode Refresh(Slot2Configs &configs) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:1670
ctre::phoenix::StatusCode SetPosition(units::angle::turn_t newValue, units::time::second_t timeoutSeconds)
Sets the mechanism position of the device in mechanism rotations.
Definition: CoreTalonFX.hpp:1814
ctre::phoenix::StatusCode ClearStickyFault_Hardware()
Clear sticky fault: Hardware fault occurred.
Definition: CoreTalonFX.hpp:1880
ctre::phoenix::StatusCode Apply(const SlotConfigs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:1775
ctre::phoenix::StatusCode Apply(const OpenLoopRampsConfigs &configs)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:1101
ctre::phoenix::StatusCode Apply(const Slot1Configs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:1655
ctre::phoenix::StatusCode ClearStickyFault_ReverseSoftLimit(units::time::second_t timeoutSeconds)
Clear sticky fault: Reverse soft limit has been asserted.
Definition: CoreTalonFX.hpp:2403
ctre::phoenix::StatusCode ClearStickyFault_ReverseSoftLimit()
Clear sticky fault: Reverse soft limit has been asserted.
Definition: CoreTalonFX.hpp:2386
ctre::phoenix::StatusCode Refresh(VoltageConfigs &configs) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:770
ctre::phoenix::StatusCode Refresh(FeedbackConfigs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:903
ctre::phoenix::StatusCode Apply(const ClosedLoopRampsConfigs &configs)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:1161
ctre::phoenix::StatusCode Apply(const TalonFXConfiguration &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:634
ctre::phoenix::StatusCode Apply(const ClosedLoopRampsConfigs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:1175
ctre::phoenix::StatusCode Apply(const SoftwareLimitSwitchConfigs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:1355
ctre::phoenix::StatusCode Apply(const Slot0Configs &configs)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:1581
ctre::phoenix::StatusCode Apply(const CustomParamsConfigs &configs)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:1461
ctre::phoenix::StatusCode Apply(const TorqueCurrentConfigs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:875
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.
Definition: CoreTalonFX.hpp:2532
ctre::phoenix::StatusCode ClearStickyFault_RemoteSensorPosOverflow()
Clear sticky fault: The remote sensor position has overflowed.
Definition: CoreTalonFX.hpp:2188
ctre::phoenix::StatusCode ClearStickyFault_Hardware(units::time::second_t timeoutSeconds)
Clear sticky fault: Hardware fault occurred.
Definition: CoreTalonFX.hpp:1896
ctre::phoenix::StatusCode Apply(const ClosedLoopGeneralConfigs &configs)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:1521
ctre::phoenix::StatusCode ClearStickyFault_Undervoltage(units::time::second_t timeoutSeconds)
Clear sticky fault: Device supply voltage dropped to near brownout levels.
Definition: CoreTalonFX.hpp:2009
ctre::phoenix::StatusCode Apply(const ClosedLoopGeneralConfigs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:1535
ctre::phoenix::StatusCode Refresh(CustomParamsConfigs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:1443
ctre::phoenix::StatusCode Refresh(SoftwareLimitSwitchConfigs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:1323
ctre::phoenix::StatusCode Apply(const MotorOutputConfigs &configs)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:681
ctre::phoenix::StatusCode Apply(const Slot2Configs &configs)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:1701
ctre::phoenix::StatusCode Apply(const MotionMagicConfigs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:1415
ctre::phoenix::StatusCode ClearStickyFaults(units::time::second_t timeoutSeconds)
Clear the sticky faults in the device.
Definition: CoreTalonFX.hpp:1859
ctre::phoenix::StatusCode ClearStickyFault_UnstableSupplyV(units::time::second_t timeoutSeconds)
Clear sticky fault: Supply Voltage is unstable.
Definition: CoreTalonFX.hpp:2286
ctre::phoenix::StatusCode Refresh(AudioConfigs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:1263
ctre::phoenix::StatusCode Apply(const VoltageConfigs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:815
ctre::phoenix::StatusCode Refresh(MotorOutputConfigs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:663
ctre::phoenix::StatusCode Refresh(CurrentLimitsConfigs &configs) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:710
ctre::phoenix::StatusCode ClearStickyFault_BootDuringEnable()
Clear sticky fault: Device boot while detecting the enable signal.
Definition: CoreTalonFX.hpp:2031
ctre::phoenix::StatusCode ClearStickyFault_OverSupplyV()
Clear sticky fault: Supply Voltage has exceeded the maximum voltage rating of device.
Definition: CoreTalonFX.hpp:2230
ctre::phoenix::StatusCode Refresh(TalonFXConfiguration &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:602
ctre::phoenix::StatusCode Refresh(DifferentialSensorsConfigs &configs) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:950
ctre::phoenix::StatusCode Refresh(TorqueCurrentConfigs &configs) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:830
ctre::phoenix::StatusCode ClearStickyFault_BridgeBrownout()
Clear sticky fault: Bridge was disabled most likely due to supply voltage dropping too low.
Definition: CoreTalonFX.hpp:2070
ctre::phoenix::StatusCode Apply(const SlotConfigs &configs)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:1761
ctre::phoenix::StatusCode ClearStickyFault_RemoteSensorReset(units::time::second_t timeoutSeconds)
Clear sticky fault: The remote sensor has reset.
Definition: CoreTalonFX.hpp:2124
ctre::phoenix::StatusCode ClearStickyFault_SupplyCurrLimit()
Clear sticky fault: Supply current limit occured.
Definition: CoreTalonFX.hpp:2590
ctre::phoenix::StatusCode ClearStickyFault_UnstableSupplyV()
Clear sticky fault: Supply Voltage is unstable.
Definition: CoreTalonFX.hpp:2269
ctre::phoenix::StatusCode Refresh(OpenLoopRampsConfigs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:1083
ctre::phoenix::StatusCode Apply(const Slot1Configs &configs)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:1641
ctre::phoenix::StatusCode Apply(const SoftwareLimitSwitchConfigs &configs)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:1341
ctre::phoenix::StatusCode Refresh(DifferentialSensorsConfigs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:963
ctre::phoenix::StatusCode ClearStickyFault_MissingDifferentialFX(units::time::second_t timeoutSeconds)
Clear sticky fault: The remote Talon FX used for differential control is not present on CAN Bus.
Definition: CoreTalonFX.hpp:2163
ctre::phoenix::StatusCode ClearStickyFault_ForwardHardLimit()
Clear sticky fault: Forward limit switch has been asserted.
Definition: CoreTalonFX.hpp:2347
ctre::phoenix::StatusCode ClearStickyFault_StatorCurrLimit(units::time::second_t timeoutSeconds)
Clear sticky fault: Stator current limit occured.
Definition: CoreTalonFX.hpp:2569
ctre::phoenix::StatusCode ClearStickyFault_StatorCurrLimit()
Clear sticky fault: Stator current limit occured.
Definition: CoreTalonFX.hpp:2553
ctre::phoenix::StatusCode Apply(const HardwareLimitSwitchConfigs &configs)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:1221
ctre::phoenix::StatusCode ClearStickyFault_FusedSensorOutOfSync()
Clear sticky fault: The remote sensor used for fusion has fallen out of sync to the local sensor.
Definition: CoreTalonFX.hpp:2512
ctre::phoenix::StatusCode ClearStickyFault_DeviceTemp(units::time::second_t timeoutSeconds)
Clear sticky fault: Device temperature exceeded limit.
Definition: CoreTalonFX.hpp:1970
ctre::phoenix::StatusCode Apply(const CurrentLimitsConfigs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:755
ctre::phoenix::StatusCode ClearStickyFault_ReverseHardLimit(units::time::second_t timeoutSeconds)
Clear sticky fault: Reverse limit switch has been asserted.
Definition: CoreTalonFX.hpp:2325
ctre::phoenix::StatusCode Refresh(DifferentialConstantsConfigs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:1023
ctre::phoenix::StatusCode ClearStickyFault_BootDuringEnable(units::time::second_t timeoutSeconds)
Clear sticky fault: Device boot while detecting the enable signal.
Definition: CoreTalonFX.hpp:2048
ctre::phoenix::StatusCode Apply(const HardwareLimitSwitchConfigs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:1235
ctre::phoenix::StatusCode Apply(const VoltageConfigs &configs)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:801
ctre::phoenix::StatusCode Apply(const FeedbackConfigs &configs)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:921
ctre::phoenix::StatusCode ClearStickyFault_RemoteSensorReset()
Clear sticky fault: The remote sensor has reset.
Definition: CoreTalonFX.hpp:2108
ctre::phoenix::StatusCode Refresh(DifferentialConstantsConfigs &configs) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:1010
ctre::phoenix::StatusCode ClearStickyFault_MissingDifferentialFX()
Clear sticky fault: The remote Talon FX used for differential control is not present on CAN Bus.
Definition: CoreTalonFX.hpp:2146
ctre::phoenix::StatusCode Refresh(Slot0Configs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:1563
ctre::phoenix::StatusCode Refresh(TalonFXConfiguration &configs) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:588
ctre::phoenix::StatusCode Apply(const TorqueCurrentConfigs &configs)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:861
ctre::phoenix::StatusCode Apply(const DifferentialSensorsConfigs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:995
ctre::phoenix::StatusCode Refresh(HardwareLimitSwitchConfigs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.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: CoreTalonFX.hpp:695
ctre::phoenix::StatusCode ClearStickyFault_ReverseHardLimit()
Clear sticky fault: Reverse limit switch has been asserted.
Definition: CoreTalonFX.hpp:2308
ctre::phoenix::StatusCode Refresh(SlotConfigs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:1743
ctre::phoenix::StatusCode Refresh(ClosedLoopRampsConfigs &configs) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:1130
ctre::phoenix::StatusCode Refresh(MotorOutputConfigs &configs) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:650
ctre::phoenix::StatusCode Apply(const OpenLoopRampsConfigs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:1115
ctre::phoenix::StatusCode Refresh(MotionMagicConfigs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:1383
ctre::phoenix::StatusCode Apply(const FeedbackConfigs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:935
ctre::phoenix::StatusCode Refresh(CurrentLimitsConfigs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:723
ctre::phoenix::StatusCode Apply(const AudioConfigs &configs, units::time::second_t timeoutSeconds)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:1295
ctre::phoenix::StatusCode ClearStickyFault_SupplyCurrLimit(units::time::second_t timeoutSeconds)
Clear sticky fault: Supply current limit occured.
Definition: CoreTalonFX.hpp:2606
ctre::phoenix::StatusCode Apply(const CurrentLimitsConfigs &configs)
Applies the contents of the specified config to the device.
Definition: CoreTalonFX.hpp:741
ctre::phoenix::StatusCode Refresh(TorqueCurrentConfigs &configs, units::time::second_t timeoutSeconds) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:843
ctre::phoenix::StatusCode Refresh(HardwareLimitSwitchConfigs &configs) const
Refreshes the values of the specified config group.
Definition: CoreTalonFX.hpp:1190
ctre::phoenix::StatusCode ClearStickyFault_ForwardHardLimit(units::time::second_t timeoutSeconds)
Clear sticky fault: Forward limit switch has been asserted.
Definition: CoreTalonFX.hpp:2364
Configs to control the maximum and minimum applied torque when using Torque Current control types.
Definition: Configs.hpp:910
std::string ToString() const override
Definition: Configs.hpp:979
std::string Serialize() const override
Definition: Configs.hpp:991
ctre::phoenix::StatusCode Deserialize(const std::string &to_deserialize) override
Definition: Configs.hpp:1001
Voltage-specific configs.
Definition: Configs.hpp:797
ctre::phoenix::StatusCode Deserialize(const std::string &to_deserialize) override
Definition: Configs.hpp:890
std::string Serialize() const override
Definition: Configs.hpp:880
std::string ToString() const override
Definition: Configs.hpp:868
Request coast neutral output of actuator.
Definition: CoastOut.hpp:27
Abstract Control Request class that other control requests extend for use.
Definition: ControlRequest.hpp:28
Request a specified motor duty cycle with a differential position closed-loop.
Definition: DifferentialDutyCycle.hpp:31
Follow the differential motor output of another Talon.
Definition: DifferentialFollower.hpp:30
Requests Motion Magic® to target a final position using a motion profile, and PID to a differential p...
Definition: DifferentialMotionMagicDutyCycle.hpp:33
Requests Motion Magic® to target a final position using a motion profile, and PID to a differential p...
Definition: DifferentialMotionMagicVoltage.hpp:33
Request PID to target position with a differential position setpoint.
Definition: DifferentialPositionDutyCycle.hpp:29
Request PID to target position with a differential position setpoint.
Definition: DifferentialPositionVoltage.hpp:29
Follow the differential motor output of another Talon while ignoring the master's invert setting.
Definition: DifferentialStrictFollower.hpp:32
Request PID to target velocity with a differential position setpoint.
Definition: DifferentialVelocityDutyCycle.hpp:30
Request PID to target velocity with a differential position setpoint.
Definition: DifferentialVelocityVoltage.hpp:30
Request a specified voltage with a differential position closed-loop.
Definition: DifferentialVoltage.hpp:31
Request a specified motor duty cycle.
Definition: DutyCycleOut.hpp:28
Requires Phoenix Pro and CANivore; Requests Motion Magic® to target a final position using a motion p...
Definition: DynamicMotionMagicDutyCycle.hpp:40
Requires Phoenix Pro and CANivore; Requests Motion Magic® to target a final position using a motion p...
Definition: DynamicMotionMagicTorqueCurrentFOC.hpp:39
Requires Phoenix Pro and CANivore; Requests Motion Magic® to target a final position using a motion p...
Definition: DynamicMotionMagicVoltage.hpp:39
Follow the motor output of another Talon.
Definition: Follower.hpp:30
Requests Motion Magic® to target a final position using a motion profile.
Definition: MotionMagicDutyCycle.hpp:34
Requests Motion Magic® to target a final position using an exponential motion profile.
Definition: MotionMagicExpoDutyCycle.hpp:35
Requires Phoenix Pro; Requests Motion Magic® to target a final position using an exponential motion p...
Definition: MotionMagicExpoTorqueCurrentFOC.hpp:36
Requests Motion Magic® to target a final position using an exponential motion profile.
Definition: MotionMagicExpoVoltage.hpp:35
Requires Phoenix Pro; Requests Motion Magic® to target a final position using a motion profile.
Definition: MotionMagicTorqueCurrentFOC.hpp:35
Requests Motion Magic® to target a final velocity using a motion profile.
Definition: MotionMagicVelocityDutyCycle.hpp:39
Requests Motion Magic® to target a final velocity using a motion profile.
Definition: MotionMagicVelocityTorqueCurrentFOC.hpp:39
Requests Motion Magic® to target a final velocity using a motion profile.
Definition: MotionMagicVelocityVoltage.hpp:39
Requests Motion Magic® to target a final position using a motion profile.
Definition: MotionMagicVoltage.hpp:34
Plays a single tone at the user specified frequency.
Definition: MusicTone.hpp:26
Request neutral output of actuator.
Definition: NeutralOut.hpp:27
Request PID to target position with duty cycle feedforward.
Definition: PositionDutyCycle.hpp:31
Requires Phoenix Pro; Request PID to target position with torque current feedforward.
Definition: PositionTorqueCurrentFOC.hpp:32
Request PID to target position with voltage feedforward.
Definition: PositionVoltage.hpp:31
Applies full neutral-brake by shorting motor leads together.
Definition: StaticBrake.hpp:26
Follow the motor output of another Talon while ignoring the master's invert setting.
Definition: StrictFollower.hpp:32
Requires Phoenix Pro; Request a specified motor current (field oriented control).
Definition: TorqueCurrentFOC.hpp:32
Request PID to target velocity with duty cycle feedforward.
Definition: VelocityDutyCycle.hpp:31
Requires Phoenix Pro; Request PID to target velocity with torque current feedforward.
Definition: VelocityTorqueCurrentFOC.hpp:32
Request PID to target velocity with voltage feedforward.
Definition: VelocityVoltage.hpp:31
Request a specified voltage.
Definition: VoltageOut.hpp:29
Definition: DeviceIdentifier.hpp:19
Parent class for all devices.
Definition: ParentDevice.hpp:29
Class description for the Talon FX integrated motor controller.
Definition: CoreTalonFX.hpp:2624
StatusSignal< units::angular_velocity::turns_per_second_t > & GetDifferentialAverageVelocity()
Average component of the differential velocity of device.
ctre::phoenix::StatusCode ClearStickyFault_RemoteSensorReset(units::time::second_t timeoutSeconds)
Clear sticky fault: The remote sensor has reset.
Definition: CoreTalonFX.hpp:9037
ctre::phoenix::StatusCode SetControl(controls::MotionMagicVoltage &&request)
Requests Motion Magic® to target a final position using a motion profile.
Definition: CoreTalonFX.hpp:5757
ctre::phoenix::StatusCode SetControl(controls::DifferentialDutyCycle &request)
Request a specified motor duty cycle with a differential position closed-loop.
ctre::phoenix::StatusCode ClearStickyFault_ForwardSoftLimit(units::time::second_t timeoutSeconds)
Clear sticky fault: Forward soft limit has been asserted.
Definition: CoreTalonFX.hpp:9234
CoreTalonFX(int deviceId, std::string canbus="")
Constructs a new Talon FX motor controller object.
StatusSignal< units::temperature::celsius_t > & GetDeviceTemp()
Temperature of device.
StatusSignal< bool > & GetStickyFault_Hardware()
Hardware fault occurred.
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicDutyCycle_Position &&request)
Differential control with Motion Magic® average target and position difference target using dutycycle...
Definition: CoreTalonFX.hpp:8043
ctre::phoenix::StatusCode SetControl(controls::MotionMagicExpoTorqueCurrentFOC &&request)
Requests Motion Magic® to target a final position using an exponential motion profile.
Definition: CoreTalonFX.hpp:7599
StatusSignal< bool > & GetStickyFault_RemoteSensorReset()
The remote sensor has reset.
ctre::phoenix::StatusCode ClearStickyFault_OverSupplyV()
Clear sticky fault: Supply Voltage has exceeded the maximum voltage rating of device.
Definition: CoreTalonFX.hpp:9126
StatusSignal< bool > & GetFault_ForwardHardLimit()
Forward limit switch has been asserted.
StatusSignal< double > & GetClosedLoopIntegratedOutput()
Closed loop integrated component.
StatusSignal< units::temperature::celsius_t > & GetAncillaryDeviceTemp()
Temperature of device from second sensor.
ctre::phoenix::StatusCode SetControl(controls::MotionMagicVelocityVoltage &request)
Requests Motion Magic® to target a final velocity using a motion profile.
StatusSignal< units::angular_velocity::turns_per_second_t > & GetRotorVelocity()
Velocity of the motor rotor.
ctre::phoenix::StatusCode SetControl(controls::MusicTone &request)
Plays a single tone at the user specified frequency.
StatusSignal< units::voltage::volt_t > & GetSupplyVoltage()
Measured supply voltage to the TalonFX.
ctre::phoenix::StatusCode SetControl(controls::StrictFollower &&request)
Follow the motor output of another Talon while ignoring the master's invert setting.
Definition: CoreTalonFX.hpp:6739
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_VelocityDutyCycle_Velocity &request)
Differential control with velocity average target and velocity difference target using dutycycle cont...
ctre::phoenix::StatusCode SetControl(controls::ControlRequest &&request)
Control motor with generic control request object.
Definition: CoreTalonFX.hpp:8831
StatusSignal< bool > & GetFault_StatorCurrLimit()
Stator current limit occured.
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicVoltage_Velocity &request)
Differential control with Motion Magic® average target and velocity difference target using voltage c...
ctre::phoenix::StatusCode SetControl(controls::DifferentialFollower &&request)
Follow the differential motor output of another Talon.
Definition: CoreTalonFX.hpp:6789
ctre::phoenix::StatusCode ClearStickyFaults(units::time::second_t timeoutSeconds)
Clear the sticky faults in the device.
Definition: CoreTalonFX.hpp:8873
ctre::phoenix::StatusCode SetControl(controls::DifferentialMotionMagicVoltage &request)
Requests Motion Magic® to target a final position using a motion profile, and PID to a differential p...
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicDutyCycle_Velocity &&request)
Differential control with Motion Magic® average target and velocity difference target using dutycycle...
Definition: CoreTalonFX.hpp:8155
ctre::phoenix::StatusCode ClearStickyFault_ForwardSoftLimit()
Clear sticky fault: Forward soft limit has been asserted.
Definition: CoreTalonFX.hpp:9246
ctre::phoenix::StatusCode SetControl(controls::CoastOut &&request)
Request coast neutral output of actuator.
Definition: CoreTalonFX.hpp:6877
StatusSignal< double > & GetClosedLoopOutput()
Closed loop total output.
ctre::phoenix::StatusCode SetControl(controls::DifferentialPositionVoltage &&request)
Request PID to target position with a differential position setpoint.
Definition: CoreTalonFX.hpp:6231
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_DutyCycleOut_Velocity &&request)
Differential control with duty cycle average target and velocity difference target.
Definition: CoreTalonFX.hpp:8071
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicDutyCycle_Position &request)
Differential control with Motion Magic® average target and position difference target using dutycycle...
ctre::phoenix::StatusCode SetControl(controls::DifferentialStrictFollower &request)
Follow the differential motor output of another Talon while ignoring the master's invert setting.
StatusSignal< double > & GetDifferentialClosedLoopProportionalOutput()
Differential closed loop proportional component.
ctre::phoenix::StatusCode ClearStickyFault_DeviceTemp()
Clear sticky fault: Device temperature exceeded limit.
Definition: CoreTalonFX.hpp:8954
StatusSignal< units::current::ampere_t > & GetTorqueCurrent()
Current corresponding to the torque output by the motor.
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_PositionTorqueCurrentFOC_Position &&request)
Differential control with position average target and position difference target using torque current...
Definition: CoreTalonFX.hpp:8439
ctre::phoenix::StatusCode SetControl(controls::Follower &request)
Follow the motor output of another Talon.
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicVoltage_Velocity &&request)
Differential control with Motion Magic® average target and velocity difference target using voltage c...
Definition: CoreTalonFX.hpp:8379
StatusSignal< double > & GetDifferentialClosedLoopIntegratedOutput()
Differential closed loop integrated component.
StatusSignal< bool > & GetFault_UnlicensedFeatureInUse()
An unlicensed feature is in use, device may not behave as expected.
ctre::phoenix::StatusCode ClearStickyFault_RemoteSensorPosOverflow(units::time::second_t timeoutSeconds)
Clear sticky fault: The remote sensor position has overflowed.
Definition: CoreTalonFX.hpp:9087
ctre::phoenix::StatusCode SetControl(controls::DutyCycleOut &&request)
Request a specified motor duty cycle.
Definition: CoreTalonFX.hpp:4859
StatusSignal< bool > & GetStickyFault_BootDuringEnable()
Device boot while detecting the enable signal.
StatusSignal< bool > & GetStickyFault_DeviceTemp()
Device temperature exceeded limit.
ctre::phoenix::StatusCode SetControl(controls::CoastOut &request)
Request coast neutral output of actuator.
ctre::phoenix::StatusCode SetControl(controls::MotionMagicVelocityDutyCycle &&request)
Requests Motion Magic® to target a final velocity using a motion profile.
Definition: CoreTalonFX.hpp:7053
StatusSignal< units::angle::turn_t > & GetRotorPosition()
Position of the motor rotor.
ctre::phoenix::StatusCode ClearStickyFault_ProcTemp(units::time::second_t timeoutSeconds)
Clear sticky fault: Processor temperature exceeded limit.
Definition: CoreTalonFX.hpp:8921
ctre::phoenix::StatusCode ClearStickyFault_SupplyCurrLimit()
Clear sticky fault: Supply current limit occured.
Definition: CoreTalonFX.hpp:9350
ctre::phoenix::StatusCode SetControl(controls::DifferentialMotionMagicDutyCycle &request)
Requests Motion Magic® to target a final position using a motion profile, and PID to a differential p...
ctre::phoenix::StatusCode SetControl(controls::Follower &&request)
Follow the motor output of another Talon.
Definition: CoreTalonFX.hpp:6699
ctre::phoenix::StatusCode SetControl(controls::DynamicMotionMagicVoltage &&request)
Requests Motion Magic® to target a final position using a motion profile.
Definition: CoreTalonFX.hpp:7833
ctre::phoenix::StatusCode SetControl(controls::DifferentialPositionVoltage &request)
Request PID to target position with a differential position setpoint.
ctre::phoenix::StatusCode ClearStickyFault_DeviceTemp(units::time::second_t timeoutSeconds)
Clear sticky fault: Device temperature exceeded limit.
Definition: CoreTalonFX.hpp:8943
StatusSignal< double > & GetClosedLoopError()
The difference between target reference and current measurement.
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_VelocityDutyCycle_Position &request)
Differential control with velocity average target and position difference target using dutycycle cont...
configs::TalonFXConfigurator const & GetConfigurator() const
Gets the configurator for this TalonFX.
Definition: CoreTalonFX.hpp:3360
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_VoltageOut_Position &&request)
Differential control with voltage average target and position difference target.
Definition: CoreTalonFX.hpp:8183
ctre::phoenix::StatusCode ClearStickyFault_OverSupplyV(units::time::second_t timeoutSeconds)
Clear sticky fault: Supply Voltage has exceeded the maximum voltage rating of device.
Definition: CoreTalonFX.hpp:9114
StatusSignal< double > & GetDifferentialOutput()
The calculated motor output for differential followers.
ctre::phoenix::StatusCode SetControl(controls::DynamicMotionMagicTorqueCurrentFOC &request)
Requests Motion Magic® to target a final position using a motion profile.
StatusSignal< bool > & GetFault_ReverseSoftLimit()
Reverse soft limit has been asserted.
ctre::phoenix::StatusCode SetControl(controls::VelocityDutyCycle &&request)
Request PID to target velocity with duty cycle feedforward.
Definition: CoreTalonFX.hpp:5383
StatusSignal< signals::AppliedRotorPolarityValue > & GetAppliedRotorPolarity()
The applied rotor polarity.
ctre::phoenix::StatusCode ClearStickyFault_StatorCurrLimit(units::time::second_t timeoutSeconds)
Clear sticky fault: Stator current limit occured.
Definition: CoreTalonFX.hpp:9317
ctre::phoenix::StatusCode ClearStickyFault_RemoteSensorReset()
Clear sticky fault: The remote sensor has reset.
Definition: CoreTalonFX.hpp:9048
ctre::phoenix::StatusCode SetControl(controls::MotionMagicExpoDutyCycle &&request)
Requests Motion Magic® to target a final position using an exponential motion profile.
Definition: CoreTalonFX.hpp:7409
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_DutyCycleOut_Position &&request)
Differential control with duty cycle average target and position difference target.
Definition: CoreTalonFX.hpp:7959
ctre::phoenix::StatusCode ClearStickyFault_ReverseSoftLimit()
Clear sticky fault: Reverse soft limit has been asserted.
Definition: CoreTalonFX.hpp:9222
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_PositionTorqueCurrentFOC_Position &request)
Differential control with position average target and position difference target using torque current...
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.
Definition: CoreTalonFX.hpp:9014
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicTorqueCurrentFOC_Position &&request)
Differential control with Motion Magic® average target and position difference target using torque cu...
Definition: CoreTalonFX.hpp:8499
StatusSignal< int > & GetDifferentialClosedLoopSlot()
Differential Closed loop slot in use.
StatusSignal< bool > & GetFault_Hardware()
Hardware fault occurred.
StatusSignal< bool > & GetFault_SupplyCurrLimit()
Supply current limit occured.
StatusSignal< int > & GetVersionBugfix()
App Bugfix Version number.
StatusSignal< double > & GetDifferentialClosedLoopReference()
Value that the differential closed loop is targeting.
ctre::phoenix::StatusCode SetControl(controls::DifferentialPositionDutyCycle &&request)
Request PID to target position with a differential position setpoint.
Definition: CoreTalonFX.hpp:6131
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_PositionVoltage_Velocity &&request)
Differential control with position average target and velocity difference target using voltage contro...
Definition: CoreTalonFX.hpp:8323
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicDutyCycle_Velocity &request)
Differential control with Motion Magic® average target and velocity difference target using dutycycle...
StatusSignal< units::current::ampere_t > & GetStatorCurrent()
Current corresponding to the stator windings.
ctre::phoenix::StatusCode ClearStickyFault_ProcTemp()
Clear sticky fault: Processor temperature exceeded limit.
Definition: CoreTalonFX.hpp:8932
ctre::phoenix::StatusCode SetControl(controls::MotionMagicVelocityDutyCycle &request)
Requests Motion Magic® to target a final velocity using a motion profile.
StatusSignal< double > & GetDifferentialClosedLoopError()
The difference between target differential reference and current measurement.
ctre::phoenix::StatusCode SetControl(controls::VelocityTorqueCurrentFOC &&request)
Request PID to target velocity with torque current feedforward.
Definition: CoreTalonFX.hpp:5555
ctre::phoenix::StatusCode ClearStickyFault_RemoteSensorDataInvalid(units::time::second_t timeoutSeconds)
Clear sticky fault: The remote sensor's data is no longer trusted.
Definition: CoreTalonFX.hpp:9261
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_VelocityDutyCycle_Position &&request)
Differential control with velocity average target and position difference target using dutycycle cont...
Definition: CoreTalonFX.hpp:8015
ctre::phoenix::StatusCode SetControl(controls::MotionMagicExpoTorqueCurrentFOC &request)
Requests Motion Magic® to target a final position using an exponential motion profile.
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_TorqueCurrentFOC_Velocity &request)
Differential control with torque current average target and velocity difference target.
StatusSignal< bool > & GetStickyFault_UnstableSupplyV()
Supply Voltage is unstable.
StatusSignal< units::voltage::volt_t > & GetMotorVoltage()
The applied (output) motor voltage.
ctre::phoenix::StatusCode SetControl(controls::PositionTorqueCurrentFOC &&request)
Request PID to target position with torque current feedforward.
Definition: CoreTalonFX.hpp:5289
StatusSignal< bool > & GetFault_FusedSensorOutOfSync()
The remote sensor used for fusion has fallen out of sync to the local sensor.
ctre::phoenix::StatusCode SetControl(controls::StaticBrake &&request)
Applies full neutral-brake by shorting motor leads together.
Definition: CoreTalonFX.hpp:6899
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.
Definition: CoreTalonFX.hpp:9291
ctre::phoenix::StatusCode SetControl(controls::DifferentialVoltage &request)
Request a specified voltage with a differential position closed-loop.
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_PositionTorqueCurrentFOC_Velocity &request)
Differential control with position average target and velocity difference target using torque current...
ctre::phoenix::StatusCode SetControl(controls::MotionMagicExpoDutyCycle &request)
Requests Motion Magic® to target a final position using an exponential motion profile.
ctre::phoenix::StatusCode SetControl(controls::MotionMagicTorqueCurrentFOC &&request)
Requests Motion Magic® to target a final position using a motion profile.
Definition: CoreTalonFX.hpp:5841
StatusSignal< bool > & GetStickyFault_RemoteSensorDataInvalid()
The remote sensor's data is no longer trusted.
StatusSignal< bool > & GetStickyFault_ProcTemp()
Processor temperature exceeded limit.
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_VelocityVoltage_Velocity &request)
Differential control with velocity average target and velocity difference target using voltage contro...
ctre::phoenix::StatusCode SetControl(controls::PositionTorqueCurrentFOC &request)
Request PID to target position with torque current feedforward.
StatusSignal< bool > & GetStickyFault_UnlicensedFeatureInUse()
An unlicensed feature is in use, device may not behave as expected.
StatusSignal< signals::MotionMagicIsRunningValue > & GetMotionMagicIsRunning()
Check if Motion Magic® is running.
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_VelocityVoltage_Velocity &&request)
Differential control with velocity average target and velocity difference target using voltage contro...
Definition: CoreTalonFX.hpp:8351
StatusSignal< bool > & GetFault_Undervoltage()
Device supply voltage dropped to near brownout levels.
ctre::phoenix::StatusCode ClearStickyFault_ReverseHardLimit(units::time::second_t timeoutSeconds)
Clear sticky fault: Reverse limit switch has been asserted.
Definition: CoreTalonFX.hpp:9162
StatusSignal< double > & GetDifferentialClosedLoopFeedForward()
Differential Feedforward passed by the user.
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_VelocityTorqueCurrentFOC_Velocity &&request)
Differential control with velocity average target and velocity difference target using torque current...
Definition: CoreTalonFX.hpp:8589
ctre::phoenix::StatusCode SetControl(controls::NeutralOut &request)
Request neutral output of actuator.
StatusSignal< bool > & GetStickyFault_ReverseSoftLimit()
Reverse soft limit has been asserted.
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_PositionVoltage_Position &&request)
Differential control with position average target and position difference target using voltage contro...
Definition: CoreTalonFX.hpp:8211
ctre::phoenix::StatusCode SetControl(controls::DifferentialVoltage &&request)
Request a specified voltage with a differential position closed-loop.
Definition: CoreTalonFX.hpp:6031
ctre::phoenix::StatusCode ClearStickyFault_BootDuringEnable(units::time::second_t timeoutSeconds)
Clear sticky fault: Device boot while detecting the enable signal.
Definition: CoreTalonFX.hpp:8990
ctre::phoenix::StatusCode SetControl(controls::DifferentialFollower &request)
Follow the differential motor output of another Talon.
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_VelocityVoltage_Position &&request)
Differential control with velocity average target and position difference target using voltage contro...
Definition: CoreTalonFX.hpp:8239
ctre::phoenix::StatusCode SetControl(controls::StrictFollower &request)
Follow the motor output of another Talon while ignoring the master's invert setting.
ctre::phoenix::StatusCode SetControl(controls::MotionMagicVelocityVoltage &&request)
Requests Motion Magic® to target a final velocity using a motion profile.
Definition: CoreTalonFX.hpp:7303
StatusSignal< signals::ForwardLimitValue > & GetForwardLimit()
Forward Limit Pin.
StatusSignal< double > & GetClosedLoopFeedForward()
Feedforward passed by the user.
StatusSignal< signals::DifferentialControlModeValue > & GetDifferentialControlMode()
The active control mode of the differential controller.
StatusSignal< bool > & GetFault_ProcTemp()
Processor temperature exceeded limit.
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_PositionDutyCycle_Position &request)
Differential control with position average target and position difference target using dutycycle cont...
StatusSignal< signals::DeviceEnableValue > & GetDeviceEnable()
Indicates if device is actuator enabled.
ctre::phoenix::StatusCode SetControl(controls::PositionDutyCycle &request)
Request PID to target position with duty cycle feedforward.
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_PositionVoltage_Velocity &request)
Differential control with position average target and velocity difference target using voltage contro...
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_VelocityTorqueCurrentFOC_Position &&request)
Differential control with velocity average target and position difference target using torque current...
Definition: CoreTalonFX.hpp:8469
ctre::phoenix::StatusCode SetControl(controls::VoltageOut &request)
Request a specified voltage.
StatusSignal< units::angle::turn_t > & GetDifferentialDifferencePosition()
Difference component of the differential position of device.
ctre::phoenix::StatusCode SetControl(controls::MotionMagicVelocityTorqueCurrentFOC &&request)
Requests Motion Magic® to target a final velocity using a motion profile.
Definition: CoreTalonFX.hpp:7179
ctre::phoenix::StatusCode SetControl(controls::MotionMagicVoltage &request)
Requests Motion Magic® to target a final position using a motion profile.
ctre::phoenix::StatusCode ClearStickyFault_RemoteSensorPosOverflow()
Clear sticky fault: The remote sensor position has overflowed.
Definition: CoreTalonFX.hpp:9102
StatusSignal< bool > & GetStickyFault_SupplyCurrLimit()
Supply current limit occured.
StatusSignal< int > & GetVersionMinor()
App Minor Version number.
StatusSignal< units::current::ampere_t > & GetSupplyCurrent()
Measured supply side current.
StatusSignal< int > & GetVersion()
Full Version.
StatusSignal< bool > & GetStickyFault_RemoteSensorPosOverflow()
The remote sensor position has overflowed.
ctre::phoenix::StatusCode ClearStickyFault_FusedSensorOutOfSync()
Clear sticky fault: The remote sensor used for fusion has fallen out of sync to the local sensor.
Definition: CoreTalonFX.hpp:9306
StatusSignal< units::angular_velocity::turns_per_second_t > & GetDifferentialDifferenceVelocity()
Difference component of the differential velocity of device.
ctre::phoenix::StatusCode SetControl(controls::MotionMagicTorqueCurrentFOC &request)
Requests Motion Magic® to target a final position using a motion profile.
StatusSignal< bool > & GetFault_MissingDifferentialFX()
The remote Talon FX used for differential control is not present on CAN Bus.
ctre::phoenix::StatusCode SetControl(controls::DifferentialVelocityVoltage &request)
Request PID to target velocity with a differential position setpoint.
StatusSignal< double > & GetClosedLoopReference()
Value that the closed loop is targeting.
ctre::phoenix::StatusCode ClearStickyFault_ReverseSoftLimit(units::time::second_t timeoutSeconds)
Clear sticky fault: Reverse soft limit has been asserted.
Definition: CoreTalonFX.hpp:9210
StatusSignal< int > & GetVersionMajor()
App Major Version number.
ctre::phoenix::StatusCode SetControl(controls::DifferentialVelocityVoltage &&request)
Request PID to target velocity with a differential position setpoint.
Definition: CoreTalonFX.hpp:6431
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_VelocityTorqueCurrentFOC_Velocity &request)
Differential control with velocity average target and velocity difference target using torque current...
ctre::phoenix::StatusCode SetControl(controls::MusicTone &&request)
Plays a single tone at the user specified frequency.
Definition: CoreTalonFX.hpp:6929
StatusSignal< int > & GetVersionBuild()
App Build Version number.
StatusSignal< units::dimensionless::scalar_t > & GetDutyCycle()
The applied motor duty cycle.
StatusSignal< double > & GetClosedLoopDerivativeOutput()
Closed loop derivative component.
ctre::phoenix::StatusCode ClearStickyFault_UnstableSupplyV()
Clear sticky fault: Supply Voltage is unstable.
Definition: CoreTalonFX.hpp:9150
ctre::phoenix::StatusCode ClearStickyFault_StatorCurrLimit()
Clear sticky fault: Stator current limit occured.
Definition: CoreTalonFX.hpp:9328
configs::TalonFXConfigurator & GetConfigurator()
Gets the configurator for this TalonFX.
Definition: CoreTalonFX.hpp:3348
ctre::phoenix::StatusCode SetPosition(units::angle::turn_t newValue)
Sets the mechanism position of the device in mechanism rotations.
Definition: CoreTalonFX.hpp:8858
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_VoltageOut_Velocity &request)
Differential control with voltage average target and velocity difference target.
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicTorqueCurrentFOC_Velocity &request)
Differential control with Motion Magic® average target and velocity difference target using torque cu...
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicVoltage_Position &request)
Differential control with Motion Magic® average target and position difference target using voltage c...
ctre::phoenix::StatusCode SetControl(controls::VoltageOut &&request)
Request a specified voltage.
Definition: CoreTalonFX.hpp:5029
StatusSignal< bool > & GetFault_DeviceTemp()
Device temperature exceeded limit.
ctre::phoenix::StatusCode SetControl(controls::PositionVoltage &request)
Request PID to target position with voltage feedforward.
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_PositionDutyCycle_Position &&request)
Differential control with position average target and position difference target using dutycycle cont...
Definition: CoreTalonFX.hpp:7987
StatusSignal< bool > & GetFault_RemoteSensorReset()
The remote sensor has reset.
ctre::phoenix::StatusCode SetControl(controls::MotionMagicVelocityTorqueCurrentFOC &request)
Requests Motion Magic® to target a final velocity using a motion profile.
StatusSignal< bool > & GetStickyFault_UsingFusedCANcoderWhileUnlicensed()
Using Fused CANcoder feature while unlicensed.
StatusSignal< bool > & GetFault_RemoteSensorPosOverflow()
The remote sensor position has overflowed.
StatusSignal< bool > & GetFault_BootDuringEnable()
Device boot while detecting the enable signal.
StatusSignal< double > & GetDifferentialClosedLoopOutput()
Differential closed loop total output.
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_PositionTorqueCurrentFOC_Velocity &&request)
Differential control with position average target and velocity difference target using torque current...
Definition: CoreTalonFX.hpp:8559
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_TorqueCurrentFOC_Velocity &&request)
Differential control with torque current average target and velocity difference target.
Definition: CoreTalonFX.hpp:8529
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_VelocityVoltage_Position &request)
Differential control with velocity average target and position difference target using voltage contro...
StatusSignal< bool > & GetStickyFault_OverSupplyV()
Supply Voltage has exceeded the maximum voltage rating of device.
ctre::phoenix::StatusCode SetControl(controls::VelocityVoltage &&request)
Request PID to target velocity with voltage feedforward.
Definition: CoreTalonFX.hpp:5477
ctre::phoenix::StatusCode SetControl(controls::StaticBrake &request)
Applies full neutral-brake by shorting motor leads together.
ctre::phoenix::StatusCode SetControl(controls::DifferentialDutyCycle &&request)
Request a specified motor duty cycle with a differential position closed-loop.
Definition: CoreTalonFX.hpp:5935
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_VoltageOut_Position &request)
Differential control with voltage average target and position difference target.
ctre::phoenix::StatusCode ClearStickyFault_UnstableSupplyV(units::time::second_t timeoutSeconds)
Clear sticky fault: Supply Voltage is unstable.
Definition: CoreTalonFX.hpp:9138
ctre::phoenix::StatusCode ClearStickyFault_MissingDifferentialFX(units::time::second_t timeoutSeconds)
Clear sticky fault: The remote Talon FX used for differential control is not present on CAN Bus.
Definition: CoreTalonFX.hpp:9060
ctre::phoenix::StatusCode ClearStickyFault_ReverseHardLimit()
Clear sticky fault: Reverse limit switch has been asserted.
Definition: CoreTalonFX.hpp:9174
StatusSignal< double > & GetDifferentialClosedLoopReferenceSlope()
Derivative of the target that the differential closed loop is targeting.
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_TorqueCurrentFOC_Position &request)
Differential control with torque current average target and position difference target.
StatusSignal< signals::ReverseLimitValue > & GetReverseLimit()
Reverse Limit Pin.
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicVoltage_Position &&request)
Differential control with Motion Magic® average target and position difference target using voltage c...
Definition: CoreTalonFX.hpp:8267
ctre::phoenix::StatusCode SetControl(controls::MotionMagicExpoVoltage &&request)
Requests Motion Magic® to target a final position using an exponential motion profile.
Definition: CoreTalonFX.hpp:7513
ctre::phoenix::StatusCode SetControl(controls::MotionMagicExpoVoltage &request)
Requests Motion Magic® to target a final position using an exponential motion profile.
ctre::phoenix::StatusCode ClearStickyFault_ForwardHardLimit(units::time::second_t timeoutSeconds)
Clear sticky fault: Forward limit switch has been asserted.
Definition: CoreTalonFX.hpp:9186
StatusSignal< bool > & GetFault_ReverseHardLimit()
Reverse limit switch has been asserted.
ctre::phoenix::StatusCode ClearStickyFault_MissingDifferentialFX()
Clear sticky fault: The remote Talon FX used for differential control is not present on CAN Bus.
Definition: CoreTalonFX.hpp:9072
ctre::phoenix::StatusCode SetControl(controls::DynamicMotionMagicVoltage &request)
Requests Motion Magic® to target a final position using a motion profile.
ctre::phoenix::StatusCode SetControl(controls::DifferentialStrictFollower &&request)
Follow the differential motor output of another Talon while ignoring the master's invert setting.
Definition: CoreTalonFX.hpp:6829
ctre::phoenix::StatusCode ClearStickyFaults()
Clear the sticky faults in the device.
Definition: CoreTalonFX.hpp:8888
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicTorqueCurrentFOC_Velocity &&request)
Differential control with Motion Magic® average target and velocity difference target using torque cu...
Definition: CoreTalonFX.hpp:8619
CoreTalonFX(CoreTalonFX const &)=delete
ctre::phoenix::StatusCode ClearStickyFault_Undervoltage()
Clear sticky fault: Device supply voltage dropped to near brownout levels.
Definition: CoreTalonFX.hpp:8978
ctre::phoenix::StatusCode ClearStickyFault_SupplyCurrLimit(units::time::second_t timeoutSeconds)
Clear sticky fault: Supply current limit occured.
Definition: CoreTalonFX.hpp:9339
StatusSignal< bool > & GetStickyFault_BridgeBrownout()
Bridge was disabled most likely due to supply voltage dropping too low.
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_DutyCycleOut_Position &request)
Differential control with duty cycle average target and position difference target.
ctre::phoenix::StatusCode SetControl(controls::PositionDutyCycle &&request)
Request PID to target position with duty cycle feedforward.
Definition: CoreTalonFX.hpp:5121
ctre::phoenix::StatusCode SetControl(controls::NeutralOut &&request)
Request neutral output of actuator.
Definition: CoreTalonFX.hpp:6853
StatusSignal< units::angular_acceleration::turns_per_second_squared_t > & GetAcceleration()
Acceleration of the device in mechanism rotations per second².
StatusSignal< units::angle::turn_t > & GetPosition()
Position of the device in mechanism rotations.
ctre::phoenix::StatusCode ClearStickyFault_Hardware(units::time::second_t timeoutSeconds)
Clear sticky fault: Hardware fault occurred.
Definition: CoreTalonFX.hpp:8899
ctre::phoenix::StatusCode SetControl(controls::DifferentialVelocityDutyCycle &request)
Request PID to target velocity with a differential position setpoint.
ctre::phoenix::StatusCode SetControl(controls::DifferentialMotionMagicDutyCycle &&request)
Requests Motion Magic® to target a final position using a motion profile, and PID to a differential p...
Definition: CoreTalonFX.hpp:6541
StatusSignal< bool > & GetStickyFault_StatorCurrLimit()
Stator current limit occured.
StatusSignal< bool > & GetFault_UsingFusedCANcoderWhileUnlicensed()
Using Fused CANcoder feature while unlicensed.
ctre::phoenix::StatusCode SetControl(controls::VelocityVoltage &request)
Request PID to target velocity with voltage feedforward.
StatusSignal< double > & GetDifferentialClosedLoopDerivativeOutput()
Differential closed loop derivative component.
StatusSignal< bool > & GetStickyFault_ReverseHardLimit()
Reverse limit switch has been asserted.
ctre::phoenix::StatusCode SetControl(controls::VelocityDutyCycle &request)
Request PID to target velocity with duty cycle feedforward.
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_TorqueCurrentFOC_Position &&request)
Differential control with torque current average target and position difference target.
Definition: CoreTalonFX.hpp:8409
ctre::phoenix::StatusCode SetControl(controls::DynamicMotionMagicTorqueCurrentFOC &&request)
Requests Motion Magic® to target a final position using a motion profile.
Definition: CoreTalonFX.hpp:7931
ctre::phoenix::StatusCode ClearStickyFault_Hardware()
Clear sticky fault: Hardware fault occurred.
Definition: CoreTalonFX.hpp:8910
StatusSignal< bool > & GetFault_BridgeBrownout()
Bridge was disabled most likely due to supply voltage dropping too low.
StatusSignal< bool > & GetIsProLicensed()
Whether the device is Phoenix Pro licensed.
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_VelocityDutyCycle_Velocity &&request)
Differential control with velocity average target and velocity difference target using dutycycle cont...
Definition: CoreTalonFX.hpp:8127
StatusSignal< double > & GetClosedLoopReferenceSlope()
Derivative of the target that the closed loop is targeting.
StatusSignal< bool > & GetStickyFault_ForwardSoftLimit()
Forward soft limit has been asserted.
StatusSignal< bool > & GetFault_OverSupplyV()
Supply Voltage has exceeded the maximum voltage rating of device.
ctre::phoenix::StatusCode SetPosition(units::angle::turn_t newValue, units::time::second_t timeoutSeconds)
Sets the mechanism position of the device in mechanism rotations.
Definition: CoreTalonFX.hpp:8845
StatusSignal< units::angular_velocity::turns_per_second_t > & GetVelocity()
Velocity of the device in mechanism rotations per second.
ctre::phoenix::StatusCode SetControl(controls::DifferentialVelocityDutyCycle &&request)
Request PID to target velocity with a differential position setpoint.
Definition: CoreTalonFX.hpp:6331
StatusSignal< bool > & GetStickyFault_MissingDifferentialFX()
The remote Talon FX used for differential control is not present on CAN Bus.
ctre::phoenix::StatusCode SetControl(controls::DynamicMotionMagicDutyCycle &&request)
Requests Motion Magic® to target a final position using a motion profile.
Definition: CoreTalonFX.hpp:7717
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_PositionDutyCycle_Velocity &&request)
Differential control with position average target and velocity difference target using dutycycle cont...
Definition: CoreTalonFX.hpp:8099
ctre::phoenix::StatusCode SetControl(controls::MotionMagicDutyCycle &request)
Requests Motion Magic® to target a final position using a motion profile.
StatusSignal< int > & GetClosedLoopSlot()
Closed loop slot in use.
ctre::phoenix::StatusCode SetControl(controls::VelocityTorqueCurrentFOC &request)
Request PID to target velocity with torque current feedforward.
StatusSignal< signals::BridgeOutputValue > & GetBridgeOutput()
The applied output of the bridge.
StatusSignal< bool > & GetStickyFault_FusedSensorOutOfSync()
The remote sensor used for fusion has fallen out of sync to the local sensor.
StatusSignal< bool > & GetStickyFault_Undervoltage()
Device supply voltage dropped to near brownout levels.
StatusSignal< int > & GetFaultField()
Integer representing all faults.
StatusSignal< bool > & GetFault_UnstableSupplyV()
Supply Voltage is unstable.
StatusSignal< double > & GetClosedLoopProportionalOutput()
Closed loop proportional component.
StatusSignal< units::temperature::celsius_t > & GetProcessorTemp()
Temperature of the processor.
StatusSignal< bool > & GetStickyFault_ForwardHardLimit()
Forward limit switch has been asserted.
ctre::phoenix::StatusCode ClearStickyFault_ForwardHardLimit()
Clear sticky fault: Forward limit switch has been asserted.
Definition: CoreTalonFX.hpp:9198
ctre::phoenix::StatusCode SetControl(controls::MotionMagicDutyCycle &&request)
Requests Motion Magic® to target a final position using a motion profile.
Definition: CoreTalonFX.hpp:5657
StatusSignal< signals::ControlModeValue > & GetControlMode()
The active control mode of the motor controller.
StatusSignal< units::angle::turn_t > & GetDifferentialAveragePosition()
Average component of the differential position of device.
ctre::phoenix::StatusCode SetControl(controls::TorqueCurrentFOC &&request)
Request a specified motor current (field oriented control).
Definition: CoreTalonFX.hpp:4949
ctre::phoenix::StatusCode ClearStickyFault_BootDuringEnable()
Clear sticky fault: Device boot while detecting the enable signal.
Definition: CoreTalonFX.hpp:9002
ctre::phoenix::StatusCode SetControl(controls::TorqueCurrentFOC &request)
Request a specified motor current (field oriented control).
StatusSignal< bool > & GetFault_ForwardSoftLimit()
Forward soft limit has been asserted.
StatusSignal< int > & GetStickyFaultField()
Integer representing all sticky faults.
ctre::phoenix::StatusCode SetControl(controls::PositionVoltage &&request)
Request PID to target position with voltage feedforward.
Definition: CoreTalonFX.hpp:5213
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_PositionDutyCycle_Velocity &request)
Differential control with position average target and velocity difference target using dutycycle cont...
StatusSignal< bool > & GetFault_RemoteSensorDataInvalid()
The remote sensor's data is no longer trusted.
ctre::phoenix::StatusCode ClearStickyFault_Undervoltage(units::time::second_t timeoutSeconds)
Clear sticky fault: Device supply voltage dropped to near brownout levels.
Definition: CoreTalonFX.hpp:8966
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_VelocityTorqueCurrentFOC_Position &request)
Differential control with velocity average target and position difference target using torque current...
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_MotionMagicTorqueCurrentFOC_Position &request)
Differential control with Motion Magic® average target and position difference target using torque cu...
sim::TalonFXSimState & GetSimState()
Get the simulation state for this device.
Definition: CoreTalonFX.hpp:3378
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_VoltageOut_Velocity &&request)
Differential control with voltage average target and velocity difference target.
Definition: CoreTalonFX.hpp:8295
CoreTalonFX & operator=(CoreTalonFX const &)=delete
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_PositionVoltage_Position &request)
Differential control with position average target and position difference target using voltage contro...
ctre::phoenix::StatusCode ClearStickyFault_BridgeBrownout()
Clear sticky fault: Bridge was disabled most likely due to supply voltage dropping too low.
Definition: CoreTalonFX.hpp:9026
ctre::phoenix::StatusCode SetControl(controls::ControlRequest &request)
Control motor with generic control request object.
Definition: CoreTalonFX.hpp:8633
ctre::phoenix::StatusCode SetControl(controls::DifferentialPositionDutyCycle &request)
Request PID to target position with a differential position setpoint.
StatusSignal< signals::MotorTypeValue > & GetMotorType()
The type of motor attached to the Talon FX.
ctre::phoenix::StatusCode SetControl(controls::compound::Diff_DutyCycleOut_Velocity &request)
Differential control with duty cycle average target and velocity difference target.
ctre::phoenix::StatusCode ClearStickyFault_RemoteSensorDataInvalid()
Clear sticky fault: The remote sensor's data is no longer trusted.
Definition: CoreTalonFX.hpp:9276
ctre::phoenix::StatusCode SetControl(controls::DifferentialMotionMagicVoltage &&request)
Requests Motion Magic® to target a final position using a motion profile, and PID to a differential p...
Definition: CoreTalonFX.hpp:6649
ctre::phoenix::StatusCode SetControl(controls::DutyCycleOut &request)
Request a specified motor duty cycle.
ctre::phoenix::StatusCode SetControl(controls::DynamicMotionMagicDutyCycle &request)
Requests Motion Magic® to target a final position using a motion profile.
Class to control the state of a simulated hardware::TalonFX.
Definition: TalonFXSimState.hpp:33
Definition: string_util.hpp:15