/*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008. All Rights Reserved.                             */
/* Open Source Software - may be modified and shared by FRC teams. The code   */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project.                                                               */
/*----------------------------------------------------------------------------*/

package com.rmr662.frc2012;


import com.rmr662.frc2012.controller.TestController;
import com.rmr662.frc2012.generic.Component;
import com.rmr662.frc2012.generic.Controller;
import edu.wpi.first.wpilibj.SimpleRobot;

/**
 * The VM is configured to automatically run this class, and to call the
 * functions corresponding to each mode, as described in the SimpleRobot
 * documentation. If you change the name of this class or the package after
 * creating this project, you must also update the manifest file in the resource
 * directory.
 */
public class RMRRobot extends SimpleRobot {
    
    private Component[] components;
    private Controller activeController;
    private Thread controllerThread;
    
    /**
     * This function is called once each time the robot enters autonomous mode.
     */
    public void autonomous() {
        // TODO: initialize activeController and start a thread for it.
        updateComponents();
    }

    /**
     * This function is called once each time the robot enters operator control.
     */
    public void operatorControl() {
        activeController = TestController.getInstance();
        controllerThread = new Thread(activeController);
        controllerThread.start();
        updateComponents();
    }
    
    /**
     * This function is called exactly once when the robot is powered on.
     */
    protected void robotInit() {
        // TODO: Initialize all components by adding them to components array
    }
    
    /**
     * This method is called to update all of the physical components
     */
    private void updateComponents() {
        for (int i = 0; i < components.length; i++) {
            components[i].update();
        }
    }
    
}

@@ -709,16 +709,53 @@
 eRobot;%0D
+%0Aimport edu.wpi.first.wpilibj.Timer;%0D
 %0A%0D%0A/**%0D%0A
@@ -1128,24 +1128,78 @@
 ot %7B%0D%0A    %0D%0A
+    private static final double PERIOD = 0.05;%0D%0A    %0D%0A
     private 
@@ -1847,35 +1847,108 @@
         
-updateComponents();
+while (true) %7B%0D%0A            updateComponents();%0D%0A            Timer.delay(PERIOD);%0D%0A        %7D
 %0D%0A    %7D%0D

Put updateComponents() into a loop