//First Gate
reverse(4);
motorSpeed(4,40);
goToAbsolutePosition(235);
brake(4);
goToAbsolutePosition(345);
reverse(4);
motorSpeed(4,55);
goFor(.5);
brake(4);
reverse(4);
goFor(7);
//Second Gate
motorSpeed(4,40);
goToAbsolutePosition(585);
brake(4);
goToAbsolutePosition(685);
//reverse(4); -This is here because of the changes made; kept as backup
//motorSpeed(4,55); -This was here because of the changes made; kept as a backup
//goFor(.5); -This was here because of the changes made; kept as backup
brake(4);
reverse(4);
goFor(7);
//Back to First Gate
motorSpeed(4,40);
goToAbsolutePosition(440);
brake(4);
goToAbsolutePosition(400);
reverse(4);
motorSpeed(4,60);
goFor(.75);
brake(4);
goFor(7);
reverse(4);
//Back to Finish
motorSpeed(4,40);
goToAbsolutePosition(95);
brake(4);
goToAbsolutePosition(45);
reverse(4);
motorSpeed(4,60);
goFor(1);
brake(4);
//reflectanceSensorTest();