Correct ports
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / subsystems / Shooter.java
index 6e0c7acfb443a9106e46ed27d0c40e985732ebf4..7b6ef174bd3cc046ade23a65c00695c7a99862cd 100755 (executable)
@@ -30,11 +30,11 @@ public class Shooter extends Subsystem {
 
   public Shooter() {
     shooter = new CANTalon(Constants.Shooter.PORT);
-    hood1 = new DoubleSolenoid(Constants.Shooter.HOOD_FORWARD,
-        Constants.Shooter.HOOD_REVERSE);
-    hood2 = new DoubleSolenoid(Constants.Shooter.HOOD_FORWARD,
-        Constants.Shooter.HOOD_REVERSE);
-    punch = new DoubleSolenoid(Constants.Shooter.PUNCH_FORWARD,
+    hood1 = new DoubleSolenoid(10, Constants.Shooter.RIGHT_HOOD_FORWARD,
+        Constants.Shooter.RIGHT_HOOD_REVERSE); // right
+    hood2 = new DoubleSolenoid(9, Constants.Shooter.LEFT_HOOD_FORWARD,
+        Constants.Shooter.LEFT_HOOD_REVERSE);// left
+    punch = new DoubleSolenoid(9, Constants.Shooter.PUNCH_FORWARD,
         Constants.Shooter.PUNCH_REVERSE);
 
     encoder = new Encoder(Constants.Shooter.ENCODER_PORT_A,