src/OI.cpp
OI::OI() {
	// Process operator interface input here.
        // BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS

	gamepad = new Joystick(2);
	
	right = new Joystick(1);
	
	left = new Joystick(0);
	
     

        // SmartDashboard Buttons
	SmartDashboard::PutData("Autonomous Command", new AutonomousCommand());

	SmartDashboard::PutData("TeleopDrive", new TeleopDrive());

	SmartDashboard::PutData("ElevatorOpen", new ElevatorOpen());

	SmartDashboard::PutData("ElevatorMove", new ElevatorMove());

	SmartDashboard::PutData("YAXisDrive", new YAXisDrive());

	SmartDashboard::PutData("XAxisDrive", new XAxisDrive());

	SmartDashboard::PutData("TeleIntake", new TeleIntake());

	SmartDashboard::PutData("AutoIntake", new AutoIntake());

	SmartDashboard::PutData("ElevatorManual", new ElevatorManual());

	SmartDashboard::PutData("DoNuffin", new DoNuffin());

	SmartDashboard::PutData("ToteCan", new ToteCan());

	SmartDashboard::PutData("ThreeCans", new ThreeCans());


    // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS
	SmartDashboard::PutData("AutoTurn", new AutoTurn(90.0,1,0.5));

	SmartDashboard::PutData("AutoDrive", new AutoDrive(12.0,12.0,0.0, 0.5, 0.5, 0.0));
}
// END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=INCLUDES
END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=INCLUDES
END AUTOGENERATED CODE SOURCE = ROBOTBUILDER ID = INCLUDES
OI::OI() {
	gamepad = new Joystick(2);
	right = new Joystick(1);
	left = new Joystick(0);
	SmartDashboard::PutData("Autonomous Command", new AutonomousCommand());
	SmartDashboard::PutData("TeleopDrive", new TeleopDrive());
	SmartDashboard::PutData("ElevatorOpen", new ElevatorOpen());
	SmartDashboard::PutData("ElevatorMove", new ElevatorMove());
	SmartDashboard::PutData("YAXisDrive", new YAXisDrive());
	SmartDashboard::PutData("XAxisDrive", new XAxisDrive());
	SmartDashboard::PutData("TeleIntake", new TeleIntake());
	SmartDashboard::PutData("AutoIntake", new AutoIntake());
	SmartDashboard::PutData("ElevatorManual", new ElevatorManual());
	SmartDashboard::PutData("DoNuffin", new DoNuffin());
	SmartDashboard::PutData("ToteCan", new ToteCan());
	SmartDashboard::PutData("ThreeCans", new ThreeCans());
	SmartDashboard::PutData("AutoTurn", new AutoTurn(90.0,1,0.5));
	SmartDashboard::PutData("AutoDrive", new AutoDrive(12.0,12.0,0.0, 0.5, 0.5, 0.0));
}
OI :: OI ( ) { gamepad = new Joystick ( 2 ) ; right = new Joystick ( 1 ) ; left = new Joystick ( 0 ) ; SmartDashboard :: PutData ( " " , new AutonomousCommand ( ) ) ; SmartDashboard :: PutData ( " " , new TeleopDrive ( ) ) ; SmartDashboard :: PutData ( " " , new ElevatorOpen ( ) ) ; SmartDashboard :: PutData ( " " , new ElevatorMove ( ) ) ; SmartDashboard :: PutData ( " " , new YAXisDrive ( ) ) ; SmartDashboard :: PutData ( " " , new XAxisDrive ( ) ) ; SmartDashboard :: PutData ( " " , new TeleIntake ( ) ) ; SmartDashboard :: PutData ( " " , new AutoIntake ( ) ) ; SmartDashboard :: PutData ( " " , new ElevatorManual ( ) ) ; SmartDashboard :: PutData ( " " , new DoNuffin ( ) ) ; SmartDashboard :: PutData ( " " , new ToteCan ( ) ) ; SmartDashboard :: PutData ( " " , new ThreeCans ( ) ) ; SmartDashboard :: PutData ( " " , new AutoTurn ( 90.0 , 1 , 0.5 ) ) ; SmartDashboard :: PutData ( " " , new AutoDrive ( 12.0 , 12.0 , 0.0 , 0.5 , 0.5 , 0.0 ) ) ; }
END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=INCLUDES
END AUTOGENERATED CODE SOURCE = ROBOTBUILDER ID = INCLUDES
// Process operator interface input here. // BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS // SmartDashboard Buttons // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS