Run the scheduler in disabled (fixes artf3631)

Change-Id: Ib1614e2c96b4cda580110ea427398bcfe2ff6fbe
This commit is contained in:
Kevin O'Connor
2014-10-15 15:32:38 -04:00
parent 08c8723174
commit f99b57b1fe
2 changed files with 9 additions and 0 deletions

View File

@@ -31,6 +31,10 @@ public class Robot extends IterativeRobot {
// instantiate the command used for the autonomous period
autonomousCommand = new ExampleCommand();
}
public void disabledPeriodic() {
Scheduler.getInstance().run();
}
public void autonomousInit() {
// schedule the autonomous command (example)