Package org.team1126.robot.subsystems
Class Lights.Top
java.lang.Object
org.team1126.lib.util.command.GRRSubsystem
org.team1126.robot.subsystems.Lights.Top
- All Implemented Interfaces:
edu.wpi.first.wpilibj2.command.Subsystem
- Enclosing class:
Lights
-
Method Summary
Modifier and TypeMethodDescriptionedu.wpi.first.wpilibj2.command.Commandclimbing(BooleanSupplier isDeployed) Displays the climbing animation.edu.wpi.first.wpilibj2.command.CommandDisplays that the goose has been killed.edu.wpi.first.wpilibj2.command.Commandoff()Turns the lights off.edu.wpi.first.wpilibj2.command.CommandpreMatch(Supplier<edu.wpi.first.math.geometry.Pose2d> robotPose, BooleanSupplier seesAprilTag) Displays the pre-match animation.Methods inherited from class org.team1126.lib.util.command.GRRSubsystem
commandBuilder, commandBuilderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface edu.wpi.first.wpilibj2.command.Subsystem
defer, getCurrentCommand, getDefaultCommand, getName, idle, periodic, register, removeDefaultCommand, run, runEnd, runOnce, setDefaultCommand, simulationPeriodic, startEnd, startRun
-
Method Details
-
gooseAssassination
public edu.wpi.first.wpilibj2.command.Command gooseAssassination()Displays that the goose has been killed. -
preMatch
public edu.wpi.first.wpilibj2.command.Command preMatch(Supplier<edu.wpi.first.math.geometry.Pose2d> robotPose, BooleanSupplier seesAprilTag) Displays the pre-match animation.- Parameters:
robotPose- The robot's current pose.seesAprilTag- If the robot has seen an AprilTag since the last loop.
-
climbing
Displays the climbing animation. -
off
public edu.wpi.first.wpilibj2.command.Command off()Turns the lights off.
-