projects
/
3501
/
stronghold-2016
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor isUsingTimeToPassDefense to isUsingTime
[3501/stronghold-2016]
/
src
/
org
/
usfirst
/
frc
/
team3501
/
robot
/
commands
/
auton
/
AlignToScore.java
diff --git
a/src/org/usfirst/frc/team3501/robot/commands/auton/AlignToScore.java
b/src/org/usfirst/frc/team3501/robot/commands/auton/AlignToScore.java
index 6d0b9ede6cc1b0688cf466af57967bdd717cebe3..6450fa0342f6b4ffd9e26134942ed36a273556a5 100644
(file)
--- a/
src/org/usfirst/frc/team3501/robot/commands/auton/AlignToScore.java
+++ b/
src/org/usfirst/frc/team3501/robot/commands/auton/AlignToScore.java
@@
-39,7
+39,7
@@
public class AlignToScore extends CommandGroup {
public double horizontalDistToGoal;
public AlignToScore(int position) {
public double horizontalDistToGoal;
public AlignToScore(int position) {
- if (Constants.Auton.isUsingTime
ToPassDefense
) {
+ if (Constants.Auton.isUsingTime) {
if (position == 1) {
addSequential(new DriveForTime(Constants.Auton.POS1_DIST1_TIME,
Constants.Auton.POS1_DRIVE_MAXSPEED));
if (position == 1) {
addSequential(new DriveForTime(Constants.Auton.POS1_DIST1_TIME,
Constants.Auton.POS1_DRIVE_MAXSPEED));