Package frc.robot.commands.leds
Class MeteorRain
java.lang.Object
edu.wpi.first.wpilibj2.command.Command
frc.robot.commands.leds.MeteorRain
- All Implemented Interfaces:
Sendable
Command to move LEDs back and forth like a Cylon eye
Doesn't really work
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.wpi.first.wpilibj2.command.Command
Command.InterruptionBehavior -
Field Summary
Fields inherited from class edu.wpi.first.wpilibj2.command.Command
m_requirements -
Constructor Summary
ConstructorsConstructorDescriptionMeteorRain(LEDs leds) Create a Meteor Rain effect like https://www.tweaking4all.com/hardware/arduino/adruino-led-strip-effects/#LEDStripEffectMeteorRain -
Method Summary
Methods inherited from class edu.wpi.first.wpilibj2.command.Command
addRequirements, alongWith, andThen, andThen, asProxy, beforeStarting, beforeStarting, cancel, deadlineWith, end, finallyDo, finallyDo, getInterruptionBehavior, getName, getRequirements, getSubsystem, handleInterrupt, hasRequirement, ignoringDisable, initSendable, isFinished, isScheduled, onlyIf, onlyWhile, raceWith, repeatedly, schedule, setName, setSubsystem, unless, until, withInterruptBehavior, withName, withTimeout
-
Constructor Details
-
MeteorRain
Create a Meteor Rain effect like https://www.tweaking4all.com/hardware/arduino/adruino-led-strip-effects/#LEDStripEffectMeteorRain- Parameters:
leds- The LED subsystem
-
-
Method Details
-
initialize
public void initialize()- Overrides:
initializein classCommand
-
execute
public void execute() -
runsWhenDisabled
public boolean runsWhenDisabled()- Overrides:
runsWhenDisabledin classCommand
-