// Path: SampleAutonomous/src/org/usfirst/frc/team6162/robot/Robot.java
// public class Robot extends SampleRobot {
// 	RobotDrive myRobot = new RobotDrive(0, 1,2,3);
// 	Joystick stick = new Joystick(0);
// 	final String defaultAuto = "Default";
// 	final String customAuto = "My Auto";
// 	SendableChooser<String> chooser = new SendableChooser<>();
// 
// 	public Robot() {
// 		myRobot.setExpiration(0.1);
// 	}
// 
// 	@Override
// 	public void robotInit() {
// 		chooser.addDefault("Default Auto", defaultAuto);
// 		chooser.addObject("My Auto", customAuto);
// 		SmartDashboard.putData("Auto modes", chooser);
// 	}
// 
// 	/**
// 	 * This autonomous (along with the chooser code above) shows how to select
// 	 * between different autonomous modes using the dashboard. The sendable
// 	 * chooser code works with the Java SmartDashboard. If you prefer the
// 	 * LabVIEW Dashboard, remove all of the chooser code and uncomment the
// 	 * getString line to get the auto name from the text box below the Gyro
// 	 *
// 	 * You can add additional auto modes by adding additional comparisons to the
// 	 * if-else structure below with additional strings. If using the
// 	 * SendableChooser make sure to add them to the chooser code above as well.
// 	 */
// 	@Override
// 	public void autonomous() {
// 		String autoSelected = chooser.getSelected();
// 		// String autoSelected = SmartDashboard.getString("Auto Selector",
// 		// defaultAuto);
// 		System.out.println("Auto selected: " + autoSelected);
// 
// 		switch (autoSelected) {
// 		case customAuto:
// 			myRobot.setSafetyEnabled(false);
// 			myRobot.drive(0.1, 0.1); // spin at half speed
// 			Timer.delay(2.0); // for 2 seconds
// 			myRobot.drive(0.2, -0.2); // stop robot
// 			break;
// 		case defaultAuto:
// 		default:
// 			myRobot.setSafetyEnabled(false);
// 			myRobot.drive(0.1, 0.1); // drive forwards half speed
// 			Timer.delay(2.0); // for 2 seconds
// 			myRobot.drive(0.2, -0.2); // stop robot
// 			break;
// 		}
// 	}
// 
// 	/**
// 	 * Runs the motors with arcade steering.
// 	 */
// 	@Override
// 	public void operatorControl() {
// 		myRobot.setSafetyEnabled(true);
// 		while (isOperatorControl() && isEnabled()) {
// 			myRobot.arcadeDrive(stick); // drive with arcade style (use right
// 										// stick)
// 			Timer.delay(0.005); // wait for a motor update time
// 		}
// 	}
// 
// 	/**
// 	 * Runs during test mode
// 	 */
// 	@Override
// 	public void test() {
// 	}
// }


import edu.wpi.first.wpilibj.command.Command;
import org.usfirst.frc.team6162.robot.Robot;
package org.usfirst.frc.team6162.robot.commands;



/**
 *
 */
public class ExampleCommand extends Command {
	public ExampleCommand() {
		// Use requires() here to declare subsystem dependencies
// Path: SampleAutonomous/src/org/usfirst/frc/team6162/robot/Robot.java
// public class Robot extends SampleRobot {
// 	RobotDrive myRobot = new RobotDrive(0, 1,2,3);
// 	Joystick stick = new Joystick(0);
// 	final String defaultAuto = "Default";
// 	final String customAuto = "My Auto";
// 	SendableChooser<String> chooser = new SendableChooser<>();
// 
// 	public Robot() {
// 		myRobot.setExpiration(0.1);
// 	}
// 
// 	@Override
// 	public void robotInit() {
// 		chooser.addDefault("Default Auto", defaultAuto);
// 		chooser.addObject("My Auto", customAuto);
// 		SmartDashboard.putData("Auto modes", chooser);
// 	}
// 
// 	/**
// 	 * This autonomous (along with the chooser code above) shows how to select
// 	 * between different autonomous modes using the dashboard. The sendable
// 	 * chooser code works with the Java SmartDashboard. If you prefer the
// 	 * LabVIEW Dashboard, remove all of the chooser code and uncomment the
// 	 * getString line to get the auto name from the text box below the Gyro
// 	 *
// 	 * You can add additional auto modes by adding additional comparisons to the
// 	 * if-else structure below with additional strings. If using the
// 	 * SendableChooser make sure to add them to the chooser code above as well.
// 	 */
// 	@Override
// 	public void autonomous() {
// 		String autoSelected = chooser.getSelected();
// 		// String autoSelected = SmartDashboard.getString("Auto Selector",
// 		// defaultAuto);
// 		System.out.println("Auto selected: " + autoSelected);
// 
// 		switch (autoSelected) {
// 		case customAuto:
// 			myRobot.setSafetyEnabled(false);
// 			myRobot.drive(0.1, 0.1); // spin at half speed
// 			Timer.delay(2.0); // for 2 seconds
// 			myRobot.drive(0.2, -0.2); // stop robot
// 			break;
// 		case defaultAuto:
// 		default:
// 			myRobot.setSafetyEnabled(false);
// 			myRobot.drive(0.1, 0.1); // drive forwards half speed
// 			Timer.delay(2.0); // for 2 seconds
// 			myRobot.drive(0.2, -0.2); // stop robot
// 			break;
// 		}
// 	}
// 
// 	/**
// 	 * Runs the motors with arcade steering.
// 	 */
// 	@Override
// 	public void operatorControl() {
// 		myRobot.setSafetyEnabled(true);
// 		while (isOperatorControl() && isEnabled()) {
// 			myRobot.arcadeDrive(stick); // drive with arcade style (use right
// 										// stick)
// 			Timer.delay(0.005); // wait for a motor update time
// 		}
// 	}
// 
// 	/**
// 	 * Runs during test mode
// 	 */
// 	@Override
// 	public void test() {
// 	}
// }


// Path: SampleMultiFunction/src/org/usfirst/frc/team6162/robot/commands/ExampleCommand.java
import edu.wpi.first.wpilibj.command.Command;
import org.usfirst.frc.team6162.robot.Robot;

package org.usfirst.frc.team6162.robot.commands;



/**
 *
 */
public class ExampleCommand extends Command {
	public ExampleCommand() {
		// Use requires() here to declare subsystem dependencies
		requires(Robot.exampleSubsystem);