Add comments to profiles about uturn

This commit is contained in:
Patrick Niklaus 2015-12-18 15:54:33 +01:00
parent a37192c102
commit c27fc4e4d8
2 changed files with 4 additions and 2 deletions

View File

@ -90,12 +90,13 @@ surface_speeds = {
["sand"] = 3
}
-- these need to be global because they are accesed externaly
traffic_signal_penalty = 2
use_turn_restrictions = false
u_turn_penalty = 20
local obey_oneway = true
local ignore_areas = true
u_turn_penalty = 20
local turn_penalty = 60
local turn_bias = 1.4
-- reduce the driving speed by 30% for unsafe roads

View File

@ -128,6 +128,8 @@ maxspeed_table = {
["uk:motorway"] = (70*1609)/1000
}
-- these need to be global because they are accesed externaly
u_turn_penalty = 20
traffic_signal_penalty = 2
use_turn_restrictions = true
@ -138,7 +140,6 @@ local turn_bias = 1.2
local obey_oneway = true
local ignore_areas = true
u_turn_penalty = 20
local abs = math.abs
local min = math.min