projects
/
3501
/
2017steamworks
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add code for toggleDrivePiston
[3501/2017steamworks]
/
src
/
org
/
usfirst
/
frc
/
team3501
/
robot
/
Constants.java
diff --git
a/src/org/usfirst/frc/team3501/robot/Constants.java
b/src/org/usfirst/frc/team3501/robot/Constants.java
index 176226766f140da6ce7108b3fb0ca093e4c1c6ce..91a5cc7f2a664980af0a0a51f5bb4aa1aac627e8 100644
(file)
--- a/
src/org/usfirst/frc/team3501/robot/Constants.java
+++ b/
src/org/usfirst/frc/team3501/robot/Constants.java
@@
-36,8
+36,10
@@
public class Constants {
public final static int HALL_EFFECT_PORT = 9;
public final static int HALL_EFFECT_PORT = 9;
- public static final int PISTON_MODULE = 10, PISTON_FORWARD = 0,
- PISTON_REVERSE = 1;
+ public final static int TOGGLE_INDEXER = 8;
+
+ public static final int PISTON_MODULE = 10, PISTON_FORWARD = 4,
+ PISTON_REVERSE = 5;
public static final Value HIGH_GEAR = DoubleSolenoid.Value.kForward;
public static final Value LOW_GEAR = DoubleSolenoid.Value.kReverse;
}
public static final Value HIGH_GEAR = DoubleSolenoid.Value.kForward;
public static final Value LOW_GEAR = DoubleSolenoid.Value.kReverse;
}
@@
-50,6
+52,8
@@
public class Constants {
public static final Value HIGH_GEAR = DoubleSolenoid.Value.kForward;
public static final Value LOW_GEAR = DoubleSolenoid.Value.kReverse;
public static final Value HIGH_GEAR = DoubleSolenoid.Value.kForward;
public static final Value LOW_GEAR = DoubleSolenoid.Value.kReverse;
+ public final static int TOGGLE_DRIVE_PISTON = 7;
+
// MOTOR CONTROLLERS
public static final int FRONT_LEFT = 1;
public static final int FRONT_RIGHT = 3;
// MOTOR CONTROLLERS
public static final int FRONT_LEFT = 1;
public static final int FRONT_RIGHT = 3;