From c5082a9ae0222e04d7adc254c46b3ca8ead3b5f8 Mon Sep 17 00:00:00 2001 From: suryatho Date: Thu, 15 Feb 2024 00:24:03 -0500 Subject: [PATCH] Added LinearProfile.java Use LinearProfile for flywheels --- src/main/java/org/littletonrobotics/frc2024/RobotContainer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/littletonrobotics/frc2024/RobotContainer.java b/src/main/java/org/littletonrobotics/frc2024/RobotContainer.java index 0cbb9363..95715d10 100644 --- a/src/main/java/org/littletonrobotics/frc2024/RobotContainer.java +++ b/src/main/java/org/littletonrobotics/frc2024/RobotContainer.java @@ -211,7 +211,7 @@ private void configureButtonBindings() { new Trigger( () -> drive.isAutoAimGoalCompleted() - && flywheels.atSetpoint() + && flywheels.atGoal() && superstructure.atArmSetpoint()); readyToShootTrigger .whileTrue(