projects
/
3501
/
stronghold-2016
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change isUsingTime to final and delete the method that toggles it in drivetrain
[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 6450fa0342f6b4ffd9e26134942ed36a273556a5..e6fdf15710d4c832e6afa8fbc571e9c9bf4ea573 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
) {
+ if (Constants.Auton.
IS_USING_TIME
) {
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));