mirror of
https://github.com/FlightControl-Master/MOOSE_DOCS.git
synced 2026-08-17 03:11:22 +00:00
MOOSE generated documentation [skip ci]
This commit is contained in:
@@ -2058,6 +2058,18 @@ Use the method <a href="AI.AI_Cap.html##(AI_AIR_PATROL).SetEngageZone">AI.AI_Cap
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(AI_AIR_PATROL).RTBRoute">AI_AIR_PATROL.RTBRoute(AIGroup, Fsm)</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(AI_AIR_PATROL).RTBSpeedMaxFactor">AI_AIR_PATROL.RTBSpeedMaxFactor</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(AI_AIR_PATROL).RTBSpeedMinFactor">AI_AIR_PATROL.RTBSpeedMinFactor</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
@@ -2112,6 +2124,12 @@ Use the method <a href="AI.AI_Cap.html##(AI_AIR_PATROL).SetEngageZone">AI.AI_Cap
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(AI_AIR_PATROL).SetRTBSpeed">AI_AIR_PATROL:SetRTBSpeed(RTBMinSpeed, RTBMaxSpeed)</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
<p>Sets (modifies) the minimum and maximum RTB speed of the patrol.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(AI_AIR_PATROL).SetRTBSpeedFactors">AI_AIR_PATROL:SetRTBSpeedFactors(MinFactor, MaxFactor)</a></p></td>
|
||||
<td class="summary w3-half w3-container" style="word-wrap: break-word">
|
||||
<p>Set the min and max factors on RTB speed.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="w3-border">
|
||||
@@ -6117,6 +6135,68 @@ Once the time is finished, the old AI will return to the base.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="w3-card-2 w3-padding-small w3-margin-top">
|
||||
|
||||
<div class="w3-theme-l2">
|
||||
<h2><a id="#(AI_AIR_PATROL).SetRTBSpeedFactors" ><strong>AI_AIR_PATROL:SetRTBSpeedFactors(MinFactor, MaxFactor)</strong></a></h2>
|
||||
</div>
|
||||
|
||||
<p>Set the min and max factors on RTB speed.</p>
|
||||
|
||||
|
||||
<p>Use this, if your planes are heading back to base too fast. Default values are 0.5 and 0.6.
|
||||
The RTB speed is calculated as the max speed of the unit multiplied by MinFactor (lower bracket) and multiplied by MaxFactor (upper bracket).
|
||||
A random value in this bracket is then applied in the waypoint routing generation.</p>
|
||||
|
||||
<div id= "#Functions##SetRTBSpeedFactors" class="w3-show w3-white">
|
||||
<div class="w3-container w3-white" id="functiontype">
|
||||
<h2><strong>Defined in:</strong></h2>
|
||||
<div class="w3-margin-left">
|
||||
<p><a href="AI.AI_Air.html##(AI_AIR)">AI.AI_Air#AI_AIR</a></p>
|
||||
</div>
|
||||
<h2><strong>Parameters:</strong></h2>
|
||||
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
|
||||
<div class="w3-half">
|
||||
<p>
|
||||
#number
|
||||
<strong><strong>MinFactor</strong></strong>
|
||||
</p>
|
||||
</div>
|
||||
<div class="w3-half">
|
||||
|
||||
<p>Lower bracket factor. Defaults to 0.5.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
|
||||
<div class="w3-half">
|
||||
<p>
|
||||
#number
|
||||
<strong><strong>MaxFactor</strong></strong>
|
||||
</p>
|
||||
</div>
|
||||
<div class="w3-half">
|
||||
|
||||
<p>Upper bracket factor. Defaults to 0.6.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2><strong>Return value:</strong></h2>
|
||||
<div class="w3-row w3-border-bottom w3-margin-left">
|
||||
<div class="w3-half">
|
||||
<p><a href="##(AI_AIR)">#AI_AIR</a>:</p>
|
||||
</div>
|
||||
<div class="w3-half">
|
||||
|
||||
<p>self</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user