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