From 6db27fce9ccc1ddd7fc98f92a95eab1b3a04b432 Mon Sep 17 00:00:00 2001 From: Antoine PerreaultE Date: Tue, 5 Dec 2023 20:25:11 -0500 Subject: [PATCH] mode auto --- src/main/java/frc/robot/commands/Avancer.java | 2 +- src/main/java/frc/robot/commands/LanceurAuto.java | 2 +- src/main/java/frc/robot/subsystems/Accumulateur.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/frc/robot/commands/Avancer.java b/src/main/java/frc/robot/commands/Avancer.java index 42e9c70..8701962 100644 --- a/src/main/java/frc/robot/commands/Avancer.java +++ b/src/main/java/frc/robot/commands/Avancer.java @@ -38,7 +38,7 @@ public class Avancer extends CommandBase { // Called every time the scheduler runs while the command is scheduled. @Override public void execute() { - drive.drive(0.5, -0.2, 0); + drive.drive(0.5, 0.2, 0); } // Called once the command ends or is interrupted. diff --git a/src/main/java/frc/robot/commands/LanceurAuto.java b/src/main/java/frc/robot/commands/LanceurAuto.java index 24fbad4..843e131 100644 --- a/src/main/java/frc/robot/commands/LanceurAuto.java +++ b/src/main/java/frc/robot/commands/LanceurAuto.java @@ -24,7 +24,7 @@ public class LanceurAuto extends CommandBase { // Called every time the scheduler runs while the command is scheduled. @Override public void execute() { - lanceur.lancer(0.6); + lanceur.lancer(0.75); } // 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 facaa88..7a6efb3 100644 --- a/src/main/java/frc/robot/subsystems/Accumulateur.java +++ b/src/main/java/frc/robot/subsystems/Accumulateur.java @@ -21,7 +21,7 @@ public class Accumulateur extends SubsystemBase { moteuracc.set(0.5); } public void reaccumuler(){ - moteuracc.set(-0.5); + moteuracc.set(-0.7); } public double tourneavant(){ return(moteuracc.getSelectedSensorPosition());