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

public final class Lights.Sides extends GRRSubsystem
  • Method Summary

    Modifier and Type
    Method
    Description
    edu.wpi.first.wpilibj2.command.Command
    Displays the percentage of the climber deploy position.
    edu.wpi.first.wpilibj2.command.Command
    flames(boolean allianceColors)
    Displays the flames animation.
    edu.wpi.first.wpilibj2.command.Command
    off()
    Turns the lights off.
    edu.wpi.first.wpilibj2.command.Command
    Displays the pre-match animation.

    Methods inherited from class org.team1126.lib.util.command.GRRSubsystem

    commandBuilder, commandBuilder

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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

      public edu.wpi.first.wpilibj2.command.Command climbPercent(DoubleSupplier percent)
      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

      public edu.wpi.first.wpilibj2.command.Command preMatch(BooleanSupplier defaultAuto)
      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.