constexpr CANdleFeaturesConfigs & WithVBatOutputMode(signals::VBatOutputModeValue newVBatOutputMode)
Modifies this configuration's VBatOutputMode parameter and returns itself for method-chaining and eas...
Definition CANdleFeaturesConfigs.hpp:80
ctre::phoenix::StatusCode Deserialize(std::string const &to_deserialize) final
Deserialize this configuration from a string.
std::string ToString() const override
signals::Enable5VRailValue Enable5VRail
Whether the 5V rail is enabled.
Definition CANdleFeaturesConfigs.hpp:34
signals::VBatOutputModeValue VBatOutputMode
The behavior of the VBat output.
Definition CANdleFeaturesConfigs.hpp:41
constexpr CANdleFeaturesConfigs & WithStatusLedWhenActive(signals::StatusLedWhenActiveValue newStatusLedWhenActive)
Modifies this configuration's StatusLedWhenActive parameter and returns itself for method-chaining an...
Definition CANdleFeaturesConfigs.hpp:98
constexpr CANdleFeaturesConfigs()=default
std::string Serialize() const final
Serialize this configuration into a string.
signals::StatusLedWhenActiveValue StatusLedWhenActive
Whether the Status LED is enabled when the CANdle is actively being controlled.
Definition CANdleFeaturesConfigs.hpp:48
constexpr CANdleFeaturesConfigs & WithEnable5VRail(signals::Enable5VRailValue newEnable5VRail)
Modifies this configuration's Enable5VRail parameter and returns itself for method-chaining and easie...
Definition CANdleFeaturesConfigs.hpp:62
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
Whether the 5V rail is enabled.
Definition SpnEnums.hpp:3720
static constexpr int Enabled
The 5V rail is enabled, allowing for LED control.
Definition SpnEnums.hpp:3727
Whether the Status LED is enabled when the CANdle is actively being controlled.
Definition SpnEnums.hpp:3827
static constexpr int Enabled
The status LED is enabled during control.
Definition SpnEnums.hpp:3834
The behavior of the VBat output.
Definition SpnEnums.hpp:3771
static constexpr int On
VBat output is on at full power.
Definition SpnEnums.hpp:3778