This commit is contained in:
EdwardFaucher 2022-11-28 19:27:53 -05:00
parent 6f87b7c480
commit 04aafaf757
3 changed files with 6 additions and 6 deletions

View File

@ -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;

View File

@ -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.

View File

@ -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.