Testing Designs

Below is the link to the main two designs we used in Performance Test 2

Main Two Testing Designs

Figure 01: Final code for testing design for performance test 02

Figure 02: Comparing code  for performance test 02

 

Code for Figure 01 ( which is the final code used for Performance test 02):

// Program between here——————————————————————-

// Setup motors, go to the gate
motorSpeed(4,43);
goFor(3.8);
//Reverse the motors for braking to contole the sliding distance

reverse(4);
motorSpeed(4,54);
goFor(1);
reverse(4);

// Stop motors, wait for 7 seconds
motorSpeed(4,0);
goFor(10);

//Run the AEV
motorSpeed(4,32);
goFor(4);
brake(4);

//Brakeing for stopping the AEV
reverse(4);
motorSpeed(4,32);
goFor(0.9);
brake(4);

//Stop 5 seconds
motorSpeed(4,0);
goFor(10);

//Keep going
motorSpeed(4,60);
goFor(2.3);

//Braking the AEV
reverse(4);
motorSpeed(4,42);
goFor(2);
brake(4);

// Reverse the direction for backing
reverse(4);

Code for Figure 02 Red Curves ( which is the initial code used for Performance test 02):

 

// Setup motors, go to the gate
motorSpeed(4,43);
goFor(3.8);
//Reverse the motors for braking to contole the sliding distance
reverse(4);
motorSpeed(4,55);
goFor(1);
reverse(4);

// Stop motors, wait for 7 seconds
motorSpeed(4,0);
goFor(10);

//Run the AEV
motorSpeed(4,32);
goFor(4);
brake(4);

//Brakeing for stopping the AEV
reverse(4);
motorSpeed(4,32);
goFor(0.9);
brake(4);

//Stop 5 seconds
motorSpeed(4,0);
goFor(10);

//Keep going
motorSpeed(4,60);
goFor(2.3);

//Braking the AEV
reverse(4);
motorSpeed(4,30);
goFor(2);
brake(4);

//Reverse the direction of AEV motors for next step
reverse(4);