Package org.team1126.robot.subsystems
Class Lights
java.lang.Object
org.team1126.robot.subsystems.Lights
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionedu.wpi.first.wpilibj2.command.CommandpreMatch(Supplier<edu.wpi.first.math.geometry.Pose2d> robotPose, BooleanSupplier seesAprilTag, BooleanSupplier defaultAuto) Displays the pre-match animation.voidupdate()
-
Field Details
-
sides
-
top
-
-
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.
-