Recode everything for new robot
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / Robot.java
index 473ceea020e60b41df523807c6cbcccac22a0fb2..1111fea6673dd171ffb33207b47844f4a53e661f 100644 (file)
@@ -1,6 +1,7 @@
 package org.usfirst.frc.team3501.robot;
 
 import org.usfirst.frc.team3501.robot.Constants.Defense;
+import org.usfirst.frc.team3501.robot.commands.driving.SetLowGear;
 import org.usfirst.frc.team3501.robot.commands.shooter.ResetCatapult;
 import org.usfirst.frc.team3501.robot.subsystems.DefenseArm;
 import org.usfirst.frc.team3501.robot.subsystems.DriveTrain;
@@ -130,6 +131,8 @@ public class Robot extends IterativeRobot {
 
   @Override
   public void teleopInit() {
+    Scheduler.getInstance().add(new SetLowGear()); // Start each match in low
+                                                   // gear
     Scheduler.getInstance().add(new ResetCatapult()); // Reset catapult at start
                                                       // of each match.
   }