Lab 4 – External Sensors & Rapid Prototyping Details

 Description: The motors will run on the inside curved track on the left side of the classroom.

//reverse all motors
  reverse(4);
//all motors @ constant speed 25% for 2 seconds
  motorSpeed(4,25);
  goFor(2);
  //motors run at 20% for 13.5 ft
   motorSpeed(4,20);
  goToAbsolutePosition(332.3);
  //reverse all motors
  reverse(4);
  //all motors @ 30% speed for 1 second
  motorSpeed(4,30);
  goFor(1);
  //brake all motors
  brake(4);