Current finding
We use two kind of ways to test how Our cars works better. The motor is pulling first time and push second time. We use the same code to both time to see which one works better. We can see from the pull graph, the first three time we start at a point that have a little conflict. So the pulling one can not move forwards. However It go backwards correctly.Compare to push graph, The fourth time of pull graph travels less distance. So we think push is a better way for car to move.
Research graph
The push graph
The pull Graph
Code
// Accelerate all motors from start to 25% in 3 seconds.
celerate(4,0,25,3);
// Run all motors at a constant speed (25% power) for 1 second.
motorSpeed(4,25);
goFor(1);
//Run all motors at 20% power for 2 seconds.
motorSpeed(4,20);
goFor(2);
//Reverse motors.
reverse(4);
//Run all motors at a constant speed of 25% power for 2 second.
motorSpeed(4,25);
goFor(2);
//Brake all motors.
brake(4);