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

public final class Lights.Top extends GRRSubsystem
  • Method Summary

    Modifier and Type
    Method
    Description
    edu.wpi.first.wpilibj2.command.Command
    Displays the climbing animation.
    edu.wpi.first.wpilibj2.command.Command
    Displays that the goose has been killed.
    edu.wpi.first.wpilibj2.command.Command
    off()
    Turns the lights off.
    edu.wpi.first.wpilibj2.command.Command
    preMatch(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, 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

    • 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

      public edu.wpi.first.wpilibj2.command.Command climbing(BooleanSupplier isDeployed)
      Displays the climbing animation.
    • off

      public edu.wpi.first.wpilibj2.command.Command off()
      Turns the lights off.