Performance Test One

The objective of performance test one was for the team of engineers to successfully code the advanced energy vehicle so that it will travel from the starting position on the track to the top of the hill and stop between two, making sure to trigger the first one but not trigger the second one, and then wait 7 seconds for the gate to open before proceeding forward past the gate.

For the first performance test, the team was unable to successfully complete this task to the best it could possibly be completed. They were able to make the aev proceed to the gate but had some trouble with the coasting aspect of their code and the accuracy that was presenting itself in the performance tests. In the end, a team member had to physically stop the aev before it triggered the second sensor, thus resulting in a penalty off the score for this test.

Considering the conflicts that the team had with the performance tests, they were not able to extract the data off of the aev, this meant that the team was not able to see how much energy the aev was using and how long it took the aev to complete the run. They were also supposed to complete this run with two different designs, and see which one is the best one in terms of energy and budget efficiency. The team made the decision that finishing the performance test was more important than finding data for a different design, considering the grade for not only their aev would be affected but everyone in the company. Below are the two designs that the team came up with, the second one is the one that the team decided to use for all of the tests.

 

 

 

 

 

 

 

 

 

 

 

 

Here are the codes that were utilized in this performance test.

  1. celerate(4,0,30,2);

    goFor(3);

    brake(4);

  2. celerate(4,0,30,4);

    goFor(4);

    reverse(4);

    celerate(4,0,30,2);

    brake(4);

  3. reverse(4);

    celerate(4,0,30,4);

    reverse(4);

    goFor(4);

    celerate(4,0,30,2);

    brake(4);

  4. motorSpeed(4,32);

    goFor(3.6);

    brake(4);

  5. reverse(4);

    celerate(4,0,45,4);

    motorSpeed(4,34);

    goFor(3);

    brake(4);

    goFor(10);

    motorSpeed(4,30);

    celerate(4,0,30,2);

    goFor(3);

  6. reverse(4);

    celerate(4,0,40,4);

    motorSpeed(4,32);

    goFor(2.5);

    brake(4);

    goFor(10);

    motorSpeed(4,30);

    goFor(3);

  7. celerate(4,0,40,4.1);

    motorSpeed(4,32);

    brake(4);

    reverse(4);

    goFor(2.5);

    brake(4);

    goFor(10);

    motorSpeed(4,30);

    goFor(3);

  8. reverse(4);

    celerate(4,0,45,4);

    motorSpeed(4,45);

    goFor(2);

    brake(4);

    rotateServo(90.00);

    goFor(10);

    motorSpeed(4,30);

    goFor(3);