export Oruxmaps Navigation instructions
This commit is contained in:
parent
1fd007d043
commit
8dca375589
1 changed files with 21 additions and 0 deletions
|
@ -159,6 +159,27 @@ public class VoiceHint
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int getOruxAction()
|
||||||
|
{
|
||||||
|
switch ( cmd )
|
||||||
|
{
|
||||||
|
case TU : return 1003;
|
||||||
|
case TSHL : return 1019;
|
||||||
|
case TL : return 1000;
|
||||||
|
case TSLL : return 1017;
|
||||||
|
case KL : return 1015; // ?
|
||||||
|
case C : return 1002;
|
||||||
|
case KR : return 1014; // ?
|
||||||
|
case TSLR : return 1016;
|
||||||
|
case TR : return 1001;
|
||||||
|
case TSHR : return 1018;
|
||||||
|
case TRU : return 1003;
|
||||||
|
case RNDB : return 1008 + roundaboutExit;
|
||||||
|
case RNLB : return 1008 + roundaboutExit;
|
||||||
|
default : throw new IllegalArgumentException( "unknown command: " + cmd );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void calcCommand()
|
public void calcCommand()
|
||||||
{
|
{
|
||||||
float lowerBadWayAngle = -181;
|
float lowerBadWayAngle = -181;
|
||||||
|
|
Loading…
Reference in a new issue