From 61a0cb96104a2a0b874cdac5ac28fc22212f8ac3 Mon Sep 17 00:00:00 2001 From: samuel desharnais Date: Sat, 2 Dec 2023 09:39:38 -0500 Subject: [PATCH] gfgn --- src/main/java/frc/robot/commands/Force1.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/frc/robot/commands/Force1.java b/src/main/java/frc/robot/commands/Force1.java index eb3604a..7b3cb09 100644 --- a/src/main/java/frc/robot/commands/Force1.java +++ b/src/main/java/frc/robot/commands/Force1.java @@ -52,11 +52,12 @@ public class Force1 extends CommandBase { @Override public void end(boolean interrupted) { lanceur.lancer(0); + accumulateur.stop(); } // Returns true when the command should end. @Override public boolean isFinished() { - return accumulateur.tournearriere()>-256; + return false; } }