- shooter = new CANTalon(Constants.Shooter.PORT);
- hood = new DoubleSolenoid(Constants.Shooter.HOOD_FORWARD,
- Constants.Shooter.HOOD_REVERSE);
- punch = new DoubleSolenoid(Constants.Shooter.PUNCH_FORWARD,
- Constants.Shooter.PUNCH_REVERSE);
-
- encoder = new Encoder(Constants.Shooter.ENCODER_PORT_A,
- Constants.Shooter.ENCODER_PORT_B, false, EncodingType.k4X);
-
- lidar = new Lidar(I2C.Port.kMXP);
+ catapult1 = new DoubleSolenoid(Constants.Shooter.CATAPULT1_MODULE,
+ Constants.Shooter.CATAPULT1_FORWARD,
+ Constants.Shooter.CATAPULT1_REVERSE);
+ catapult2 = new DoubleSolenoid(Constants.Shooter.CATAPULT2_MODULE,
+ Constants.Shooter.CATAPULT2_FORWARD,
+ Constants.Shooter.CATAPULT2_REVERSE);
+ usePhotoGate = false;