projects
/
3501
/
stronghold-2016
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add constants same format as meryem did to constants and also add time dead reckoning
[3501/stronghold-2016]
/
src
/
org
/
usfirst
/
frc
/
team3501
/
robot
/
commands
/
auton
/
DefaultAutonStrategy.java
diff --git
a/src/org/usfirst/frc/team3501/robot/commands/auton/DefaultAutonStrategy.java
b/src/org/usfirst/frc/team3501/robot/commands/auton/DefaultAutonStrategy.java
index 5b6453ddaa9382a4e30e6d76c3f4f56830c1196a..0083cf5570ab3f1da196494d5fd6052b8ca7e5d7 100755
(executable)
--- a/
src/org/usfirst/frc/team3501/robot/commands/auton/DefaultAutonStrategy.java
+++ b/
src/org/usfirst/frc/team3501/robot/commands/auton/DefaultAutonStrategy.java
@@
-5,6
+5,7
@@
import org.usfirst.frc.team3501.robot.Constants.Defense;
import org.usfirst.frc.team3501.robot.commands.shooter.Shoot;
import edu.wpi.first.wpilibj.command.CommandGroup;
import org.usfirst.frc.team3501.robot.commands.shooter.Shoot;
import edu.wpi.first.wpilibj.command.CommandGroup;
+import edu.wpi.first.wpilibj.command.WaitCommand;
/**
* The default autonomous strategy involves passing the defense that is in front
/**
* The default autonomous strategy involves passing the defense that is in front
@@
-42,7
+43,8
@@
public class DefaultAutonStrategy extends CommandGroup {
else if (defense == Constants.Defense.RAMPART)
addSequential(new PassRampart());
else if (defense == Constants.Defense.RAMPART)
addSequential(new PassRampart());
- addSequential(new AimAndAlign());
+ addSequential(new AlignToScore(position));
+ addSequential(new WaitCommand(5.0));
addSequential(new Shoot());
}
addSequential(new Shoot());
}