back out test

This commit is contained in:
sonora 2016-05-23 21:22:33 +02:00
parent 22a1548573
commit 99f8f384be

View file

@ -922,10 +922,9 @@ public class RouteResultPreparation {
} }
} }
// sometimes links are // sometimes links are
//Temporary test to see how this affects Issue #2571 if ((current <= rs.leftLanes + rs.rightLanes) && (rs.leftLanes > 1 || rs.rightLanes > 1)) {
// if ((current <= rs.leftLanes + rs.rightLanes) && (rs.leftLanes > 1 || rs.rightLanes > 1)) { rs.speak = true;
// rs.speak = true; }
// }
double devation = Math.abs(MapUtils.degreesDiff(prevSegm.getBearingEnd(), currentSegm.getBearingBegin())); double devation = Math.abs(MapUtils.degreesDiff(prevSegm.getBearingEnd(), currentSegm.getBearingBegin()));
boolean makeSlightTurn = devation > 5 && (!isMotorway(prevSegm) || !isMotorway(currentSegm)); boolean makeSlightTurn = devation > 5 && (!isMotorway(prevSegm) || !isMotorway(currentSegm));
TurnType t = null; TurnType t = null;