void blueLeftAutonPrimary() { //Launch four preloads launchFourBalls(91); //Drive forward out from starting tile driveQuad(110, 300); //Turn left to be parallel with the field wall turnGyro(46); //Drive forward to be next to stack against field wall driveQuad(110, 600); //Turn right to point at the stack against the field wall turnGyro(93); //Intake the stack driveQuad(110, 150); driveAndIntakeTime(30, 30, 2250); wait1Msec(500); driveAndIntakeTime(30, 30, 1000); //Drive back from wall driveQuad(-110, 200); //Turn right to face net turnGyro(-175); }
//Blue left void programmingSkills() { //Driver loads launchThirtyTwoBalls(); //Turn right and point at the red tile turnGyro(-91); //Drive onto the red tile //driveQuad(110, 3000); driveTime(127, 80, 3500); //Turn left and point at the red high goal turnGyro(90); //Driver loads launchThirtyTwoBalls(); }
void executeGrab() { //bring the medium goal back to the parking zone drive(11800); grabGoal(); turnGyro(1200); if(getGyroNumber() > 650){ //Only continue the program if the gyro value is greater than 630 drive(-10700); turn(5500); releaseGoal(); } }