From 3e483c1b17d768d234ef2a6b803999b1b22062ce Mon Sep 17 00:00:00 2001 From: Antoine PerreaultE Date: Sat, 2 Dec 2023 11:20:25 -0500 Subject: [PATCH] j --- src/main/java/frc/robot/RobotContainer.java | 8 ++++---- src/main/java/frc/robot/commands/Force1.java | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index 08ea78e..4dbf80d 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -78,7 +78,7 @@ public class RobotContainer { } public Command getAutonomousCommand() { - return new SequentialCommandGroup(new Avancer(drive), new Force7(lanceur, force7, accumulateur) - , new Force1(lanceur, accumulateur, force1), new Reculer(drive)); - } -} + /* return new SequentialCommandGroup(new Avancer(drive), new Force7(lanceur, force7, accumulateur) + , new Force1(lanceur, accumulateur, force1), new Reculer(drive));*/ + return null;} +} \ No newline at end of file diff --git a/src/main/java/frc/robot/commands/Force1.java b/src/main/java/frc/robot/commands/Force1.java index 78ccfd6..b863e74 100644 --- a/src/main/java/frc/robot/commands/Force1.java +++ b/src/main/java/frc/robot/commands/Force1.java @@ -42,7 +42,7 @@ public class Force1 extends CommandBase { accumulateur.tournearriere(); accumulateur.reaccumuler(); } - if(accumulateur.tournearriere()>-256){ + if(accumulateur.tournearriere()<-256){ accumulateur.stop(); } }}