For the second performance test, the group started to test the new, custom designed base. As the new base is significantly lighter than the original default base, adjustments to the code were needed. One test was conducted with the same code structure as the first performance test, running at a constant power setting. The second test implemented a boost on the return trip to increase initial acceleration from a stop before decelerating the motor speed to cruise power.
// Performance test 2, custom base, room 224 constant
reverse(4);
motorSpeed(4,25);
goToRelativePosition(174);
brake(4);
goFor(12.5);
motorSpeed(4,25);
goToRelativePosition(172);
brake(4);
goFor(6.5);
reverse(4);
motorSpeed(4,40);
goToRelativePosition(-270);
brake(4);
goFor(12);
motorSpeed(4,40);
goToRelativePosition(-290);
brake(4);
// Performance test 2, custom base, room 224 boost
reverse(4);
motorSpeed(4,25);
goToRelativePosition(154);
brake(4);
goFor(13);
motorSpeed(4,25);
goToRelativePosition(162);
brake(4);
goFor(6);
reverse(4);
motorSpeed(4,45);
goFor(2);
celerate(4,45,40,1);
goToRelativePosition(-200);
brake(4);
goFor(12);
motorSpeed(4,45);
goFor(2);
celerate(4,45,40,1);
goToRelativePosition(-210);
brake(4);