6namespace ctre{
namespace phoenix{
namespace led{
8class BaseStandardAnimation;
9class BaseTwoSizeAnimation;
15 int _animationIdx, _numLed, _ledOffset;
25 Animation(
int idx,
double speed,
int numLed,
int ledOffset);
The base class for all animations that CANdle supports.
Definition Animation.h:14
void SetSpeed(double speed)
Sets the speed of the animation.
virtual BaseTwoSizeAnimation * GetBaseTwoSizeAnimation()=0
void SetNumLed(int numLed)
Sets the number of LEDs the animation will run on.
Animation(int idx, double speed, int numLed, int ledOffset)
Constructor for an Animation class.
void SetLedOffset(int ledOffset)
Sets where the animation starts along the strip.
virtual BaseStandardAnimation * GetBaseStandardAnimation()=0
The base class for one generic type of animation.
Definition BaseStandardAnimation.h:12
The base class for one generic type of animation.
Definition BaseTwoSizeAnimation.h:12
WPI Compliant CANcoder class.
Definition CANCoderStatusFrame.h:4