Lab 1

Progress Report Question 

  • The electric motors did not start right away most likely due to activation energy required to get past the static friction. This needs to be taken into account when we use the motors on low speed.

Deliverables 

Basic Function Calls

  • celerate(t,p1,p2,t) – accelerates a motor for a given amount of time
  • motorSpeed(m,p) – Sets a selected motor to a selected speed
  • goFor(t) – tells how long a motor should run or brake for
  • reverse(m)– tells motor the polarity it is headed
  • brake(m) – stops the motor from running
  • gotoAbsolutePosition(mark) – tells the motor how far it needs to travel from the origin
  • goToReletivePosition(mark) – tells the motor how far to travel before stopping
  • reflectanceSensorTest()– Tests to make sure sensors are working properly