Delete code in autonomousInit
authorArunima DIvya <adivya822@student.fuhsd.org>
Fri, 3 Feb 2017 04:04:16 +0000 (20:04 -0800)
committerArunima DIvya <adivya822@student.fuhsd.org>
Fri, 3 Feb 2017 04:04:16 +0000 (20:04 -0800)
src/org/usfirst/frc/team3501/robot/Robot.java

index db5e469ff3be6a031e0efbfc571c6a9a13727cfd..fe515f2af33bd6e9e03a913a68f82bf0d3cf7cc7 100644 (file)
@@ -1,6 +1,5 @@
 package org.usfirst.frc.team3501.robot;
 
-import org.usfirst.frc.team3501.robot.commands.driving.DriveDistance;
 import org.usfirst.frc.team3501.robot.subsystems.DriveTrain;
 import org.usfirst.frc.team3501.robot.subsystems.Intake;
 import org.usfirst.frc.team3501.robot.subsystems.Shooter;
@@ -42,11 +41,7 @@ public class Robot extends IterativeRobot {
   // both set to high gear
   @Override
   public void autonomousInit() {
-    Scheduler.getInstance().add(new DriveDistance(25, 10));
-    if (driveTrain.getLeftGearPistonValue() != driveTrain
-        .getRightGearPistonValue()) {
-      driveTrain.setHighGear();
-    }
+    driveTrain.setHighGear();
   }
 
   @Override