-- @/lua/ge/map.lua:3226
local function debugDrawTrajectory(trajectory)
if trajectory then
drawTrajectory = trajectoryVisualDebug
trajectoryToDraw = trajectory
else
drawTrajectory = nop
trajectoryToDraw = nil
end
end
local trajectory = map.optimizePath(path, settings) -- will run the optimization off-line
--map.debugDrawTrajectory(trajectory)
return trajectory