IT Autoflight: Difference between revisions

Jump to navigation Jump to search
2,510 bytes removed ,  19 April 2017
no edit summary
No edit summary
No edit summary
Line 90: Line 90:
</itaf>
</itaf>
</syntaxhighlight>
</syntaxhighlight>
==================================================================================================


* Finally, add the following anywhere outside <sim></sim>:
* Finally, add the following anywhere outside <sim></sim>:
<syntaxhighlight lang="xml">
* Copy and Paste from this file, start at line 5.
<it-autoflight>
* [https://github.com/it0uchpods/IT-AUTOFLIGHT/blob/master/ITAF%20CONFIG.txt ITAF CONFIG.txt].
<config>
<roll>
<umin>-0.50</umin>
<umax>0.50</umax>
<kp>0.05</kp>
<kp-vloc>0.09</kp-vloc>
<ti>10.0</ti>
<td>0.00001</td>
<kp-cws>0.09</kp-cws>
</roll>
<pitch>
<umin>-0.50</umin>
<umax>0.50</umax>
<kp>-0.08</kp>
<ti>10.0</ti>
<td>0.0001</td>
<kp-cws>-0.07</kp-cws>
</pitch>
<cmd>
<roll-kp>-1.9</roll-kp>
<roll-scale>1.5</roll-scale>
<vorloc>-5.0</vorloc>
<alt>0.03</alt>
<vs>0.10</vs>
<fpa>0.30</fpa>
<flch>-4.0</flch>
<gs>0.11</gs>
</cmd>
<autoland>
<kp-roll>0.10</kp-roll>
<kp-pitch>0.07</kp-pitch>
<kp-rudder>-0.3</kp-rudder>
</autoland>
</config>
<settings>
<default-bank-limit>30</default-bank-limit> <!-- Set the Default Bank Limit -->
<enable-cws>0</enable-cws> <!-- Enable/Disable CWS -->
<flare-altitude>30</flare-altitude> <!-- Autoland Flare AGL -->
<land-enable>0</land-enable> <!-- Enable/Disable Autoland -->
<land-flap>0.7</land-flap> <!-- Minimum Flap used for Landing -->
<retard-ft>40</retard-ft> <!-- Enable Thrust Retard -->
<retard-enable>0</retard-enable> <!-- AGL to Thrust Retard -->
<togaspd>170</togaspd> <!-- V2 + 10kts -->
<lat-agl-ft>200</lat-agl-ft> <!-- Set to 999999 if you do not want T/O to change automatically to HDG, or LNAV -->
<reduc-agl-ft>1500</reduc-agl-ft> <!-- Set to 999999 if you do not want TOGA to change automatically to FLCH -->
</settings>
</it-autoflight>
</syntaxhighlight>
* This is the default IT-AUTOFLIGHT Configuration. We will be adjusting this later.
* This is the default IT-AUTOFLIGHT Configuration. We will be adjusting this later.
==================================================================================================


==== Step Two ====
==== Step Two ====
Line 160: Line 116:
Below is listed each area of the IT-AUTOFLIGHT Config Module, and what it is used for. We will also discuss how to tune IT-AUTOFLIGHT efficiently.
Below is listed each area of the IT-AUTOFLIGHT Config Module, and what it is used for. We will also discuss how to tune IT-AUTOFLIGHT efficiently.


<syntaxhighlight lang="xml">
You can view the Config Module [https://github.com/it0uchpods/IT-AUTOFLIGHT/blob/master/ITAF%20CONFIG.txt here].
<it-autoflight>
<config>
<roll>
<umin>-0.50</umin>
<umax>0.50</umax>
<kp>0.05</kp>
<kp-vloc>0.09</kp-vloc>
<ti>10.0</ti>
<td>0.00001</td>
<kp-cws>0.09</kp-cws>
</roll>
<pitch>
<umin>-0.50</umin>
<umax>0.50</umax>
<kp>-0.08</kp>
<ti>10.0</ti>
<td>0.0001</td>
<kp-cws>-0.07</kp-cws>
</pitch>
<cmd>
<roll-kp>-1.9</roll-kp>
<roll-scale>1.5</roll-scale>
<vorloc>-5.0</vorloc>
<alt>0.03</alt>
<vs>0.10</vs>
<fpa>0.30</fpa>
<flch>-4.0</flch>
<gs>0.11</gs>
</cmd>
<autoland>
<kp-roll>0.10</kp-roll>
<kp-pitch>0.07</kp-pitch>
<kp-rudder>-0.3</kp-rudder>
</autoland>
</config>
<settings>
<default-bank-limit>30</default-bank-limit> <!-- Set the Default Bank Limit -->
<enable-cws>0</enable-cws> <!-- Enable/Disable CWS -->
<flare-altitude>30</flare-altitude> <!-- Autoland Flare AGL -->
<land-enable>0</land-enable> <!-- Enable/Disable Autoland -->
<land-flap>0.7</land-flap> <!-- Minimum Flap used for Landing -->
<retard-ft>40</retard-ft> <!-- Enable Thrust Retard -->
<retard-enable>0</retard-enable> <!-- AGL to Thrust Retard -->
<togaspd>170</togaspd> <!-- V2 + 10kts -->
<lat-agl-ft>200</lat-agl-ft> <!-- Set to 999999 if you do not want T/O to change automatically to HDG, or LNAV -->
<reduc-agl-ft>1500</reduc-agl-ft> <!-- Set to 999999 if you do not want TOGA to change automatically to FLCH -->
</settings>
</it-autoflight>
</syntaxhighlight>


This area is for the tuning of the PID controllers used. These are not hard coded, so users can update IT-AUTOFLIGHT without needing to edit any files. You can also adjust these in the property browser, and they take affect immediately, without needing to reload anything.
This area is for the tuning of the PID controllers used. These are not hard coded, so users can update IT-AUTOFLIGHT without needing to edit any files. You can also adjust these in the property browser, and they take affect immediately, without needing to reload anything.
2,222

edits

Navigation menu