ITAF Update
This commit is contained in:
parent
5d97c1c8ea
commit
279161f4da
2 changed files with 61 additions and 58 deletions
|
@ -1,6 +1,6 @@
|
||||||
# IT AUTOFLIGHT System Controller
|
# IT AUTOFLIGHT System Controller
|
||||||
# Joshua Davidson (it0uchpods)
|
# Joshua Davidson (it0uchpods)
|
||||||
# V3.0.0 Build 171
|
# V3.0.0 Build 172
|
||||||
# This program is 100% GPL!
|
# This program is 100% GPL!
|
||||||
|
|
||||||
print("IT-AUTOFLIGHT: Please Wait!");
|
print("IT-AUTOFLIGHT: Please Wait!");
|
||||||
|
|
|
@ -9,11 +9,11 @@
|
||||||
<!-- =============================================================== -->
|
<!-- =============================================================== -->
|
||||||
|
|
||||||
<predict-simple>
|
<predict-simple>
|
||||||
<name>ALTITUDE 7 SECONDS AHEAD</name>
|
<name>ALTITUDE 5 SECONDS AHEAD</name>
|
||||||
<debug>false</debug>
|
<debug>false</debug>
|
||||||
<input>/instrumentation/altimeter/indicated-altitude-ft</input>
|
<input>/instrumentation/altimeter/indicated-altitude-ft</input>
|
||||||
<output>/it-autoflight/internal/altitude-7-sec-ahead</output>
|
<output>/it-autoflight/internal/altitude-5-sec-ahead</output>
|
||||||
<seconds>7.0</seconds>
|
<seconds>5.0</seconds>
|
||||||
<filter-gain>0.1</filter-gain>
|
<filter-gain>0.1</filter-gain>
|
||||||
</predict-simple>
|
</predict-simple>
|
||||||
|
|
||||||
|
@ -25,15 +25,41 @@
|
||||||
<filter-gain>0.1</filter-gain>
|
<filter-gain>0.1</filter-gain>
|
||||||
</predict-simple>
|
</predict-simple>
|
||||||
|
|
||||||
<filter>
|
<predict-simple>
|
||||||
<name>VOR/LOC HEADING ERROR FILTER</name>
|
<name>IAS 5 SECOND PREDICTOR</name>
|
||||||
<debug>false</debug>
|
<debug>false</debug>
|
||||||
<type>noise-spike</type>
|
<input>/instrumentation/airspeed-indicator/indicated-speed-kt</input>
|
||||||
<input>/it-autoflight/internal/nav1-error-5-sec-ahead</input>
|
<output>/it-autoflight/internal/lookahead-5-sec-airspeed-kt</output>
|
||||||
<output>/it-autoflight/internal/nav1-heading-error-deg-filtered</output>
|
<seconds>5.0</seconds>
|
||||||
<max-rate-of-change>90.0</max-rate-of-change>
|
<filter-gain>0.0</filter-gain>
|
||||||
</filter>
|
</predict-simple>
|
||||||
|
|
||||||
|
<predict-simple>
|
||||||
|
<name>IAS 10 SECOND PREDICTOR</name>
|
||||||
|
<debug>false</debug>
|
||||||
|
<input>/instrumentation/airspeed-indicator/indicated-speed-kt</input>
|
||||||
|
<output>/it-autoflight/internal/lookahead-10-sec-airspeed-kt</output>
|
||||||
|
<seconds>10.0</seconds>
|
||||||
|
<filter-gain>0.0</filter-gain>
|
||||||
|
</predict-simple>
|
||||||
|
|
||||||
|
<predict-simple>
|
||||||
|
<name>MACH 5 SECOND PREDICTOR</name>
|
||||||
|
<debug>false</debug>
|
||||||
|
<input>/instrumentation/airspeed-indicator/indicated-mach</input>
|
||||||
|
<output>/it-autoflight/internal/lookahead-5-sec-mach</output>
|
||||||
|
<seconds>5.0</seconds>
|
||||||
|
<filter-gain>0.0</filter-gain>
|
||||||
|
</predict-simple>
|
||||||
|
|
||||||
|
<predict-simple>
|
||||||
|
<name>MACH 10 SECOND PREDICTOR</name>
|
||||||
|
<debug>false</debug>
|
||||||
|
<input>/instrumentation/airspeed-indicator/indicated-mach</input>
|
||||||
|
<output>/it-autoflight/internal/lookahead-10-sec-mach</output>
|
||||||
|
<seconds>10.0</seconds>
|
||||||
|
<filter-gain>0.0</filter-gain>
|
||||||
|
</predict-simple>
|
||||||
|
|
||||||
<!-- =============================================================== -->
|
<!-- =============================================================== -->
|
||||||
<!-- Autopilot Helpers -->
|
<!-- Autopilot Helpers -->
|
||||||
|
@ -172,6 +198,15 @@
|
||||||
</period>
|
</period>
|
||||||
<gain>1.0</gain>
|
<gain>1.0</gain>
|
||||||
</filter>
|
</filter>
|
||||||
|
|
||||||
|
<filter>
|
||||||
|
<name>VOR/LOC HEADING ERROR FILTER</name>
|
||||||
|
<debug>false</debug>
|
||||||
|
<type>noise-spike</type>
|
||||||
|
<input>/it-autoflight/internal/nav1-error-5-sec-ahead</input>
|
||||||
|
<output>/it-autoflight/internal/nav1-heading-error-deg-filtered</output>
|
||||||
|
<max-rate-of-change>90.0</max-rate-of-change>
|
||||||
|
</filter>
|
||||||
|
|
||||||
<filter>
|
<filter>
|
||||||
<name>INTERNAL VERTICAL SPEED COMPUTER</name>
|
<name>INTERNAL VERTICAL SPEED COMPUTER</name>
|
||||||
|
@ -179,36 +214,9 @@
|
||||||
<type>gain</type>
|
<type>gain</type>
|
||||||
<input>/velocities/vertical-speed-fps</input>
|
<input>/velocities/vertical-speed-fps</input>
|
||||||
<output>/it-autoflight/internal/vert-speed-fpm</output>
|
<output>/it-autoflight/internal/vert-speed-fpm</output>
|
||||||
<gain>60.0</gain>
|
<gain>55</gain>
|
||||||
</filter>
|
</filter>
|
||||||
|
|
||||||
<predict-simple>
|
|
||||||
<name>IAS 5 SECOND PREDICTOR</name>
|
|
||||||
<debug>false</debug>
|
|
||||||
<input>/instrumentation/airspeed-indicator/indicated-speed-kt</input>
|
|
||||||
<output>/it-autoflight/internal/lookahead-5-sec-airspeed-kt</output>
|
|
||||||
<seconds>5.0</seconds>
|
|
||||||
<filter-gain>0.0</filter-gain>
|
|
||||||
</predict-simple>
|
|
||||||
|
|
||||||
<predict-simple>
|
|
||||||
<name>IAS 10 SECOND PREDICTOR</name>
|
|
||||||
<debug>false</debug>
|
|
||||||
<input>/instrumentation/airspeed-indicator/indicated-speed-kt</input>
|
|
||||||
<output>/it-autoflight/internal/lookahead-10-sec-airspeed-kt</output>
|
|
||||||
<seconds>10.0</seconds>
|
|
||||||
<filter-gain>0.0</filter-gain>
|
|
||||||
</predict-simple>
|
|
||||||
|
|
||||||
<predict-simple>
|
|
||||||
<name>MACH 10 SECOND PREDICTOR</name>
|
|
||||||
<debug>false</debug>
|
|
||||||
<input>/instrumentation/airspeed-indicator/indicated-mach</input>
|
|
||||||
<output>/it-autoflight/internal/lookahead-10-sec-mach</output>
|
|
||||||
<seconds>10.0</seconds>
|
|
||||||
<filter-gain>0.0</filter-gain>
|
|
||||||
</predict-simple>
|
|
||||||
|
|
||||||
<filter>
|
<filter>
|
||||||
<name>STATIC PRESSURE COMPUTER</name>
|
<name>STATIC PRESSURE COMPUTER</name>
|
||||||
<debug>false</debug>
|
<debug>false</debug>
|
||||||
|
@ -579,7 +587,7 @@
|
||||||
</condition>
|
</condition>
|
||||||
</enable>
|
</enable>
|
||||||
<input>
|
<input>
|
||||||
<property>/it-autoflight/internal/altitude-7-sec-ahead</property>
|
<property>/it-autoflight/internal/altitude-5-sec-ahead</property>
|
||||||
</input>
|
</input>
|
||||||
<reference>
|
<reference>
|
||||||
<condition>
|
<condition>
|
||||||
|
@ -609,8 +617,8 @@
|
||||||
<beta>1.0</beta>
|
<beta>1.0</beta>
|
||||||
<alpha>0.5</alpha>
|
<alpha>0.5</alpha>
|
||||||
<gamma>0.0</gamma>
|
<gamma>0.0</gamma>
|
||||||
<Ti>10.0</Ti>
|
<Ti>5.0</Ti>
|
||||||
<Td>0.0001</Td>
|
<Td>0.00001</Td>
|
||||||
<u_min>
|
<u_min>
|
||||||
<property>/it-autoflight/internal/min-pitch</property>
|
<property>/it-autoflight/internal/min-pitch</property>
|
||||||
</u_min>
|
</u_min>
|
||||||
|
@ -683,13 +691,8 @@
|
||||||
<config>
|
<config>
|
||||||
<Kp>
|
<Kp>
|
||||||
<property>/it-autoflight/config/autoland/kp-pitch</property>
|
<property>/it-autoflight/config/autoland/kp-pitch</property>
|
||||||
</Kp>
|
</Kp>
|
||||||
<Ki>0.010</Ki>
|
<Ki>0.010</Ki>
|
||||||
<beta>1.0</beta>
|
|
||||||
<alpha>0.5</alpha>
|
|
||||||
<gamma>0.0</gamma>
|
|
||||||
<Ti>10.0</Ti>
|
|
||||||
<Td>0.0001</Td>
|
|
||||||
<min>
|
<min>
|
||||||
<value>0</value>
|
<value>0</value>
|
||||||
</min>
|
</min>
|
||||||
|
@ -813,8 +816,8 @@
|
||||||
<beta>1.0</beta>
|
<beta>1.0</beta>
|
||||||
<alpha>0.1</alpha>
|
<alpha>0.1</alpha>
|
||||||
<gamma>0.0</gamma>
|
<gamma>0.0</gamma>
|
||||||
<Ti>10.0</Ti>
|
<Ti>5.0</Ti>
|
||||||
<Td>0.00001</Td>
|
<Td>0.0001</Td>
|
||||||
<u_min>
|
<u_min>
|
||||||
<condition>
|
<condition>
|
||||||
<greater-than>
|
<greater-than>
|
||||||
|
@ -896,8 +899,8 @@
|
||||||
<beta>1.0</beta>
|
<beta>1.0</beta>
|
||||||
<alpha>0.1</alpha>
|
<alpha>0.1</alpha>
|
||||||
<gamma>0.0</gamma>
|
<gamma>0.0</gamma>
|
||||||
<Ti>10.0</Ti>
|
<Ti>5.0</Ti>
|
||||||
<Td>0.00001</Td>
|
<Td>0.0001</Td>
|
||||||
<u_min>
|
<u_min>
|
||||||
<value>1.6</value>
|
<value>1.6</value>
|
||||||
</u_min>
|
</u_min>
|
||||||
|
@ -966,8 +969,8 @@
|
||||||
<beta>1.0</beta>
|
<beta>1.0</beta>
|
||||||
<alpha>0.1</alpha>
|
<alpha>0.1</alpha>
|
||||||
<gamma>0.0</gamma>
|
<gamma>0.0</gamma>
|
||||||
<Ti>10.0</Ti>
|
<Ti>5.0</Ti>
|
||||||
<Td>0.00001</Td>
|
<Td>0.0001</Td>
|
||||||
<u_min>
|
<u_min>
|
||||||
<condition>
|
<condition>
|
||||||
<greater-than>
|
<greater-than>
|
||||||
|
@ -1045,7 +1048,7 @@
|
||||||
</condition>
|
</condition>
|
||||||
</enable>
|
</enable>
|
||||||
<input>
|
<input>
|
||||||
<property>/instrumentation/vertical-speed-indicator/indicated-speed-fpm</property>
|
<property>/it-autoflight/internal/vert-speed-fpm</property>
|
||||||
<scale>0.01666666</scale>
|
<scale>0.01666666</scale>
|
||||||
</input>
|
</input>
|
||||||
<reference>
|
<reference>
|
||||||
|
@ -1097,7 +1100,7 @@
|
||||||
</and>
|
</and>
|
||||||
</condition>
|
</condition>
|
||||||
<property>/it-autoflight/internal/prof-fpm</property>
|
<property>/it-autoflight/internal/prof-fpm</property>
|
||||||
<scale>-0.01666666</scale>
|
<scale>0.01666666</scale>
|
||||||
</reference>
|
</reference>
|
||||||
<output>
|
<output>
|
||||||
<property>/it-autoflight/internal/target-pitch-deg</property>
|
<property>/it-autoflight/internal/target-pitch-deg</property>
|
||||||
|
@ -1109,13 +1112,13 @@
|
||||||
<beta>1.0</beta>
|
<beta>1.0</beta>
|
||||||
<alpha>0.1</alpha>
|
<alpha>0.1</alpha>
|
||||||
<gamma>0.0</gamma>
|
<gamma>0.0</gamma>
|
||||||
<Ti>5.0</Ti>
|
<Ti>1.0</Ti>
|
||||||
<Td>0.00001</Td>
|
<Td>0.00001</Td>
|
||||||
<u_min>
|
<u_min>
|
||||||
<value>-10</value>
|
<value>-10</value>
|
||||||
</u_min>
|
</u_min>
|
||||||
<u_max>
|
<u_max>
|
||||||
<value>25</value>
|
<value>30</value>
|
||||||
</u_max>
|
</u_max>
|
||||||
</config>
|
</config>
|
||||||
</pid-controller>
|
</pid-controller>
|
||||||
|
|
Reference in a new issue