run scheduler in teleop periodic:
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / Robot.java
index 5f4715cb6ac2e9b1fcb8a7e1bef891cc95163eae..072b5bd64444f756fcb21027ebbaff6bd803c313 100644 (file)
@@ -37,8 +37,11 @@ public class Robot extends IterativeRobot {
     return Intake.getIntake();
   }
 
+  // If the gear values do not match in the left and right piston, then they are
+  // both set to high gear
   @Override
   public void autonomousInit() {
+    driveTrain.setHighGear();
   }
 
   @Override
@@ -49,11 +52,11 @@ public class Robot extends IterativeRobot {
 
   @Override
   public void teleopInit() {
+
   }
 
   @Override
   public void teleopPeriodic() {
     Scheduler.getInstance().run();
-
   }
 }