/*----------------------------------------------------------------------------*/
/* 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.                                                               */
/*----------------------------------------------------------------------------*/
/* Howell SCOTS Bots 2015 - Competition Season                                */
/*----------------------------------------------------------------------------*/

package org.scotsbots.dummy_robot;

import org.scotsbots.dummy_robot.operation.OperationAutonomous;
import org.scotsbots.dummy_robot.operation.OperationTeleop;
import org.scotsbots.dummy_robot.operation.RobotOperation;
import org.scotsbots.dummy_robot.operation.auton.AutonStrategy;
import org.scotsbots.dummy_robot.utils.Logger;

import edu.wpi.first.wpilibj.IterativeRobot;
import edu.wpi.first.wpilibj.command.Scheduler;
import edu.wpi.first.wpilibj.livewindow.LiveWindow;
import edu.wpi.first.wpilibj.smartdashboard.SendableChooser;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;

/**
 * Main Class for our 2015 Robot
 * @author Domenic
 *
 */
public class Robot extends IterativeRobot 
{
	public static SendableChooser autoChooser;
	public static AutonStrategy selectedAuton = null;
	
    public void robotInit() 
    {
    	Logger.riolog("S.C.O.T.S. Bots 2015 Robot intializing...");
    	autoChooser = new SendableChooser();
    	RobotHardware.initialize();
    	RobotOperation.initialize();
    	RobotVision.initialize();
    	OperationAutonomous.initializeAutons();
		SmartDashboard.putData("Autonomous Mode Chooser", autoChooser);
    }
    
    public void autonomousInit()
    {
    	RobotOperation.reset();
    	selectedAuton = (AutonStrategy) autoChooser.getSelected();
    	selectedAuton.intialize();
    }
    
    public void autonomousPeriodic() 
    {
    	selectedAuton.update();
    }
    
    public void teleopInit()
    {
    	RobotOperation.reset();
    	OperationTeleop.initialize();
    }
    
    public void teleopPeriodic() 
    {
    	RobotVision.stream();
		RobotOperation.logSmartDashboard();
		OperationTeleop.update();
    }

    public void testInit()
    {
    	RobotOperation.reset();
    }
    
    public void testPeriodic() 
    {
    	LiveWindow.run();
    	RobotOperation.logSmartDashboard();
    }
    
    public void disabledInit() 
    {
    }
}

@@ -74,16 +74,17 @@
 -----*/%0A
+%0A
 /* Copyr
@@ -1964,32 +1964,51 @@
 on.intialize();%0A
+    %09//test commit%0A
     %7D%0A    %0A    p

Test commit