Class BlingCageSwitchActive

java.lang.Object
edu.wpi.first.wpilibj2.command.Command
frc.alotobots.library.subsystems.bling.commands.BlingCageSwitchActive
All Implemented Interfaces:
Sendable

public class BlingCageSwitchActive extends Command
Command that displays the Coral Wants Piece animation until a piece is detected. Should be ran in a race group.
  • Constructor Details

    • BlingCageSwitchActive

      public BlingCageSwitchActive(BlingSubsystem blingSubsystem, BooleanSupplier switchesActive)
      Creates a new BlingCoralWantsPiece command.
      Parameters:
      blingSubsystem - The bling subsystem to use
  • Method Details

    • execute

      public void execute()
      Overrides:
      execute in class Command
    • isFinished

      public boolean isFinished()
      Overrides:
      isFinished in class Command
    • end

      public void end(boolean interrupted)
      Overrides:
      end in class Command