fix errors
authorMichael Wang <michaelwang9000@gmail.com>
Sat, 11 Feb 2017 23:41:39 +0000 (15:41 -0800)
committerMichael Wang <michaelwang9000@gmail.com>
Tue, 21 Feb 2017 20:40:26 +0000 (12:40 -0800)
src/org/usfirst/frc/team3501/robot/commandgroups/AutonHopperShoot.java

index b5e7b95d2860b6600cd6064b8d7e83a3e40a3fcf..18b590548b6b7eb94b2121f3a234fc47435f2f65 100644 (file)
@@ -18,14 +18,14 @@ public class AutonHopperShoot extends CommandGroup {
 
   public AutonHopperShoot() {
     // Robot drives from center to front of airship
-    addSequential(new DriveDistance(DISTANCE_TO_TURNING_POSITION, 1));
+    addSequential(new DriveDistance(DISTANCE_TO_TURNING_POSITION, 0.75));
     // Robot turns towards hopper
     addSequential(new TurnForAngle(45.0, Constants.Direction.RIGHT, 1.0));
     // Robot drives near hopper
     addSequential(new DriveDistance(DISTANCE_TO_HOPPER, 1));
-    // Robot turns left towards hopper
+    // Robot turns right towards hopper
     addSequential(new TurnForAngle(45.0, Constants.Direction.RIGHT, 1.0));
-    // Robot drives in front of hopper
+    // Robot drives into hopper switch
     addSequential(new DriveDistance(2.0, 1.0));
     // Robot backs up from switch
     addSequential(new DriveDistance(2.0, -1.0));
@@ -36,7 +36,7 @@ public class AutonHopperShoot extends CommandGroup {
     // Robot turns parallel to boiler
     addSequential(new TurnForAngle(45.0, Constants.Direction.LEFT, 1.0));
     // Shoot
-    addSequential(new RunFlyWheelContinuous(1.0));
+    addSequential(new RunFlyWheelContinuous());
 
   }
 }