leftMotor.setAcceleration(Constants.acceleration);
rightMotor.stop(true);
leftMotor.stop(true);
+ measMotor.stop(true);
}
protected void measureLake(){
long time = System.currentTimeMillis();
rightMotor.backward();
leftMotor.backward();
- while(System.currentTimeMillis()-time<500){
+ while(System.currentTimeMillis()-time < 250){
Thread.yield();
}