Add comments to profiles about uturn
This commit is contained in:
parent
a37192c102
commit
c27fc4e4d8
@ -90,12 +90,13 @@ surface_speeds = {
|
|||||||
["sand"] = 3
|
["sand"] = 3
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-- these need to be global because they are accesed externaly
|
||||||
traffic_signal_penalty = 2
|
traffic_signal_penalty = 2
|
||||||
use_turn_restrictions = false
|
use_turn_restrictions = false
|
||||||
|
u_turn_penalty = 20
|
||||||
|
|
||||||
local obey_oneway = true
|
local obey_oneway = true
|
||||||
local ignore_areas = true
|
local ignore_areas = true
|
||||||
u_turn_penalty = 20
|
|
||||||
local turn_penalty = 60
|
local turn_penalty = 60
|
||||||
local turn_bias = 1.4
|
local turn_bias = 1.4
|
||||||
-- reduce the driving speed by 30% for unsafe roads
|
-- reduce the driving speed by 30% for unsafe roads
|
||||||
|
@ -128,6 +128,8 @@ maxspeed_table = {
|
|||||||
["uk:motorway"] = (70*1609)/1000
|
["uk:motorway"] = (70*1609)/1000
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-- these need to be global because they are accesed externaly
|
||||||
|
u_turn_penalty = 20
|
||||||
traffic_signal_penalty = 2
|
traffic_signal_penalty = 2
|
||||||
use_turn_restrictions = true
|
use_turn_restrictions = true
|
||||||
|
|
||||||
@ -138,7 +140,6 @@ local turn_bias = 1.2
|
|||||||
|
|
||||||
local obey_oneway = true
|
local obey_oneway = true
|
||||||
local ignore_areas = true
|
local ignore_areas = true
|
||||||
u_turn_penalty = 20
|
|
||||||
|
|
||||||
local abs = math.abs
|
local abs = math.abs
|
||||||
local min = math.min
|
local min = math.min
|
||||||
|
Loading…
Reference in New Issue
Block a user