Class Lights

java.lang.Object
org.team1126.robot.subsystems.Lights

public final class Lights extends Object
  • Field Details

  • Constructor Details

    • Lights

      public Lights()
  • Method Details

    • update

      public void update()
    • preMatch

      public edu.wpi.first.wpilibj2.command.Command preMatch(Supplier<edu.wpi.first.math.geometry.Pose2d> robotPose, BooleanSupplier seesAprilTag, BooleanSupplier defaultAuto)
      Displays the pre-match animation.
      Parameters:
      robotPose - The robot's current pose.
      seesAprilTag - If the robot has seen an AprilTag since the last loop.
      defaultAuto - If the default auto is selected.