This commit is contained in:
EdwardFaucher 2022-11-14 18:51:31 -05:00
parent 4c00d739a0
commit aaf5c7c033
2 changed files with 5 additions and 1 deletions

View File

@ -12,4 +12,7 @@ package frc.robot;
* <p>It is advised to statically import this class (or one of its inner classes) wherever the * <p>It is advised to statically import this class (or one of its inner classes) wherever the
* constants are needed, to reduce verbosity. * 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;
}

View File

@ -9,6 +9,7 @@ import edu.wpi.first.wpilibj.PneumaticsModuleType;
import edu.wpi.first.wpilibj2.command.SubsystemBase; import edu.wpi.first.wpilibj2.command.SubsystemBase;
public class Pousser extends SubsystemBase { public class Pousser extends SubsystemBase {
private DoubleSolenoid pousser = new DoubleSolenoid(PneumaticsModuleType.CTREPCM,0,1); private DoubleSolenoid pousser = new DoubleSolenoid(PneumaticsModuleType.CTREPCM,0,1);
/** Creates a new Pousser. */ /** Creates a new Pousser. */
public Pousser() {} public Pousser() {}