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; } }