mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Adding route name fetch to getGroupRoute()
This commit is contained in:
parent
ff0f62c01b
commit
c72625c60f
@ -1631,6 +1631,11 @@ function routines.getGroupRoute(groupIdent, task) -- same as getGroupPoints bu
|
|||||||
|
|
||||||
for point_num, point in pairs(group_data.route.points) do
|
for point_num, point in pairs(group_data.route.points) do
|
||||||
local routeData = {}
|
local routeData = {}
|
||||||
|
if env.mission.version > 7 then
|
||||||
|
routeData.name = env.getValueDictByKey(point.name)
|
||||||
|
else
|
||||||
|
routeData.name = point.name
|
||||||
|
end
|
||||||
if not point.point then
|
if not point.point then
|
||||||
routeData.x = point.x
|
routeData.x = point.x
|
||||||
routeData.y = point.y
|
routeData.y = point.y
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user