mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Merge branch 'master' into develop
This commit is contained in:
commit
fd4e478dbf
@ -1,4 +1,4 @@
|
|||||||
--- **Functional** -- Modular, Automatic and Network capable Targeting and Interception System for Air Defenses
|
--- **Functional** -- Modular, Automatic and Network capable Targeting and Interception System for Air Defenses
|
||||||
--
|
--
|
||||||
-- ===
|
-- ===
|
||||||
--
|
--
|
||||||
@ -37,7 +37,7 @@
|
|||||||
-- @field #table SAM_Table Table of SAM sites
|
-- @field #table SAM_Table Table of SAM sites
|
||||||
-- @field #string lid Prefix for logging
|
-- @field #string lid Prefix for logging
|
||||||
-- @field @{#Functional.Detection#DETECTION_AREAS} Detection The #DETECTION_AREAS object for EWR
|
-- @field @{#Functional.Detection#DETECTION_AREAS} Detection The #DETECTION_AREAS object for EWR
|
||||||
-- @field @{Functional.Detection#DETECTION_AREAS} AWACS_Detection The #DETECTION_AREAS object for AWACS
|
-- @field @{#Functional.Detection#DETECTION_AREAS} AWACS_Detection The #DETECTION_AREAS object for AWACS
|
||||||
-- @field #boolean debug Switch on extra messages
|
-- @field #boolean debug Switch on extra messages
|
||||||
-- @field #boolean verbose Switch on extra logging
|
-- @field #boolean verbose Switch on extra logging
|
||||||
-- @field #number checkradius Radius of the SAM sites
|
-- @field #number checkradius Radius of the SAM sites
|
||||||
@ -181,6 +181,26 @@ do
|
|||||||
--@param #boolean dynamic Use constant (true) filtering or just filter once (false, default) (optional)
|
--@param #boolean dynamic Use constant (true) filtering or just filter once (false, default) (optional)
|
||||||
--@param #string awacs Group name of your Awacs (optional)
|
--@param #string awacs Group name of your Awacs (optional)
|
||||||
--@return #MANTIS self
|
--@return #MANTIS self
|
||||||
|
--@usage Start up your MANTIS with a basic setting
|
||||||
|
--
|
||||||
|
-- `myredmantis = MANTIS:New("myredmantis","Red SAM","Red EWR",nil,"red",false)`
|
||||||
|
-- `myredmantis:Start()`
|
||||||
|
--
|
||||||
|
-- [optional] Use
|
||||||
|
--
|
||||||
|
-- * `MANTIS:SetEWRGrouping(radius)`
|
||||||
|
-- * `MANTIS:SetEWRRange(radius)`
|
||||||
|
-- * `MANTIS:SetSAMRadius(radius)`
|
||||||
|
-- * `MANTIS:SetDetectInterval(interval)`
|
||||||
|
-- * `MANTIS:SetAutoRelocate(hq, ewr)`
|
||||||
|
--
|
||||||
|
-- before starting #MANTIS to fine-tune your setup.
|
||||||
|
--
|
||||||
|
-- If you want to use a separate AWACS unit (default detection range: 250km) to support your EWR system, use e.g. the following setup:
|
||||||
|
--
|
||||||
|
-- `mybluemantis = MANTIS:New("bluemantis","Blue SAM","Blue EWR",nil,"blue",false,"Blue Awacs")`
|
||||||
|
-- `mybluemantis:Start()`
|
||||||
|
--
|
||||||
function MANTIS:New(name,samprefix,ewrprefix,hq,coaltion,dynamic,awacs)
|
function MANTIS:New(name,samprefix,ewrprefix,hq,coaltion,dynamic,awacs)
|
||||||
|
|
||||||
-- DONE: Create some user functions for these
|
-- DONE: Create some user functions for these
|
||||||
@ -535,7 +555,7 @@ do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
--- Function to check if any object is in the given SAM zone
|
--- (Internal) Function to check if any object is in the given SAM zone
|
||||||
-- @param #MANTIS self
|
-- @param #MANTIS self
|
||||||
-- @param #table dectset Table of coordinates of detected items
|
-- @param #table dectset Table of coordinates of detected items
|
||||||
-- @param samcoordinate Core.Point#COORDINATE Coordinate object.
|
-- @param samcoordinate Core.Point#COORDINATE Coordinate object.
|
||||||
@ -562,7 +582,7 @@ do
|
|||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
--- Function to start the detection via EWR groups
|
--- (Internal) Function to start the detection via EWR groups
|
||||||
-- @param #MANTIS self
|
-- @param #MANTIS self
|
||||||
-- @return Functional.Detection #DETECTION_AREAS The running detection set
|
-- @return Functional.Detection #DETECTION_AREAS The running detection set
|
||||||
function MANTIS:StartDetection()
|
function MANTIS:StartDetection()
|
||||||
@ -593,7 +613,7 @@ do
|
|||||||
return _MANTISdetection
|
return _MANTISdetection
|
||||||
end
|
end
|
||||||
|
|
||||||
--- Function to start the detection via AWACS if defined as separate
|
--- (Internal) Function to start the detection via AWACS if defined as separate
|
||||||
-- @param #MANTIS self
|
-- @param #MANTIS self
|
||||||
-- @return Functional.Detection #DETECTION_AREAS The running detection set
|
-- @return Functional.Detection #DETECTION_AREAS The running detection set
|
||||||
function MANTIS:StartAwacsDetection()
|
function MANTIS:StartAwacsDetection()
|
||||||
@ -625,7 +645,7 @@ do
|
|||||||
return _MANTISAwacs
|
return _MANTISAwacs
|
||||||
end
|
end
|
||||||
|
|
||||||
--- Function to set the SAM start state
|
--- (Internal) Function to set the SAM start state
|
||||||
-- @param #MANTIS self
|
-- @param #MANTIS self
|
||||||
-- @return #MANTIS self
|
-- @return #MANTIS self
|
||||||
function MANTIS:SetSAMStartState()
|
function MANTIS:SetSAMStartState()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user