This commit is contained in:
Victor Shcherb 2018-01-24 23:27:37 +01:00
parent f2578df4ed
commit 2b8ed9aa28

View file

@ -1214,7 +1214,7 @@ public class RouteResultPreparation {
double mpi = Math.abs(MapUtils.degreesDiff(prevSegm.getBearingEnd(), attached.getBearingBegin()));
int rsSpeakPriority = highwaySpeakPriority(attached.getObject().getHighway());
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 smallTargetVariation = Math.abs(ex) < TURN_DEGREE_MIN;
boolean attachedOnTheRight = ex >= 0;