aR&D 2 Code

Energy Analysis

The code we used for this aR&D was:

motorSpeed(4,30);  //set speed of all motors to 30% power
goFor(4);  //go for 4 seconds
motorSpeed(4,0);  //set speed of all motors to 0% power
goFor(10);  //go for 10 seconds