ajout du piston bloqueur
This commit is contained in:
parent
18a235dae8
commit
ea2d2aa2af
@ -19,4 +19,6 @@ public final class Constants {
|
|||||||
public static final int PistonPousserF = 1;
|
public static final int PistonPousserF = 1;
|
||||||
public static final int pistonQuiShakef = 0;
|
public static final int pistonQuiShakef = 0;
|
||||||
public static final int pistonQuiShakeb = 1;
|
public static final int pistonQuiShakeb = 1;
|
||||||
|
public static final int pistonBloqueurR = 2;
|
||||||
|
public static final int pistonBloqueurF = 3;
|
||||||
}
|
}
|
||||||
|
@ -11,6 +11,7 @@ import frc.robot.Constants;
|
|||||||
|
|
||||||
public class Poussoir extends SubsystemBase {
|
public class Poussoir extends SubsystemBase {
|
||||||
private DoubleSolenoid pousser = new DoubleSolenoid(PneumaticsModuleType.CTREPCM,Constants.PistonPousserR,Constants.PistonPousserF );
|
private DoubleSolenoid pousser = new DoubleSolenoid(PneumaticsModuleType.CTREPCM,Constants.PistonPousserR,Constants.PistonPousserF );
|
||||||
|
private DoubleSolenoid bloqueur = new DoubleSolenoid(PneumaticsModuleType.CTREPCM,Constants.pistonBloqueurR,Constants.pistonBloqueurF);
|
||||||
|
|
||||||
/** Creates a new Poussoir. */
|
/** Creates a new Poussoir. */
|
||||||
public Poussoir() {
|
public Poussoir() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user