Configs related to general CANdle features.
Definition CANdleFeaturesConfigs.hpp:24
constexpr CANdleFeaturesConfigs & WithVBatOutputMode(signals::VBatOutputModeValue newVBatOutputMode)
Modifies this configuration's VBatOutputMode parameter and returns itself for method-chaining and eas...
Definition CANdleFeaturesConfigs.hpp:75
ctre::phoenix::StatusCode Deserialize(std::string const &to_deserialize) final
std::string ToString() const override
signals::Enable5VRailValue Enable5VRail
Whether the 5V rail is enabled.
Definition CANdleFeaturesConfigs.hpp:33
signals::VBatOutputModeValue VBatOutputMode
The behavior of the VBat output.
Definition CANdleFeaturesConfigs.hpp:39
constexpr CANdleFeaturesConfigs & WithStatusLedWhenActive(signals::StatusLedWhenActiveValue newStatusLedWhenActive)
Modifies this configuration's StatusLedWhenActive parameter and returns itself for method-chaining an...
Definition CANdleFeaturesConfigs.hpp:92
constexpr CANdleFeaturesConfigs()=default
std::string Serialize() const final
signals::StatusLedWhenActiveValue StatusLedWhenActive
Whether the Status LED is enabled when the CANdle is actively being controlled.
Definition CANdleFeaturesConfigs.hpp:45
constexpr CANdleFeaturesConfigs & WithEnable5VRail(signals::Enable5VRailValue newEnable5VRail)
Modifies this configuration's Enable5VRail parameter and returns itself for method-chaining and easie...
Definition CANdleFeaturesConfigs.hpp:58
Definition Configuration.hpp:17
Definition motor_constants.h:14
Whether the 5V rail is enabled.
Definition SpnEnums.hpp:3898
static constexpr int Enabled
The 5V rail is enabled, allowing for LED control.
Definition SpnEnums.hpp:3904
Whether the Status LED is enabled when the CANdle is actively being controlled.
Definition SpnEnums.hpp:4013
static constexpr int Enabled
The status LED is enabled during control.
Definition SpnEnums.hpp:4019
The behavior of the VBat output.
Definition SpnEnums.hpp:3953
static constexpr int On
VBat output is on at full power.
Definition SpnEnums.hpp:3959