projects
/
3501
/
stronghold-2016
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add option for no auton
[3501/stronghold-2016]
/
src
/
org
/
usfirst
/
frc
/
team3501
/
robot
/
commands
/
auton
/
ChooseStrategy.java
diff --git
a/src/org/usfirst/frc/team3501/robot/commands/auton/ChooseStrategy.java
b/src/org/usfirst/frc/team3501/robot/commands/auton/ChooseStrategy.java
index 20b85781c63946c52425a9e4b4a369d7c9be6876..607a0eecbec661ca937e3e53fcfa63e182e04512 100644
(file)
--- a/
src/org/usfirst/frc/team3501/robot/commands/auton/ChooseStrategy.java
+++ b/
src/org/usfirst/frc/team3501/robot/commands/auton/ChooseStrategy.java
@@
-36,5
+36,8
@@
public class ChooseStrategy extends CommandGroup {
else if (defense == Defense.LOW_BAR)
addSequential(new PassLowBar());
+ else if (defense == Defense.NONE)
+ ;// do nothing
+
}
}