std::string ToString() const override
constexpr CommutationConfigs & WithAdvancedHallSupport(signals::AdvancedHallSupportValue newAdvancedHallSupport)
Modifies this configuration's AdvancedHallSupport parameter and returns itself for method-chaining an...
Definition CommutationConfigs.hpp:74
signals::BrushedMotorWiringValue BrushedMotorWiring
If a brushed motor is selected with Motor Arrangement, this config determines which of three leads to...
Definition CommutationConfigs.hpp:57
signals::AdvancedHallSupportValue AdvancedHallSupport
Requires Phoenix Pro; Improves commutation and velocity measurement for motors with hall sensors.
Definition CommutationConfigs.hpp:37
ctre::phoenix::StatusCode Deserialize(std::string const &to_deserialize) final
Deserialize this configuration from a string.
signals::MotorArrangementValue MotorArrangement
Selects the motor and motor connections used with Talon.
Definition CommutationConfigs.hpp:50
constexpr CommutationConfigs()=default
constexpr CommutationConfigs & WithBrushedMotorWiring(signals::BrushedMotorWiringValue newBrushedMotorWiring)
Modifies this configuration's BrushedMotorWiring parameter and returns itself for method-chaining and...
Definition CommutationConfigs.hpp:116
constexpr CommutationConfigs & WithMotorArrangement(signals::MotorArrangementValue newMotorArrangement)
Modifies this configuration's MotorArrangement parameter and returns itself for method-chaining and e...
Definition CommutationConfigs.hpp:98
std::string Serialize() const final
Serialize this configuration into a string.
Common interface for all configuration objects.
Definition Configuration.hpp:20
Definition ExternalFeedbackConfigs.hpp:21
Definition ExternalFeedbackConfigs.hpp:16
Definition StatusCodes.h:22
Definition motor_constants.h:14
Requires Phoenix Pro; Improves commutation and velocity measurement for motors with hall sensors.
Definition SpnEnums.hpp:2649
static constexpr int Disabled
Talon will utilize hall sensors without advanced features.
Definition SpnEnums.hpp:2656
If a brushed motor is selected with Motor Arrangement, this config determines which of three leads to...
Definition SpnEnums.hpp:3520
static constexpr int Leads_A_and_B
Third party brushed DC motor with two leads.
Definition SpnEnums.hpp:3535
Selects the motor and motor connections used with Talon.
Definition SpnEnums.hpp:2709
static constexpr int Disabled
Motor is not selected.
Definition SpnEnums.hpp:2718