Permalink
Browse files

if you look at commit 2e47a, you find that the commit message actuall…

…y switched the close and far key. Close key should be 1 and far should be 2
  • Loading branch information...
1 parent 19bbcfc commit aff170dce38ff0d645882cfb0fe79a2a3a845c0d @zqiu zqiu committed Mar 14, 2012
View
Binary file not shown.
@@ -14,10 +14,10 @@
public class AutonSetting0 extends CommandGroup {
/**
- * Shoots from far key.
+ * Shoots from close key.
*/
public AutonSetting0() {
- double distanceInches = Flywheel.distances[Flywheel.FAR_KEY_INDEX];
+ double distanceInches = Flywheel.distances[Flywheel.CLOSE_KEY_INDEX];
addParallel(new AutonWaitThenConvey());
addSequential(new FlywheelRun(distanceInches, Flywheel.speedsTopHoop));
}
@@ -14,10 +14,10 @@
public class AutonSetting1 extends CommandGroup {
/**
- * Shoots from far key. Then backs up and knocks down bridge.
+ * Shoots from close key. Then backs up and knocks down bridge.
*/
public AutonSetting1() {
- double distanceInches = Flywheel.distances[Flywheel.FAR_KEY_INDEX];
+ double distanceInches = Flywheel.distances[Flywheel.CLOSE_KEY_INDEX];
addParallel(new FlywheelRun(distanceInches, Flywheel.speedsTopHoop));
addSequential(new ConveyAutomatic(Autonomous.CONVEY_AUTO_TIME));
@@ -14,10 +14,10 @@
public class AutonSetting2 extends CommandGroup {
/**
- * Shoots from close key.
+ * Shoots from far key.
*/
public AutonSetting2() {
- double distanceInches = Flywheel.distances[Flywheel.CLOSE_KEY_INDEX];
+ double distanceInches = Flywheel.distances[Flywheel.FAR_KEY_INDEX];
addParallel(new AutonWaitThenConvey());
addSequential(new FlywheelRun(distanceInches, Flywheel.speedsTopHoop));
}

0 comments on commit aff170d

Please sign in to comment.