diff --git a/src/main/java/frc/robot/Constants.java b/src/main/java/frc/robot/Constants.java index a81f983..ef9205f 100644 --- a/src/main/java/frc/robot/Constants.java +++ b/src/main/java/frc/robot/Constants.java @@ -15,10 +15,10 @@ package frc.robot; * constants are needed, to reduce verbosity. */ public final class Constants { - public static final int MoteurAvantGauche = (0); - public static final int MoteurAvantDroit = (3); - public static final int MoteurArriereGauche = (2); - public static final int MoteurArriereDroit = (1); + public static final int MoteurAvantGauche = (14); + public static final int MoteurAvantDroit = (15); + public static final int MoteurArriereGauche = (12); + public static final int MoteurArriereDroit = (13); public static final int PistonPousserR = 0; public static final int PistonPousserF = 1; diff --git a/src/main/java/frc/robot/commands/ActiverBlockeur.java b/src/main/java/frc/robot/commands/ActiverBlockeur.java index c352de2..01e2405 100644 --- a/src/main/java/frc/robot/commands/ActiverBlockeur.java +++ b/src/main/java/frc/robot/commands/ActiverBlockeur.java @@ -21,7 +21,7 @@ public class ActiverBlockeur extends CommandBase { @Override public void initialize() { - poussoir.bloquer(); + poussoir.debloque(); } // Called every time the scheduler runs while the command is scheduled. diff --git a/src/main/java/frc/robot/commands/Activer_poussoir.java b/src/main/java/frc/robot/commands/Activer_poussoir.java index 2cec736..6ade020 100644 --- a/src/main/java/frc/robot/commands/Activer_poussoir.java +++ b/src/main/java/frc/robot/commands/Activer_poussoir.java @@ -20,7 +20,7 @@ public class Activer_poussoir extends CommandBase { // Called when the command is initially scheduled. @Override public void initialize() { - poussoir.pousser(); + poussoir.tirer(); } // Called once the command ends or is interrupted.