add command to robot.java to actually run the LimitSwitchTest
[3501/2015-FRC-Spark] / src / org / usfirst / frc3501 / RiceCatRobot / Robot.java
index 0e4d9348556f06e6da292ef66a7028da9b67df1c..c65eac9bbdd6092c1a421f34ee60eb72ea657aeb 100644 (file)
@@ -1,5 +1,6 @@
 package org.usfirst.frc3501.RiceCatRobot;
 
+import org.usfirst.frc3501.RiceCatRobot.commands.LimitSwitchTest;
 import org.usfirst.frc3501.RiceCatRobot.subsystems.Arm;
 import org.usfirst.frc3501.RiceCatRobot.subsystems.Claw;
 import org.usfirst.frc3501.RiceCatRobot.subsystems.DriveTrain;
@@ -35,6 +36,7 @@ public class Robot extends IterativeRobot {
 
   public void teleopInit() {
     System.out.println("running teleopInit");
+    Scheduler.getInstance().add(new LimitSwitchTest());
   }
 
   public void teleopPeriodic() {