yfucyjvh
This commit is contained in:
parent
6f87b7c480
commit
04aafaf757
@ -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;
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user