Performance Test 2

Performance Test 2, Program 1:

 reverse(4);

 

 //Leave starting dock

 motorSpeed(4, 29.7);

 goToRelativePosition(-228);

 

 //Coast to gate

 brake(4);

 goToRelativePosition(-43);

 

 //Power-brake at gate

 reverse(4);

 motorSpeed(4, 55);

 goFor(1);

 

 //Wait at gate

 brake(4);

 goFor(7.5);

 

 //Leave gate

 reverse(4);

 motorSpeed(4, 25);

 goToRelativePosition(-98);

 

 //Coast to loading zone and wait to exit

 brake(4);

 goToRelativePosition(-165);

 goFor(8);

 

 //Return to gate

 reverse(4);

 motorSpeed(4, 50);

 goToRelativePosition(220);

 

Performance Test 2, Program 2:

 reverse(4);

 

 //Leave starting dock

 motorSpeed(4, 29.7);

 goToAbsolutePosition(-228);

 

 //Coast to gate

 brake(4);

 goToAbsolutePosition(-271);

 

 //Power-brake at gate

 reverse(4);

 motorSpeed(4, 55);

 goFor(1);

 

 //Wait at gate

 brake(4);

 goFor(7.5);

 

 //Leave gate

 reverse(4);

 motorSpeed(4, 25);

 goToAbsolutePosition(-390);

 

 //Coast to loading zone and wait to exit

 brake(4);

 goToAbsolutePosition(-555);

 goFor(8);

 

 //Return to gate

 reverse(4);

 motorSpeed(4, 50);

 goToAbsolutePosition(-421);