11#include <units/dimensionless.h>
Configs related to CANdle LED control.
Definition LEDConfigs.hpp:25
signals::LossOfSignalBehaviorValue LossOfSignalBehavior
The behavior of the LEDs when the control signal is lost.
Definition LEDConfigs.hpp:48
constexpr LEDConfigs & WithStripType(signals::StripTypeValue newStripType)
Modifies this configuration's StripType parameter and returns itself for method-chaining and easier t...
Definition LEDConfigs.hpp:60
constexpr LEDConfigs & WithBrightnessScalar(units::dimensionless::scalar_t newBrightnessScalar)
Modifies this configuration's BrightnessScalar parameter and returns itself for method-chaining and e...
Definition LEDConfigs.hpp:81
signals::StripTypeValue StripType
The type of LEDs that are being controlled.
Definition LEDConfigs.hpp:33
std::string ToString() const override
units::dimensionless::scalar_t BrightnessScalar
The brightness scalar for all LEDs controlled.
Definition LEDConfigs.hpp:43
ctre::phoenix::StatusCode Deserialize(std::string const &to_deserialize) final
constexpr LEDConfigs & WithLossOfSignalBehavior(signals::LossOfSignalBehaviorValue newLossOfSignalBehavior)
Modifies this configuration's LossOfSignalBehavior parameter and returns itself for method-chaining a...
Definition LEDConfigs.hpp:97
std::string Serialize() const final
constexpr LEDConfigs()=default
Definition Configuration.hpp:17
Definition motor_constants.h:14
The behavior of the LEDs when the control signal is lost.
Definition SpnEnums.hpp:3843
static constexpr int KeepRunning
LEDs remain enabled, and animations continue to run.
Definition SpnEnums.hpp:3849
The type of LEDs that are being controlled.
Definition SpnEnums.hpp:3769
static constexpr int GRB
LEDs that are controlled by Green-Red-Blue values.
Definition SpnEnums.hpp:3775