Code For Performance Test 2

The objective of this performance test was to be able to allow the AEV to traverse up the incline of the track and stop at the first gate for 7 seconds before proceeding through. After proceeding through the gate, the AEV must travel down an incline and connect with a magnetic caboose. After waiting 5 seconds, the AEV must proceed with the load up the incline. It is crucial that the AEV avoids colliding with the gate.