11#include <wpi/units/frequency.hpp>
12#include <wpi/units/time.hpp>
22 ctre::phoenix::StatusCode SendRequest(
const char *network, uint32_t deviceHash, std::shared_ptr<ControlRequest> &req)
const override;
78 constexpr std::string_view
GetName()
const override
126 Color = std::move(newColor);
constexpr ControlRequest(ControlRequest const &)=default
int LEDStartIndex
The index of the first LED this animation controls (inclusive).
Definition SolidColor.hpp:30
std::map< std::string_view, std::string > GetControlInfo() const override
Gets information about this control request.
constexpr SolidColor & WithLEDStartIndex(int newLEDStartIndex)
Modifies this Control Request's LEDStartIndex parameter and returns itself for method-chaining and ea...
Definition SolidColor.hpp:93
constexpr SolidColor(int LEDStartIndex, int LEDEndIndex)
The frequency at which this control will update.
Definition SolidColor.hpp:66
int LEDEndIndex
The index of the last LED this animation controls (inclusive).
Definition SolidColor.hpp:35
constexpr SolidColor & WithColor(signals::RGBWColor newColor)
Modifies this Control Request's Color parameter and returns itself for method-chaining and easier to ...
Definition SolidColor.hpp:124
constexpr SolidColor & WithLEDEndIndex(int newLEDEndIndex)
Modifies this Control Request's LEDEndIndex parameter and returns itself for method-chaining and easi...
Definition SolidColor.hpp:109
constexpr ~SolidColor() override
Definition SolidColor.hpp:71
constexpr std::string_view GetName() const override
Gets the name of this control request.
Definition SolidColor.hpp:78
std::string ToString() const override
Returns a string representation of the object.
signals::RGBWColor Color
The color to apply to the LEDs.
Definition SolidColor.hpp:39
constexpr SolidColor & WithUpdateFreqHz(wpi::units::hertz_t newUpdateFreqHz)
Sets the frequency at which this control will update.
Definition SolidColor.hpp:146
Represents an RGBW color that can be applied to an LED.
Definition RGBWColor.hpp:27
Status codes reported by APIs, including OK, warnings, and errors.
Definition StatusCodes.h:28
Definition MotionMagicDutyCycle.hpp:17
Definition ExternalFeedbackConfigs.hpp:16
Definition motor_constants.h:14