better code for test

This commit is contained in:
sonora 2016-05-23 16:53:53 +02:00
parent d4b8f8ea17
commit c2be29b0f2

View file

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