Lab 04: Design Analysis Tool

 

 

 

CSS1

///

celerate(4,0,25,3);
motorSpeed(4,25);
goFor(1);
celerate(4,25,20,2);
reverse(4);
motorSpeed(4,25);
goFor(2);
brake(4);

///

 

From 0 to 3 seconds, the Arduino is accelerating to a power of about 5 watts, before it starts to stay at a constant velocity for 1 second. After one second has passed by, it starts to decelerate for 2 seconds. Then all the motors changed direction, then started to stay at a constant velocity for 2 seconds. After 2 seconds has passed by, the brake command was invoked, so all power was turned off for the remaining part.