Code for Excersise 1

During Lab 1, we aimed to test the motors of the AEV with the functions uploaded to the arduino controller. Essentially, we experimented with different functions in the arduino sketchbook to test the motors. For further information on the functions within the code and what they mean feel free to check the reference guide under the Evolution of Code tab. The code produced for Exercise 1 of the lab is as follows:

celerate(1,0,15,2.5);
motorSpeed(1,15);
goFor(1);
brake(1);

celerate(2,0,27,4);
motorSpeed(2,27);
goFor(2.7);
celerate(2,27,15,1);
brake(2);

reverse(2);

celerate(4,0,31,2);
motorSpeed(4,35);
goFor(1);

brake(2);
motorSpeed(1,35);
goFor(3);

brake(4);
goFor(1);

reverse(1);
celerate(1,0,19,2);
motorSpeed(2,35);
motorSpeed(1,19);
goFor(2);

motorSpeed(4,19);
goFor(2);
celerate(4,19,0,3);
brake(4);