6namespace ctre {
namespace phoenix {
namespace led {
20class [[deprecated(
"This device's Phoenix 5 API is deprecated for removal in the 2027 season."
21 "Users should update to Phoenix 6 firmware and migrate to the Phoenix 6 API."
22 "A migration guide is available at https://v6.docs.ctr-electronics.com/en/stable/docs/migration/migration-guide/index.html")]]
54 LarsonAnimation(
int r,
int g,
int b,
int w = 0,
double speed = 1,
int numLed = -1,
BounceMode mode = BounceMode::Front,
int size = 2,
int ledOffset = 0);
The base class for one generic type of animation.
Definition BaseTwoSizeAnimation.h:24
Animation that sends a pocket of light across the LED strip.
Definition LarsonAnimation.h:23
LarsonAnimation(int r, int g, int b, int w=0, double speed=1, int numLed=-1, BounceMode mode=BounceMode::Front, int size=2, int ledOffset=0)
Constructor for a LarsonAnimation.
void SetBounceMode(BounceMode mode)
Sets the bounce mode of the animation.
void SetSize(int size)
Sets the size of the pocket of LEDs.
BounceMode
How the pocket of light behaves when it reaches the end of the strip.
Definition LarsonAnimation.h:28
WPI Compliant Pigeon class.
Definition PigeonIMU_StickyFaults.h:6