use start direction (provided by locus) as turncost bias

This commit is contained in:
Arndt 2016-10-14 19:18:21 +02:00
parent 372673be7a
commit fdf06cbdd0
5 changed files with 34 additions and 1 deletions

View file

@ -60,6 +60,12 @@ public class BRouterWorker
rc.turnInstructionMode = 2;
}
}
if ( params.containsKey( "direction" ) )
{
rc.startDirection = Integer.valueOf( params.getInt( "direction" ) );
}
if ( nogoList != null )
{
rc.prepareNogoPoints( nogoList );