Track Variance

Track Variance Code:

//Run all motors at 25 power for 4 seconds

motorSpeed(4, 25);

goFor(4);

 

//Brake AEV by running motors in opposite direction at 18 power for 1 second

reverse(4);

motorSpeed(4, 18);

goFor(1);

 

//Brake the motors and continue running the program for 5 seconds to ensure final data is collected

brake(4);

goFor(5);