From 341581e04618bd66f0ca0f175cc84b9b6f67425b Mon Sep 17 00:00:00 2001 From: Antoine PerreaultE Date: Sat, 2 Dec 2023 10:13:09 -0500 Subject: [PATCH] changement --- src/main/java/frc/robot/commands/Force1.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/frc/robot/commands/Force1.java b/src/main/java/frc/robot/commands/Force1.java index 7b3cb09..78ccfd6 100644 --- a/src/main/java/frc/robot/commands/Force1.java +++ b/src/main/java/frc/robot/commands/Force1.java @@ -37,8 +37,10 @@ public class Force1 extends CommandBase { double vitesse = (100); if (lanceur.vitesse() > vitesse ){ accumulateur.tourneavant(); + accumulateur.Deaccumuler(); if(accumulateur.tourneavant()>1024) { accumulateur.tournearriere(); + accumulateur.reaccumuler(); } if(accumulateur.tournearriere()>-256){ accumulateur.stop();