For performance test 1 the team was tasked with coming up with two separate AEV designs that would move towards the gate, wait for seven seconds, and then proceed though the gate. When attempting the test the group used the second design shown below. Both of the teams attempts failed at the gate, once due to stopping early and once due to hitting the second sensor.
reverse(4);
// PERFORMANCE TEST 1
//go
celerate(4,0,50,3);
motorSpeed(4,45);
goToAbsolutePosition(200);
reverse(4);
//power brake
celerate(4,0,85,.1);
goFor(.40);
//pause
brake(4);
goFor(7);
reverse(4);
//GOOOOOOOOOOO
celerate(4,0,50,4);
//
motorSpeed(4,30);
goToRelativePosition(220);
//power brake
reverse(4);
celerate(4,0,85,.4);
brake(4);
motorSpeed(4,20);
goFor(.5);
brake(4)
goFor(6);
celerate(4,0,50, 3);
motorSpeed(4,45);
goToRelativePosition(-180);
reverse(4);
//power brake
celerate(4,0,85,.1);
goFor(.40);
//pause
brake(4);
goFor(7);
The task that was to be accomplished during the performance tests was to advance from the starting zone to the gate and wait for seven seconds before proceeding through. What this code attempted to do was accelerate to for a short time before using a constant motor speed to reach the gate. Upon reaching the sensor for the gate, the code then attempted to power brake to give a consistent stopping position. After stopping at the gate the AEV was supposed to proceed through the gate and then stop.
AEV Design 1:
AEV Design 2:
For the first performance test group M decided to construct a lighter and less expensive AEV as shown above in the images. This AEV saved 2000 dollars from the previous, larger design. This design came about by creating the smallest base possible that was still large enough to safely hold all of the components of the AEV. From the previous design of the AEV, the two motor configuration was still continued to ensure enough power to pull the caboose in an effective manor.