Class BouncingBalls

java.lang.Object
edu.wpi.first.wpilibj2.command.Command
frc.robot.commands.leds.BouncingBalls
All Implemented Interfaces:
Sendable

public class BouncingBalls extends Command
Command to move LEDs back and forth like a Cylon eye
  • Constructor Details

    • BouncingBalls

      public BouncingBalls(LEDs leds, int ballCount, Color[] colors, int startHeight)
      Command to create a bouncing ball effect
      Parameters:
      leds - The LED Subsystem.
      ballCount - The number of balls.
      colors - The color of the balls.
      startHeight - The height from which to drop the balls
    • BouncingBalls

      public BouncingBalls(LEDs leds, int ballCount, Color[] colors)
      Command to create a bouncing ball effect
      Parameters:
      leds - The LED Subsystem.
      ballCount - The number of balls.
      colors - The color of the balls.
    • BouncingBalls

      public BouncingBalls(LEDs leds, int ballCount)
      Command to create a bouncing ball effect
      Parameters:
      leds - The LED Subsystem.
      ballCount - The number of balls.
    • BouncingBalls

      public BouncingBalls(LEDs leds)
      Command to create a bouncing ball effect
      Parameters:
      leds - The LED Subsystem.
  • Method Details