better code for test
This commit is contained in:
parent
d4b8f8ea17
commit
c2be29b0f2
1 changed files with 4 additions and 4 deletions
|
@ -922,10 +922,10 @@ public class RouteResultPreparation {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// sometimes links are
|
// sometimes links are
|
||||||
if ((current <= rs.leftLanes + rs.rightLanes) && (rs.leftLanes > 1 || rs.rightLanes > 1)) {
|
|
||||||
// Temporary test: See if this fixes Issue #2571
|
// Temporary test: See if this fixes Issue #2571
|
||||||
//rs.speak = true;
|
//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()));
|
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;
|
||||||
|
|
Loading…
Reference in a new issue