package org.texastorque.texastorque2015;

import org.texastorque.texastorque2015.feedback.Feedback;
import org.texastorque.texastorque2015.input.DriverInput;
import org.texastorque.texastorque2015.input.Input;
import org.texastorque.texastorque2015.output.Output;
import org.texastorque.texastorque2015.output.RobotOutput;
import org.texastorque.texastorque2015.subsystem.Drivebase;
import org.texastorque.torquelib.base.TorqueIterative;

public class Robot extends TorqueIterative {
    //Subsystems
    Drivebase drivebase;
    
    //Input
    Input activeInput;
    DriverInput driverInput;
    
    //Output
    Output activeOutput;
    RobotOutput robotOutput;
    
    //Feedback
    Feedback activeFeedback;

    @Override
    public void robotInit() {
        drivebase = new Drivebase();
        driverInput = new DriverInput();
        robotOutput = new RobotOutput();
    }

    @Override
    public void teleopInit() {
        activeInput = driverInput;
        activeOutput = robotOutput;
        
        drivebase.setInput(activeInput);
        drivebase.setOutput(activeOutput);
        
        drivebase.loadParams();
    }

    @Override
    public void teleopPeriodic() {
        activeInput.run();
        drivebase.pushToDashboard();
    }

    @Override
    public void teleopContinuous() {
        drivebase.run();
    }
    
}

@@ -1085,24 +1085,66 @@
 iveOutput);%0A
+        drivebase.setOutputEnabled(true);%0A
         %0A   

Enable output on drivebase