11#include <wpi/units/dimensionless.hpp>
signals::LossOfSignalBehaviorValue LossOfSignalBehavior
The behavior of the LEDs when the control signal is lost.
Definition LEDConfigs.hpp:50
constexpr LEDConfigs & WithStripType(signals::StripTypeValue newStripType)
Modifies this configuration's StripType parameter and returns itself for method-chaining and easier t...
Definition LEDConfigs.hpp:63
wpi::units::scalar_t BrightnessScalar
The brightness scalar for all LEDs controlled.
Definition LEDConfigs.hpp:44
signals::StripTypeValue StripType
The type of LEDs that are being controlled.
Definition LEDConfigs.hpp:34
std::string ToString() const override
constexpr LEDConfigs & WithBrightnessScalar(wpi::units::scalar_t newBrightnessScalar)
Modifies this configuration's BrightnessScalar parameter and returns itself for method-chaining and e...
Definition LEDConfigs.hpp:84
ctre::phoenix::StatusCode Deserialize(std::string const &to_deserialize) final
Deserialize this configuration from a string.
constexpr LEDConfigs & WithLossOfSignalBehavior(signals::LossOfSignalBehaviorValue newLossOfSignalBehavior)
Modifies this configuration's LossOfSignalBehavior parameter and returns itself for method-chaining a...
Definition LEDConfigs.hpp:101
std::string Serialize() const final
Serialize this configuration into a string.
constexpr LEDConfigs()=default
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
The behavior of the LEDs when the control signal is lost.
Definition SpnEnums.hpp:3669
static constexpr int KeepRunning
LEDs remain enabled, and animations continue to run.
Definition SpnEnums.hpp:3676
The type of LEDs that are being controlled.
Definition SpnEnums.hpp:3599
static constexpr int GRB
LEDs that are controlled by Green-Red-Blue values.
Definition SpnEnums.hpp:3606