projects
/
3501
/
stronghold-2016
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add second piston that controls hood, and change open/close values in constants
[3501/stronghold-2016]
/
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 f5241d805d609dc306402aa3141affb0d323a415..4ad8a4bf0be8bb5ded68e636dd9c2ee2910a2ec2 100644
(file)
--- a/
src/org/usfirst/frc/team3501/robot/Constants.java
+++ b/
src/org/usfirst/frc/team3501/robot/Constants.java
@@
-112,8
+112,8
@@
public class Constants {
public static final int HOOD_FORWARD = 2;
public static final int HOOD_REVERSE = 3;
public static final int HOOD_FORWARD = 2;
public static final int HOOD_REVERSE = 3;
- public static final Value open = Value.k
Forward
;
- public static final Value closed = Value.k
Reverse
;
+ public static final Value open = Value.k
Reverse
;
+ public static final Value closed = Value.k
Forward
;
public static final Port LIDAR_I2C_PORT = I2C.Port.kMXP;
public static final Port LIDAR_I2C_PORT = I2C.Port.kMXP;
@@
-124,7
+124,7
@@
public class Constants {
public static class DeadReckoning {
public static final double DEFAULT_SPEED = 0.5;
public static class DeadReckoning {
public static final double DEFAULT_SPEED = 0.5;
- public static boolean isUsingTimeToPassDefense;
+ public static boolean isUsingTimeToPassDefense
= true
;
// dead reckoning time and speed constants for driving through defenses
public static double passRockWallTime = 0;
// dead reckoning time and speed constants for driving through defenses
public static double passRockWallTime = 0;