further copy edits
This commit is contained in:
parent
149d037824
commit
ba0b664e3f
@ -77,6 +77,14 @@ local function parse_maxspeed(source)
|
|||||||
return n
|
return n
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- function turn_function (angle)
|
||||||
|
-- -- print ("called at angle " .. angle )
|
||||||
|
-- local index = math.abs(math.floor(angle/10+0.5))+1 -- +1 'coz LUA starts as idx 1
|
||||||
|
-- local penalty = turn_cost_table[index]
|
||||||
|
-- -- print ("index: " .. index .. ", bias: " .. penalty )
|
||||||
|
-- return penalty
|
||||||
|
-- end
|
||||||
|
|
||||||
function node_function (node)
|
function node_function (node)
|
||||||
local access = find_access_tag(node, access_tags_hierachy)
|
local access = find_access_tag(node, access_tags_hierachy)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user