Class BlingAlgaeWantsPiece
java.lang.Object
edu.wpi.first.wpilibj2.command.Command
frc.alotobots.library.subsystems.bling.commands.BlingAlgaeWantsPiece
- All Implemented Interfaces:
Sendable
Command that displays the Algae Wants Piece animation until a piece is detected. Should be ran in
a race group.
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.wpi.first.wpilibj2.command.Command
Command.InterruptionBehavior
-
Constructor Summary
ConstructorsConstructorDescriptionBlingAlgaeWantsPiece
(BlingSubsystem blingSubsystem) Creates a new BlingAlgaeWantsPiece command. -
Method Summary
Methods inherited from class edu.wpi.first.wpilibj2.command.Command
addRequirements, addRequirements, alongWith, andThen, andThen, asProxy, beforeStarting, beforeStarting, cancel, deadlineFor, deadlineWith, execute, finallyDo, finallyDo, getInterruptionBehavior, getName, getRequirements, getSubsystem, handleInterrupt, hasRequirement, ignoringDisable, initSendable, isScheduled, onlyIf, onlyWhile, raceWith, repeatedly, runsWhenDisabled, schedule, setName, setSubsystem, unless, until, withDeadline, withInterruptBehavior, withName, withTimeout, withTimeout
-
Constructor Details
-
BlingAlgaeWantsPiece
Creates a new BlingAlgaeWantsPiece command.- Parameters:
blingSubsystem
- The bling subsystem to use
-
-
Method Details
-
initialize
public void initialize()- Overrides:
initialize
in classCommand
-
isFinished
public boolean isFinished()- Overrides:
isFinished
in classCommand
-
end
public void end(boolean interrupted)
-