Package org.team1126.robot.subsystems
Class Lights.Sides
java.lang.Object
org.team1126.lib.util.command.GRRSubsystem
org.team1126.robot.subsystems.Lights.Sides
- All Implemented Interfaces:
edu.wpi.first.wpilibj2.command.Subsystem
- Enclosing class:
Lights
-
Method Summary
Modifier and TypeMethodDescriptionedu.wpi.first.wpilibj2.command.CommandclimbPercent(DoubleSupplier percent) Displays the percentage of the climber deploy position.edu.wpi.first.wpilibj2.command.Commandflames(boolean allianceColors) Displays the flames animation.edu.wpi.first.wpilibj2.command.Commandoff()Turns the lights off.edu.wpi.first.wpilibj2.command.CommandpreMatch(BooleanSupplier defaultAuto) 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
-
climbPercent
Displays the percentage of the climber deploy position.- Parameters:
percent- The climber's distance from the deploy position as a percent from [0.0, 1.0].
-
flames
public edu.wpi.first.wpilibj2.command.Command flames(boolean allianceColors) Displays the flames animation. -
preMatch
Displays the pre-match animation.- Parameters:
defaultAuto- If the default auto is selected.
-
off
public edu.wpi.first.wpilibj2.command.Command off()Turns the lights off.
-