ADV R&D Energy Analysis

motorSpeed(4,30);

 //set motor speeds to 30

 goFor(4);        

 //go for 4 seconds

 motorSpeed(4,0);

 //shut off motors

goFor(10);