Figure: AEV Design
Performance Test 2 Codes:
reverse(4); // reverse the motors
motorSpeed(4,40); // all four motors, 40% power
goToAbsolutePosition(220.0); // position of 220.0 marks
brake(4); // cut power to the motors
goToRelativePosition(20); // coast until 20 marks
reverse(4); // reverse the motors
motorSpeed(4,32); // braking with a power of 32%
goFor(1.8); // for 1.8 seconds
brake(4); // cut power to the motors
goFor(7); // for 7 seconds
reverse(4); // reverse the motors
motorSpeed(4,25); // all four motors, 25% power
goToRelativePosition(225); // position of 225 marks
brake(4); // cut power to the motors
reverse(4); // reverse the motors
motorSpeed(4, 25); // all four motors, 25% power
goToRelativePosition(62); // position of 62 marks