PDR Code

reverse(4); // flips polarity of motors

 celerate(4,0,25,3); // accelerates all motors from 0% to 25% in 3 seconds

 goToAbsolutePosition(13.1*12/(0.4875)); //goes to absolute position of 13.1 meters

 brake(4); //stops power to all motors

 reverse(4); // flips polarity of motors

 motorSpeed(4,20); //sets motor speed of all motors to 20%

 goFor(2);  //goes for 2 seconds