Quasics2016Code/Dante/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() {
    auxStick.reset(new Joystick(1));
    pilotStick.reset(new Joystick(0));
    SmartDashboard::PutData("Move forward 2", new MoveForward2 (2,1));
    SmartDashboard::PutData("Move ahead 3 seconds", new MoveAhead3 (3,1));
    SmartDashboard::PutData("Rotate Right", new Rotate (3,.6));
    SmartDashboard::PutData("Forward Slow", new MoveForward ());
    SmartDashboard::PutData("Forward Fast", new MoveAheadFast ());
    SmartDashboard::PutData("1 second full power", new MoveForwardTime (1,1));
    SmartDashboard::PutData("3 seconds at half power", new MoveForwardTime (3,.5));
    SmartDashboard::PutData("Robot moves in a square", new MoveInSquare);
    SmartDashboard::PutData("Robot Moves in Arman's initials", new Arman);
}
OI :: OI ( ) { auxStick . reset ( new Joystick ( 1 ) ) ; pilotStick . reset ( new Joystick ( 0 ) ) ; SmartDashboard :: PutData ( " " , new MoveForward2 ( 2 , 1 ) ) ; SmartDashboard :: PutData ( " " , new MoveAhead3 ( 3 , 1 ) ) ; SmartDashboard :: PutData ( " " , new Rotate ( 3 , .6 ) ) ; SmartDashboard :: PutData ( " " , new MoveForward ( ) ) ; SmartDashboard :: PutData ( " " , new MoveAheadFast ( ) ) ; SmartDashboard :: PutData ( " " , new MoveForwardTime ( 1 , 1 ) ) ; SmartDashboard :: PutData ( " " , new MoveForwardTime ( 3 , .5 ) ) ; SmartDashboard :: PutData ( " " , new MoveInSquare ) ; SmartDashboard :: PutData ( " " , new Arman ) ; }
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\
    SmartDashboard::PutData("Turn left 90", new TurnLeft90 (3,.6)); // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS