Fix #4666
This commit is contained in:
parent
f2578df4ed
commit
2b8ed9aa28
1 changed files with 1 additions and 1 deletions
|
@ -1214,7 +1214,7 @@ public class RouteResultPreparation {
|
||||||
double mpi = Math.abs(MapUtils.degreesDiff(prevSegm.getBearingEnd(), attached.getBearingBegin()));
|
double mpi = Math.abs(MapUtils.degreesDiff(prevSegm.getBearingEnd(), attached.getBearingBegin()));
|
||||||
int rsSpeakPriority = highwaySpeakPriority(attached.getObject().getHighway());
|
int rsSpeakPriority = highwaySpeakPriority(attached.getObject().getHighway());
|
||||||
int lanes = countLanesMinOne(attached);
|
int lanes = countLanesMinOne(attached);
|
||||||
int[] turnLanes = parseTurnLanes(attached.getObject(), attached.getBearingBegin());
|
int[] turnLanes = parseTurnLanes(attached.getObject(), attached.getBearingBegin() * Math.PI / 180);
|
||||||
boolean smallStraightVariation = mpi < TURN_DEGREE_MIN;
|
boolean smallStraightVariation = mpi < TURN_DEGREE_MIN;
|
||||||
boolean smallTargetVariation = Math.abs(ex) < TURN_DEGREE_MIN;
|
boolean smallTargetVariation = Math.abs(ex) < TURN_DEGREE_MIN;
|
||||||
boolean attachedOnTheRight = ex >= 0;
|
boolean attachedOnTheRight = ex >= 0;
|
||||||
|
|
Loading…
Reference in a new issue