 Ultrasonic backUltrasonic(B_ECHO, B_TRIG, true);
 
 //Move controls
-float v_max = 5;
-float t_acceleration = 0.5;
+float v_max = 24;
+float t_acceleration = 0;
 
 float getRotation();
 

  float time_travel = (distance/v_max) - t_acceleration;
  leftMotor.set(leftSpeed);
  rightMotor.set(rightSpeed);
  delay(time_travel/1000);
  leftMotor.set(0);
  rightMotor.set(0);
}


#include "FreqCount.h"

#define LEFT_MOTOR_1 6
#define LEFT_MOTOR_2 7

#define RIGHT_MOTOR_1 8
#define RIGHT_MOTOR_2 9

#define IR_PIN_LEFT 6
#define IR_PIN_RIGHT 20
