Fix ports and unusuable code to make shooter test work
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / Constants.java
index 657fc2854790160b9591389f0d624d745f35f1e5..520959a9de46a7c37728923b06244a7f21491abe 100644 (file)
@@ -106,12 +106,12 @@ public class Constants {
     public static final int PUNCH_REVERSE = 1;
     public static final int ANGLE_ADJUSTER_PORT = 0;
 
-    public static final DoubleSolenoid.Value punch = DoubleSolenoid.Value.kForward;
-    public static final DoubleSolenoid.Value retract = DoubleSolenoid.Value.kReverse;
+    public static final DoubleSolenoid.Value punch = DoubleSolenoid.Value.kReverse;
+    public static final DoubleSolenoid.Value retract = DoubleSolenoid.Value.kForward;
 
     // Encoder port
-    public static final int ENCODER_PORT_A = 0;
-    public static final int ENCODER_PORT_B = 0;
+    public static final int ENCODER_PORT_A = 4;
+    public static final int ENCODER_PORT_B = 5;
     public static final int RIGHT_HOOD_FORWARD = 2;
     public static final int RIGHT_HOOD_REVERSE = 4;
     public static final int LEFT_HOOD_FORWARD = 4;
@@ -119,8 +119,8 @@ public class Constants {
 
     public static final double DEFAULT_SHOOTER_SPEED = 0.5;
 
-    public static final Value open = Value.kReverse;
-    public static final Value closed = Value.kForward;
+    public static final Value open = Value.kForward;
+    public static final Value closed = Value.kReverse;
 
     public static final Port LIDAR_I2C_PORT = I2C.Port.kMXP;