diff --git a/src/main/java/frc/robot/commands/Deaccumuler.java b/src/main/java/frc/robot/commands/Deaccumuler.java index 4602e13..5342314 100644 --- a/src/main/java/frc/robot/commands/Deaccumuler.java +++ b/src/main/java/frc/robot/commands/Deaccumuler.java @@ -21,7 +21,7 @@ public class Deaccumuler extends CommandBase { // Called every time the scheduler runs while the command is scheduled. @Override public void execute() { - accumulateur.Deaccumuler(0.5); + } // Called once the command ends or is interrupted. diff --git a/src/main/java/frc/robot/subsystems/Accumulateur.java b/src/main/java/frc/robot/subsystems/Accumulateur.java index 823e9e0..8d753d3 100644 --- a/src/main/java/frc/robot/subsystems/Accumulateur.java +++ b/src/main/java/frc/robot/subsystems/Accumulateur.java @@ -18,8 +18,8 @@ public class Accumulateur extends SubsystemBase { public Accumulateur() { } - public void Deaccumuler(double vitesse){ - moteuracc.set(vitesse); + public void Deaccumuler(){ + moteuracc.set(0.5); } public boolean limit(){