From 639625d3d58caf97dec5c684842601b5b84294d0 Mon Sep 17 00:00:00 2001 From: Frank Date: Sun, 13 Aug 2023 14:16:40 +0200 Subject: [PATCH] Update FlightControl.lua --- Moose Development/Moose/Ops/FlightControl.lua | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Moose Development/Moose/Ops/FlightControl.lua b/Moose Development/Moose/Ops/FlightControl.lua index adcb5c660..658a44e7e 100644 --- a/Moose Development/Moose/Ops/FlightControl.lua +++ b/Moose Development/Moose/Ops/FlightControl.lua @@ -293,6 +293,10 @@ FLIGHTCONTROL = { -- @field Core.Point#COORDINATE pos1 Second position of racetrack holding pattern. -- @field #number heading Heading. +--- Holding point for runway. +-- @type FLIGHTCONTROL.HoldingPoint +-- @field Core.Zone#ZONE zone Zone that marks this holding point. +-- @field #string runway Name of the runway this holding point is for. --- Parking spot data. -- @type FLIGHTCONTROL.ParkingSpot @@ -816,6 +820,22 @@ function FLIGHTCONTROL:SetMarkHoldingPattern(Switch) return self end + +--- Add a holding point. This is the area on the taxi way, where aircraft are told to hold until they get taxi clearance. +-- @param #FLIGHTCONTROL self +-- @param Core.Zone#ZONE HoldingZone Zone where planes . +-- @param #string RunwayName Name of the runway. +-- @return #FLIGHTCONTROL.HoldingPoint Holding point table. +function FLIGHTCONTROL:AddHoldingPoint(HoldingZone, RunwayName) + + local hp={} --#FLIGHTCONTROL.HoldingPoint + + hp.zone=HoldingZone + hp.runway=RunwayName + +end + + --- Set speed limit for taxiing. -- @param #FLIGHTCONTROL self -- @param #number SpeedLimit Speed limit in knots. If `nil`, no speed limit.