mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
NAV
This commit is contained in:
@@ -59,13 +59,15 @@ FLIGHTPLAN = {
|
||||
fixes = {}
|
||||
}
|
||||
|
||||
--- Type of navaid
|
||||
--- Type of flightplan.
|
||||
-- @type FLIGHTPLAN.Type
|
||||
-- @field #string VOR VOR
|
||||
-- @field #string NDB NDB
|
||||
-- @field #string IFRH Instrument Flying Rules High Altitude.
|
||||
-- @field #string IFRL Instrument Flying Rules Low Altitude.
|
||||
-- @field #string VFR Visual Flight Rules.
|
||||
FLIGHTPLAN.TYPE={
|
||||
VOR="VOR",
|
||||
NDB="NDB",
|
||||
IFRH="IFR Heigh",
|
||||
IFRL="IFR Low",
|
||||
VFR="VFR",
|
||||
}
|
||||
|
||||
--- FLIGHTPLAN class version.
|
||||
@@ -198,6 +200,10 @@ end
|
||||
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -82,6 +82,8 @@ NAVFIX.version="0.0.1"
|
||||
|
||||
--- Create a new NAVFIX class instance.
|
||||
-- @param #NAVFIX self
|
||||
-- @param Core.Point#COORDINATE Coordinate of the fix.
|
||||
-- @param #string Name Name of the fix. Should be unique!
|
||||
-- @return #NAVFIX self
|
||||
function NAVFIX:New(Coordinate, Name)
|
||||
|
||||
@@ -133,7 +135,7 @@ function NAVFIX:SetCompulsory(Compulsory)
|
||||
return self
|
||||
end
|
||||
|
||||
--- Set whether this fix is compulsory.
|
||||
--- Set whether this is a fly-over fix fix.
|
||||
-- @param #NAVFIX self
|
||||
-- @param #boolean FlyOver If `true`, this is a fly over fix. If `false` or nil, it is not.
|
||||
-- @return #NAVFIX self
|
||||
@@ -142,7 +144,7 @@ function NAVFIX:SetFlyOver(FlyOver)
|
||||
return self
|
||||
end
|
||||
|
||||
--- Set whether this is the intermediate fix.
|
||||
--- Set whether this is the intermediate fix (IF).
|
||||
-- @param #NAVFIX self
|
||||
-- @param #boolean IntermediateFix If `true`, this is an intermediate fix.
|
||||
-- @return #NAVFIX self
|
||||
|
||||
Reference in New Issue
Block a user