Lab 12- Final Performance Test

Final run code:

reverse(4);
motorSpeed(4,35);
goToAbsolutePosition(245);
reverse(4);
motorSpeed(4,40);
goFor(1);
brake(4);
goFor(8);
reverse(4);
motorSpeed(4,35);
goToRelativePosition(78);
motorSpeed(4,0);
goFor(10);
reverse(4);
motorSpeed(4,40);
goToRelativePosition(-208);
reverse(4);
motorSpeed(4,60);
goFor(1);
motorSpeed(4,0);
goFor(9);
reverse(4);
motorSpeed(4,40);
goToRelativePosition(-99);
motorSpeed(4,0);
goToRelativePosition(-196);
reverse(4);
motorSpeed(4,55);
goFor(1);

199 Joules

  • Energy use was largest portion of budget and was spiked by power braking
  • Energy use reduction was prioritized over time, due to larger cost
  • Increased coasting and reduced power braking usage
  • Time of 50 seconds was consistent and was not a concern
  • Total Budget was $43,500 over the allotted cost
  • This could be reduced by using more coasting to reduce energy needs