Energy vs Time
Energy vs Distance
Arduino Code:
celerate(4,0,25,3);
goFor(1);
motorSpeed(4,20);
goFor(2);
reverse(4);
motorSpeed(4,25);
goFor(2);
brake(4);
In the Energy vs Time graph, as time goes on, the power speeds of the motors fluctuate. When the line goes up, the speed increases. When the lines go down, the speed decreases. As the AEV moves, the power changes in the Energy vs Distance graph. The long straight vertical lines are when the AEV brakes or reverses. When the line goes up, the power increases as the distance increases. When the line goes down, the power decreases as the distance increases.