Quasics2016Code/Mettaton/src/OI.cpp
// END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=INCLUDES
END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=INCLUDES
END AUTOGENERATED CODE SOURCE = ROBOTBUILDER ID = INCLUDES
OI::OI() {
	shooterStick.reset(new Joystick(1));
	pilotStick.reset(new Joystick(0));
	SmartDashboard::PutData("Full Shooter Teleop", new FullShooterTeleop());
	SmartDashboard::PutData("Full Stop", new FullStop());
	SmartDashboard::PutData("Automatic Lighting", new AutomaticLighting());
	SmartDashboard::PutData("Stop Arm", new StopArm());
	SmartDashboard::PutData("Stop Drive Base", new StopDriveBase());
	SmartDashboard::PutData("Tank Drive", new TankDrive());
	SmartDashboard::PutData("Red Lights", new SetLightColor(Lighting::kRed));
	SmartDashboard::PutData("Green Lights",
			new SetLightColor(Lighting::kGreen));
	SmartDashboard::PutData("Blue Lights", new SetLightColor(Lighting::kBlue));
	SmartDashboard::PutData("White Lights",
			new SetLightColor(Lighting::kWhite));
	SmartDashboard::PutData("Rainbow Lights",
			new SetLightColor(Lighting::kRainbow));
	SmartDashboard::PutData("Lights On", new SetLightDynamics(Lighting::kOn));
	SmartDashboard::PutData("Lights Breathing",
			new SetLightDynamics(Lighting::kBreathing));
	SmartDashboard::PutData("Lights Blinking",
			new SetLightDynamics(Lighting::kBlinking));
	SmartDashboard::PutData("Lights Off", new SetLightDynamics(Lighting::kOff));
}
OI :: OI ( ) { shooterStick . reset ( new Joystick ( 1 ) ) ; pilotStick . reset ( new Joystick ( 0 ) ) ; SmartDashboard :: PutData ( " " , new FullShooterTeleop ( ) ) ; SmartDashboard :: PutData ( " " , new FullStop ( ) ) ; SmartDashboard :: PutData ( " " , new AutomaticLighting ( ) ) ; SmartDashboard :: PutData ( " " , new StopArm ( ) ) ; SmartDashboard :: PutData ( " " , new StopDriveBase ( ) ) ; SmartDashboard :: PutData ( " " , new TankDrive ( ) ) ; SmartDashboard :: PutData ( " " , new SetLightColor ( Lighting :: kRed ) ) ; SmartDashboard :: PutData ( " " , new SetLightColor ( Lighting :: kGreen ) ) ; SmartDashboard :: PutData ( " " , new SetLightColor ( Lighting :: kBlue ) ) ; SmartDashboard :: PutData ( " " , new SetLightColor ( Lighting :: kWhite ) ) ; SmartDashboard :: PutData ( " " , new SetLightColor ( Lighting :: kRainbow ) ) ; SmartDashboard :: PutData ( " " , new SetLightDynamics ( Lighting :: kOn ) ) ; SmartDashboard :: PutData ( " " , new SetLightDynamics ( Lighting :: kBreathing ) ) ; SmartDashboard :: PutData ( " " , new SetLightDynamics ( Lighting :: kBlinking ) ) ; SmartDashboard :: PutData ( " " , new SetLightDynamics ( Lighting :: kOff ) ) ; }
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