added consumed angle for roundabout
This commit is contained in:
parent
156d5f9f98
commit
cfe3ff536a
1 changed files with 1 additions and 0 deletions
|
|
@ -116,6 +116,7 @@ public final class VoiceHintProcessor {
|
||||||
input.angle = roundAboutTurnAngle;
|
input.angle = roundAboutTurnAngle;
|
||||||
input.goodWay.turnangle = roundAboutTurnAngle;
|
input.goodWay.turnangle = roundAboutTurnAngle;
|
||||||
input.distanceToNext = distance;
|
input.distanceToNext = distance;
|
||||||
|
input.turnAngleConsumed = true;
|
||||||
//input.roundaboutExit = startTurn < 0 ? roundaboutExit : -roundaboutExit;
|
//input.roundaboutExit = startTurn < 0 ? roundaboutExit : -roundaboutExit;
|
||||||
input.roundaboutExit = roundAboutTurnAngle < 0 ? roundaboutExit : -roundaboutExit;
|
input.roundaboutExit = roundAboutTurnAngle < 0 ? roundaboutExit : -roundaboutExit;
|
||||||
float tmpangle = 0;
|
float tmpangle = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue