From aa296810489c49545b66b37faf85e4f631eba6a6 Mon Sep 17 00:00:00 2001 From: OlivierDubois Date: Tue, 31 Oct 2023 18:10:11 -0400 Subject: [PATCH] enleve ligne inutile --- src/main/java/frc/robot/commands/Deaccumuler.java | 2 +- src/main/java/frc/robot/subsystems/Accumulateur.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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(){