projects
/
3501
/
stronghold-2016
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change all the pass defense constants to finals
[3501/stronghold-2016]
/
src
/
org
/
usfirst
/
frc
/
team3501
/
robot
/
commands
/
auton
/
PassLowBar.java
diff --git
a/src/org/usfirst/frc/team3501/robot/commands/auton/PassLowBar.java
b/src/org/usfirst/frc/team3501/robot/commands/auton/PassLowBar.java
index 9ee3e6eeaff831dfadd8f25d2a639f528930e3cf..fe35684f9e1d38870759c9d6d68cd4fcc476f47a 100644
(file)
--- a/
src/org/usfirst/frc/team3501/robot/commands/auton/PassLowBar.java
+++ b/
src/org/usfirst/frc/team3501/robot/commands/auton/PassLowBar.java
@@
-26,12
+26,12
@@
public class PassLowBar extends CommandGroup {
public PassLowBar() {
if (Constants.Auton.isUsingTime) {
public PassLowBar() {
if (Constants.Auton.isUsingTime) {
- addSequential(new DriveForTime(Constants.Auton.passLowBarTime,
- Constants.Auton.
passLowBarSpeed
));
+ addSequential(new DriveForTime(Constants.Auton.
PASS_LOW_BAR_TIME
passLowBarTime,
+ Constants.Auton.
PASS_LOW_BAR_SPEED
));
}
else {
addSequential(new DriveDistance(
}
else {
addSequential(new DriveDistance(
- Constants.Auton.
passLowBarDistance
,
+ Constants.Auton.
PASS_LOW_BAR_DIST
,
Constants.DriveTrain.PASS_DEFENSE_TIMEOUT));
}
}
Constants.DriveTrain.PASS_DEFENSE_TIMEOUT));
}
}