Merge branch 'main' of https://demerso.net/pls5618/2023/betabots
This commit is contained in:
commit
cb8e916d07
@ -24,4 +24,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