System.out.println("setSpeedTurnLeft: input-> " + Integer.toString(timePosition));\r
}\r
int timePosLocal = normalizeTime(timePosition);\r
- int motorUpTime =\r
- (timePosLocal * 100 + ((100 - timePosLocal) * (100 - agilityFactor))) * speedFactor;\r
+ int motorUpTime = (timePosLocal * 100 + ((100 - timePosLocal) * (100 - agilityFactor))) * speedFactor;\r
if (motorUpTime == 0) {\r
motorUpTime = 1;\r
// System.out.println("returning....");\r
System.out.println("setSpeedTurnRight: input-> " + Integer.toString(timePosition));\r
}\r
int timePos = normalizeTime(timePosition);\r
- int motorUpTime =\r
- ((timePos * 100) + ((100 - timePos) * (100 - agilityFactor))) * speedFactor;\r
+ int motorUpTime = ((timePos * 100) + ((100 - timePos) * (100 - agilityFactor))) * speedFactor;\r
if (motorUpTime == 0) {\r
motorUpTime = 1;\r
// System.out.println("returning....");\r