mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Extended the Waypoint functions of COORDINATE with new methods for Air operations:
* function COORDINATE:WaypointAirTurningPoint( AltType, Speed ) * function COORDINATE:WaypointAirFlyOverPoint( AltType, Speed ) * function COORDINATE:WaypointAirTakeOffParkingHot( AltType, Speed ) * function COORDINATE:WaypointAirTakeOffParking( AltType, Speed ) * function COORDINATE:WaypointAirTakeOffRunway( AltType, Speed ) * function COORDINATE:WaypointAirLanding( Speed )
This commit is contained in:
@@ -556,18 +556,72 @@
|
||||
<td class="name" nowrap="nowrap"><a href="##(COORDINATE).Velocity">COORDINATE.Velocity</a></td>
|
||||
<td class="summary">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="name" nowrap="nowrap"><a href="##(COORDINATE).WaypointAction">COORDINATE.WaypointAction</a></td>
|
||||
<td class="summary">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="name" nowrap="nowrap"><a href="##(COORDINATE).WaypointAir">COORDINATE:WaypointAir(AltType, Type, Action, Speed, SpeedLocked)</a></td>
|
||||
<td class="summary">
|
||||
<p>Build an air type route point.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="name" nowrap="nowrap"><a href="##(COORDINATE).WaypointAirFlyOverPoint">COORDINATE:WaypointAirFlyOverPoint(AltType, Speed)</a></td>
|
||||
<td class="summary">
|
||||
<p>Build a Waypoint Air "Fly Over Point".</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="name" nowrap="nowrap"><a href="##(COORDINATE).WaypointAirLanding">COORDINATE:WaypointAirLanding(Speed)</a></td>
|
||||
<td class="summary">
|
||||
<p>Build a Waypoint Air "Landing".</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="name" nowrap="nowrap"><a href="##(COORDINATE).WaypointAirTakeOffParking">COORDINATE:WaypointAirTakeOffParking(AltType, Speed)</a></td>
|
||||
<td class="summary">
|
||||
<p>Build a Waypoint Air "Take Off Parking".</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="name" nowrap="nowrap"><a href="##(COORDINATE).WaypointAirTakeOffParkingHot">COORDINATE:WaypointAirTakeOffParkingHot(AltType, Speed)</a></td>
|
||||
<td class="summary">
|
||||
<p>Build a Waypoint Air "Take Off Parking Hot".</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="name" nowrap="nowrap"><a href="##(COORDINATE).WaypointAirTakeOffRunway">COORDINATE:WaypointAirTakeOffRunway(AltType, Speed)</a></td>
|
||||
<td class="summary">
|
||||
<p>Build a Waypoint Air "Take Off Runway".</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="name" nowrap="nowrap"><a href="##(COORDINATE).WaypointAirTurningPoint">COORDINATE:WaypointAirTurningPoint(AltType, Speed)</a></td>
|
||||
<td class="summary">
|
||||
<p>Build a Waypoint Air "Turning Point".</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="name" nowrap="nowrap"><a href="##(COORDINATE).WaypointAltType">COORDINATE.WaypointAltType</a></td>
|
||||
<td class="summary">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="name" nowrap="nowrap"><a href="##(COORDINATE).WaypointGround">COORDINATE:WaypointGround(Speed, Formation)</a></td>
|
||||
<td class="summary">
|
||||
<p>Build an ground type route point.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="name" nowrap="nowrap"><a href="##(COORDINATE).WaypointType">COORDINATE.WaypointType</a></td>
|
||||
<td class="summary">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -2860,6 +2914,20 @@ The new calculated COORDINATE.</p>
|
||||
|
||||
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="function">
|
||||
<dt>
|
||||
|
||||
<em></em>
|
||||
<a id="#(COORDINATE).WaypointAction" >
|
||||
<strong>COORDINATE.WaypointAction</strong>
|
||||
</a>
|
||||
</dt>
|
||||
<dd>
|
||||
|
||||
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="function">
|
||||
@@ -2877,19 +2945,19 @@ The new calculated COORDINATE.</p>
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
<p><code><em><a href="##(COORDINATE.RoutePointAltType)">#COORDINATE.RoutePointAltType</a> AltType </em></code>:
|
||||
<p><code><em><a href="##(COORDINATE.WaypointAltType)">#COORDINATE.WaypointAltType</a> AltType </em></code>:
|
||||
The altitude type.</p>
|
||||
|
||||
</li>
|
||||
<li>
|
||||
|
||||
<p><code><em><a href="##(COORDINATE.RoutePointType)">#COORDINATE.RoutePointType</a> Type </em></code>:
|
||||
<p><code><em><a href="##(COORDINATE.WaypointType)">#COORDINATE.WaypointType</a> Type </em></code>:
|
||||
The route point type.</p>
|
||||
|
||||
</li>
|
||||
<li>
|
||||
|
||||
<p><code><em><a href="##(COORDINATE.RoutePointAction)">#COORDINATE.RoutePointAction</a> Action </em></code>:
|
||||
<p><code><em><a href="##(COORDINATE.WaypointAction)">#COORDINATE.WaypointAction</a> Action </em></code>:
|
||||
The route point action.</p>
|
||||
|
||||
</li>
|
||||
@@ -2911,6 +2979,220 @@ true means the speed is locked.</p>
|
||||
<p><em>#table:</em>
|
||||
The route point.</p>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="function">
|
||||
<dt>
|
||||
|
||||
<a id="#(COORDINATE).WaypointAirFlyOverPoint" >
|
||||
<strong>COORDINATE:WaypointAirFlyOverPoint(AltType, Speed)</strong>
|
||||
</a>
|
||||
</dt>
|
||||
<dd>
|
||||
|
||||
<p>Build a Waypoint Air "Fly Over Point".</p>
|
||||
|
||||
<h3>Parameters</h3>
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
<p><code><em><a href="##(COORDINATE.WaypointAltType)">#COORDINATE.WaypointAltType</a> AltType </em></code>:
|
||||
The altitude type.</p>
|
||||
|
||||
</li>
|
||||
<li>
|
||||
|
||||
<p><code><em><a href="Dcs.DCSTypes.html##(Speed)">Dcs.DCSTypes#Speed</a> Speed </em></code>:
|
||||
Airspeed in km/h.</p>
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
<h3>Return value</h3>
|
||||
|
||||
<p><em>#table:</em>
|
||||
The route point.</p>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="function">
|
||||
<dt>
|
||||
|
||||
<a id="#(COORDINATE).WaypointAirLanding" >
|
||||
<strong>COORDINATE:WaypointAirLanding(Speed)</strong>
|
||||
</a>
|
||||
</dt>
|
||||
<dd>
|
||||
|
||||
<p>Build a Waypoint Air "Landing".</p>
|
||||
|
||||
<h3>Parameter</h3>
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
<p><code><em><a href="Dcs.DCSTypes.html##(Speed)">Dcs.DCSTypes#Speed</a> Speed </em></code>:
|
||||
Airspeed in km/h.</p>
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
<h3>Return value</h3>
|
||||
|
||||
<p><em>#table:</em>
|
||||
The route point.</p>
|
||||
|
||||
<h3>Usage:</h3>
|
||||
<pre class="example"><code>
|
||||
LandingZone = ZONE:New( "LandingZone" )
|
||||
LandingCoord = LandingZone:GetCoordinate()
|
||||
LandingWaypoint = LandingCoord:WaypointAirLanding( 60 )
|
||||
HeliGroup:Route( { LandWaypoint }, 1 ) -- Start landing the helicopter in one second.
|
||||
</code></pre>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="function">
|
||||
<dt>
|
||||
|
||||
<a id="#(COORDINATE).WaypointAirTakeOffParking" >
|
||||
<strong>COORDINATE:WaypointAirTakeOffParking(AltType, Speed)</strong>
|
||||
</a>
|
||||
</dt>
|
||||
<dd>
|
||||
|
||||
<p>Build a Waypoint Air "Take Off Parking".</p>
|
||||
|
||||
<h3>Parameters</h3>
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
<p><code><em><a href="##(COORDINATE.WaypointAltType)">#COORDINATE.WaypointAltType</a> AltType </em></code>:
|
||||
The altitude type.</p>
|
||||
|
||||
</li>
|
||||
<li>
|
||||
|
||||
<p><code><em><a href="Dcs.DCSTypes.html##(Speed)">Dcs.DCSTypes#Speed</a> Speed </em></code>:
|
||||
Airspeed in km/h.</p>
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
<h3>Return value</h3>
|
||||
|
||||
<p><em>#table:</em>
|
||||
The route point.</p>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="function">
|
||||
<dt>
|
||||
|
||||
<a id="#(COORDINATE).WaypointAirTakeOffParkingHot" >
|
||||
<strong>COORDINATE:WaypointAirTakeOffParkingHot(AltType, Speed)</strong>
|
||||
</a>
|
||||
</dt>
|
||||
<dd>
|
||||
|
||||
<p>Build a Waypoint Air "Take Off Parking Hot".</p>
|
||||
|
||||
<h3>Parameters</h3>
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
<p><code><em><a href="##(COORDINATE.WaypointAltType)">#COORDINATE.WaypointAltType</a> AltType </em></code>:
|
||||
The altitude type.</p>
|
||||
|
||||
</li>
|
||||
<li>
|
||||
|
||||
<p><code><em><a href="Dcs.DCSTypes.html##(Speed)">Dcs.DCSTypes#Speed</a> Speed </em></code>:
|
||||
Airspeed in km/h.</p>
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
<h3>Return value</h3>
|
||||
|
||||
<p><em>#table:</em>
|
||||
The route point.</p>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="function">
|
||||
<dt>
|
||||
|
||||
<a id="#(COORDINATE).WaypointAirTakeOffRunway" >
|
||||
<strong>COORDINATE:WaypointAirTakeOffRunway(AltType, Speed)</strong>
|
||||
</a>
|
||||
</dt>
|
||||
<dd>
|
||||
|
||||
<p>Build a Waypoint Air "Take Off Runway".</p>
|
||||
|
||||
<h3>Parameters</h3>
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
<p><code><em><a href="##(COORDINATE.WaypointAltType)">#COORDINATE.WaypointAltType</a> AltType </em></code>:
|
||||
The altitude type.</p>
|
||||
|
||||
</li>
|
||||
<li>
|
||||
|
||||
<p><code><em><a href="Dcs.DCSTypes.html##(Speed)">Dcs.DCSTypes#Speed</a> Speed </em></code>:
|
||||
Airspeed in km/h.</p>
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
<h3>Return value</h3>
|
||||
|
||||
<p><em>#table:</em>
|
||||
The route point.</p>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="function">
|
||||
<dt>
|
||||
|
||||
<a id="#(COORDINATE).WaypointAirTurningPoint" >
|
||||
<strong>COORDINATE:WaypointAirTurningPoint(AltType, Speed)</strong>
|
||||
</a>
|
||||
</dt>
|
||||
<dd>
|
||||
|
||||
<p>Build a Waypoint Air "Turning Point".</p>
|
||||
|
||||
<h3>Parameters</h3>
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
<p><code><em><a href="##(COORDINATE.WaypointAltType)">#COORDINATE.WaypointAltType</a> AltType </em></code>:
|
||||
The altitude type.</p>
|
||||
|
||||
</li>
|
||||
<li>
|
||||
|
||||
<p><code><em><a href="Dcs.DCSTypes.html##(Speed)">Dcs.DCSTypes#Speed</a> Speed </em></code>:
|
||||
Airspeed in km/h.</p>
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
<h3>Return value</h3>
|
||||
|
||||
<p><em>#table:</em>
|
||||
The route point.</p>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="function">
|
||||
<dt>
|
||||
|
||||
<em></em>
|
||||
<a id="#(COORDINATE).WaypointAltType" >
|
||||
<strong>COORDINATE.WaypointAltType</strong>
|
||||
</a>
|
||||
</dt>
|
||||
<dd>
|
||||
|
||||
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="function">
|
||||
@@ -2944,6 +3226,20 @@ The route point.</p>
|
||||
<p><em>#table:</em>
|
||||
The route point.</p>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="function">
|
||||
<dt>
|
||||
|
||||
<em></em>
|
||||
<a id="#(COORDINATE).WaypointType" >
|
||||
<strong>COORDINATE.WaypointType</strong>
|
||||
</a>
|
||||
</dt>
|
||||
<dd>
|
||||
|
||||
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="function">
|
||||
@@ -2989,11 +3285,11 @@ The route point.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h2><a id="#(COORDINATE.RoutePointAction)" >Type <code>COORDINATE.RoutePointAction</code></a></h2>
|
||||
<h2><a id="#(COORDINATE.WaypointAction)" >Type <code>COORDINATE.WaypointAction</code></a></h2>
|
||||
|
||||
<h2><a id="#(COORDINATE.RoutePointAltType)" >Type <code>COORDINATE.RoutePointAltType</code></a></h2>
|
||||
<h2><a id="#(COORDINATE.WaypointAltType)" >Type <code>COORDINATE.WaypointAltType</code></a></h2>
|
||||
|
||||
<h2><a id="#(COORDINATE.RoutePointType)" >Type <code>COORDINATE.RoutePointType</code></a></h2>
|
||||
<h2><a id="#(COORDINATE.WaypointType)" >Type <code>COORDINATE.WaypointType</code></a></h2>
|
||||
|
||||
<h2><a id="#(POINT_VEC2)" >Type <code>POINT_VEC2</code></a></h2>
|
||||
<h3>Field(s)</h3>
|
||||
|
||||
Reference in New Issue
Block a user