moveForward(-1 * LOW_FORWARD, 8); // Move out of start turnRight(32); moveForward(-1 * LOW_FORWARD, 18); //Move to jack area turnRight(42); moveForward(-1 * MID_FORWARD, 8); moveForward(LOW_FORWARD, 8); // LEVER moveForward(-1 * MID_FORWARD, 10); moveForward(LOW_FORWARD, 3); turnRight(-45); moveForward(LOW_FORWARD, 15); // Back to center turnRight(45); moveForward(MID_FORWARD, 20); // Over to the buttons moveForward(-1 * LOW_FORWARD, 4); turnRight(90); moveForward(LOW_FORWARD, 13); // Nudge those buttons moveForward(-100, 50); // And away we go break;
Algorithm for Performance Test 1:
- Move backwards out of starting area
- Turn right
- Move forward to jack area
- Turn right
- Move backwards
- Move forwards, pushing jack
- Move backwards
- Move forwards
- Turn left
- Move forward, back to center
- Turn right
- Move forwards
- Move backwards
- Turn right
- Move forwards into the button board
- Move at full power backwards, up the ramp