private double currentShootingSpeed = DEFAULT_SHOOTING_SPEED;
+ private DoubleSolenoid piston;
+
private Shooter() {
flyWheel1 = new CANTalon(Constants.Shooter.FLY_WHEEL1);
flyWheel2 = new CANTalon(Constants.Shooter.FLY_WHEEL2);
indexWheel = new CANTalon(Constants.Shooter.INDEX_WHEEL);
hallEffect = new HallEffectSensor(Constants.Shooter.HALL_EFFECT_PORT, 1);
+
+ piston = new DoubleSolenoid(Constants.Shooter.PISTON_MODULE,
+ Constants.Shooter.PISTON_FORWARD, Constants.Shooter.PISTON_REVERSE);
}
/**