diff --git a/src/main/java/frc/robot/Constants.java b/src/main/java/frc/robot/Constants.java index 033c72d..c137333 100644 --- a/src/main/java/frc/robot/Constants.java +++ b/src/main/java/frc/robot/Constants.java @@ -12,4 +12,7 @@ package frc.robot; *

It is advised to statically import this class (or one of its inner classes) wherever the * constants are needed, to reduce verbosity. */ -public final class Constants {} +public final class Constants { + public static final int PistonPousserR = 0; + public static final int PistonPousserF = 1; +} diff --git a/src/main/java/frc/robot/subsystems/Pousser.java b/src/main/java/frc/robot/subsystems/Pousser.java index 5627d26..2c3b985 100644 --- a/src/main/java/frc/robot/subsystems/Pousser.java +++ b/src/main/java/frc/robot/subsystems/Pousser.java @@ -9,6 +9,7 @@ import edu.wpi.first.wpilibj.PneumaticsModuleType; import edu.wpi.first.wpilibj2.command.SubsystemBase; public class Pousser extends SubsystemBase { + private DoubleSolenoid pousser = new DoubleSolenoid(PneumaticsModuleType.CTREPCM,0,1); /** Creates a new Pousser. */ public Pousser() {}