mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Improved TaskOnRoad logic
- direct route if path length on route is less than 5%
This commit is contained in:
@@ -1211,6 +1211,7 @@ do -- COORDINATE
|
||||
-- Include all points on road.
|
||||
for _,_vec2 in ipairs(path) do
|
||||
Path[#Path+1]=COORDINATE:NewFromVec2(_vec2)
|
||||
--COORDINATE:NewFromVec2(_vec2):SmokeGreen()
|
||||
end
|
||||
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user