ajout du piston bloqueur
This commit is contained in:
		| @@ -19,4 +19,6 @@ public final class Constants { | ||||
|     public static final int PistonPousserF = 1; | ||||
|     public static final int pistonQuiShakef = 0; | ||||
|     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 { | ||||
|   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. */ | ||||
|   public Poussoir() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user