diff --git a/A319-100-IAE.xml b/A319-100-IAE.xml index e57355ae..3807075f 100644 --- a/A319-100-IAE.xml +++ b/A319-100-IAE.xml @@ -439,7 +439,7 @@ YAW MOI_________3950000______23089847_______24848934 - 620.00683 + 620.0683 226.575 -45.567 @@ -662,59 +662,14 @@ YAW MOI_________3950000______23089847_______24848934 fcs/throttle-pos-norm[1] + - + fcs/rudder-cmd-norm fcs/yaw-trim-cmd-norm @@ -960,10 +915,10 @@ YAW MOI_________3950000______23089847_______24848934 aero/alpha-rad - -0.20 -0.780 - 0.00 0.335 - 0.23 1.090 - 0.60 0.690 + -0.20 -0.520 + 0.00 0.505 + 0.23 1.800 + 0.60 1.000
@@ -974,8 +929,16 @@ YAW MOI_________3950000______23089847_______24848934 aero/qbar-psf metrics/Sw-sqft - fcs/flap-pos-deg - 0.00700 + + fcs/flap-pos-norm + + 0.000 0.00000 + 0.290 0.00350 + 0.596 0.00700 + 0.645 0.01300 + 1.000 0.01700 + +
@@ -985,7 +948,7 @@ YAW MOI_________3950000______23089847_______24848934 aero/qbar-psf metrics/Sw-sqft fcs/slat-pos-deg - 0.02500 + 0.01000 @@ -995,7 +958,7 @@ YAW MOI_________3950000______23089847_______24848934 aero/qbar-psf metrics/Sw-sqft fcs/speedbrake-pos-norm - -0.1 + -0.15 @@ -1024,8 +987,8 @@ YAW MOI_________3950000______23089847_______24848934 -1.57 1.300 -0.26 0.021 0.00 0.012 - 0.26 0.021 - 1.57 1.300 + 0.26 0.028 + 1.57 1.350 @@ -1074,7 +1037,7 @@ YAW MOI_________3950000______23089847_______24848934 aero/qbar-psf metrics/Sw-sqft fcs/flap-pos-deg - 0.00120 + 0.00200 @@ -1084,7 +1047,7 @@ YAW MOI_________3950000______23089847_______24848934 aero/qbar-psf metrics/Sw-sqft gear/gear-pos-norm - 0.020 + 0.030 @@ -1094,7 +1057,7 @@ YAW MOI_________3950000______23089847_______24848934 aero/qbar-psf metrics/Sw-sqft fcs/speedbrake-pos-norm - 0.02 + 0.03 @@ -1280,7 +1243,7 @@ YAW MOI_________3950000______23089847_______24848934 metrics/bw-ft aero/bi2vel velocities/r-aero-rad_sec - -0.15 + -0.2 @@ -1291,7 +1254,7 @@ YAW MOI_________3950000______23089847_______24848934 metrics/Sw-sqft metrics/bw-ft fcs/rudder-pos-rad - -0.1 + -0.2 diff --git a/A320-200-IAE.xml b/A320-200-IAE.xml index 32e20eae..17ed55c9 100644 --- a/A320-200-IAE.xml +++ b/A320-200-IAE.xml @@ -439,7 +439,7 @@ YAW MOI_________3950000______23089847_______24848934 - 620.00683 + 620.0683 226.575 -45.567 @@ -662,59 +662,14 @@ YAW MOI_________3950000______23089847_______24848934 fcs/throttle-pos-norm[1]
+ - + fcs/rudder-cmd-norm fcs/yaw-trim-cmd-norm @@ -960,10 +915,10 @@ YAW MOI_________3950000______23089847_______24848934 aero/alpha-rad - -0.20 -0.780 - 0.00 0.335 - 0.23 1.090 - 0.60 0.690 + -0.20 -0.520 + 0.00 0.505 + 0.23 1.800 + 0.60 1.000
@@ -974,8 +929,16 @@ YAW MOI_________3950000______23089847_______24848934 aero/qbar-psf metrics/Sw-sqft - fcs/flap-pos-deg - 0.00700 + + fcs/flap-pos-norm + + 0.000 0.00000 + 0.290 0.00350 + 0.596 0.00700 + 0.645 0.01300 + 1.000 0.01700 + +
@@ -985,7 +948,7 @@ YAW MOI_________3950000______23089847_______24848934 aero/qbar-psf metrics/Sw-sqft fcs/slat-pos-deg - 0.02500 + 0.01000 @@ -995,7 +958,7 @@ YAW MOI_________3950000______23089847_______24848934 aero/qbar-psf metrics/Sw-sqft fcs/speedbrake-pos-norm - -0.1 + -0.15 @@ -1024,8 +987,8 @@ YAW MOI_________3950000______23089847_______24848934 -1.57 1.300 -0.26 0.021 0.00 0.012 - 0.26 0.021 - 1.57 1.300 + 0.26 0.028 + 1.57 1.350 @@ -1074,7 +1037,7 @@ YAW MOI_________3950000______23089847_______24848934 aero/qbar-psf metrics/Sw-sqft fcs/flap-pos-deg - 0.00120 + 0.00200 @@ -1084,7 +1047,7 @@ YAW MOI_________3950000______23089847_______24848934 aero/qbar-psf metrics/Sw-sqft gear/gear-pos-norm - 0.020 + 0.030 @@ -1094,7 +1057,7 @@ YAW MOI_________3950000______23089847_______24848934 aero/qbar-psf metrics/Sw-sqft fcs/speedbrake-pos-norm - 0.02 + 0.03 @@ -1280,7 +1243,7 @@ YAW MOI_________3950000______23089847_______24848934 metrics/bw-ft aero/bi2vel velocities/r-aero-rad_sec - -0.15 + -0.2 @@ -1291,7 +1254,7 @@ YAW MOI_________3950000______23089847_______24848934 metrics/Sw-sqft metrics/bw-ft fcs/rudder-pos-rad - -0.1 + -0.2 diff --git a/A320-main.xml b/A320-main.xml index 2cf8e9e1..917c534c 100644 --- a/A320-main.xml +++ b/A320-main.xml @@ -280,8 +280,8 @@ 0 - -0.40 - 0.40 + -0.55 + 0.55 0.05 0.07 10.0 @@ -297,8 +297,8 @@ -0.09 - -1.0 - 1.4 + -0.9 + 1.6 -4.0 0.025 0.05 @@ -309,7 +309,7 @@ 0.10 0.05 - -0.3 + -0.1 @@ -321,7 +321,7 @@ 40 0 162 - 100 + 30 1450 diff --git a/A321-200-IAE.xml b/A321-200-IAE.xml index a7ab08bd..b6d1a381 100644 --- a/A321-200-IAE.xml +++ b/A321-200-IAE.xml @@ -439,7 +439,7 @@ YAW MOI_________3950000______23089847_______24848934 - 620.00683 + 620.0683 226.575 -45.567 @@ -662,59 +662,14 @@ YAW MOI_________3950000______23089847_______24848934 fcs/throttle-pos-norm[1]
+ - + fcs/rudder-cmd-norm fcs/yaw-trim-cmd-norm @@ -960,10 +915,10 @@ YAW MOI_________3950000______23089847_______24848934 aero/alpha-rad - -0.20 -0.780 - 0.00 0.335 - 0.23 1.090 - 0.60 0.690 + -0.20 -0.520 + 0.00 0.505 + 0.23 1.800 + 0.60 1.000
@@ -974,8 +929,16 @@ YAW MOI_________3950000______23089847_______24848934 aero/qbar-psf metrics/Sw-sqft - fcs/flap-pos-deg - 0.00700 + + fcs/flap-pos-norm + + 0.000 0.00000 + 0.290 0.00350 + 0.596 0.00700 + 0.645 0.01300 + 1.000 0.01700 + +
@@ -985,7 +948,7 @@ YAW MOI_________3950000______23089847_______24848934 aero/qbar-psf metrics/Sw-sqft fcs/slat-pos-deg - 0.02500 + 0.01000 @@ -995,7 +958,7 @@ YAW MOI_________3950000______23089847_______24848934 aero/qbar-psf metrics/Sw-sqft fcs/speedbrake-pos-norm - -0.1 + -0.15 @@ -1024,8 +987,8 @@ YAW MOI_________3950000______23089847_______24848934 -1.57 1.300 -0.26 0.021 0.00 0.012 - 0.26 0.021 - 1.57 1.300 + 0.26 0.028 + 1.57 1.350 @@ -1074,7 +1037,7 @@ YAW MOI_________3950000______23089847_______24848934 aero/qbar-psf metrics/Sw-sqft fcs/flap-pos-deg - 0.00120 + 0.00200 @@ -1084,7 +1047,7 @@ YAW MOI_________3950000______23089847_______24848934 aero/qbar-psf metrics/Sw-sqft gear/gear-pos-norm - 0.020 + 0.030 @@ -1094,7 +1057,7 @@ YAW MOI_________3950000______23089847_______24848934 aero/qbar-psf metrics/Sw-sqft fcs/speedbrake-pos-norm - 0.02 + 0.03 @@ -1280,7 +1243,7 @@ YAW MOI_________3950000______23089847_______24848934 metrics/bw-ft aero/bi2vel velocities/r-aero-rad_sec - -0.15 + -0.2 @@ -1291,7 +1254,7 @@ YAW MOI_________3950000______23089847_______24848934 metrics/Sw-sqft metrics/bw-ft fcs/rudder-pos-rad - -0.1 + -0.2 diff --git a/ACJ-IAE.xml b/ACJ-IAE.xml index a857a479..e587a808 100644 --- a/ACJ-IAE.xml +++ b/ACJ-IAE.xml @@ -439,7 +439,7 @@ YAW MOI_________3950000______23089847_______24848934 - 620.00683 + 620.0683 226.575 -45.567 @@ -662,59 +662,14 @@ YAW MOI_________3950000______23089847_______24848934 fcs/throttle-pos-norm[1]
+ - + fcs/rudder-cmd-norm fcs/yaw-trim-cmd-norm @@ -960,10 +915,10 @@ YAW MOI_________3950000______23089847_______24848934 aero/alpha-rad - -0.20 -0.780 - 0.00 0.335 - 0.23 1.090 - 0.60 0.690 + -0.20 -0.520 + 0.00 0.505 + 0.23 1.800 + 0.60 1.000
@@ -974,8 +929,16 @@ YAW MOI_________3950000______23089847_______24848934 aero/qbar-psf metrics/Sw-sqft - fcs/flap-pos-deg - 0.00700 + + fcs/flap-pos-norm + + 0.000 0.00000 + 0.290 0.00350 + 0.596 0.00700 + 0.645 0.01300 + 1.000 0.01700 + +
@@ -985,7 +948,7 @@ YAW MOI_________3950000______23089847_______24848934 aero/qbar-psf metrics/Sw-sqft fcs/slat-pos-deg - 0.02500 + 0.01000 @@ -995,7 +958,7 @@ YAW MOI_________3950000______23089847_______24848934 aero/qbar-psf metrics/Sw-sqft fcs/speedbrake-pos-norm - -0.1 + -0.15 @@ -1024,8 +987,8 @@ YAW MOI_________3950000______23089847_______24848934 -1.57 1.300 -0.26 0.021 0.00 0.012 - 0.26 0.021 - 1.57 1.300 + 0.26 0.028 + 1.57 1.350 @@ -1074,7 +1037,7 @@ YAW MOI_________3950000______23089847_______24848934 aero/qbar-psf metrics/Sw-sqft fcs/flap-pos-deg - 0.00120 + 0.00200 @@ -1084,7 +1047,7 @@ YAW MOI_________3950000______23089847_______24848934 aero/qbar-psf metrics/Sw-sqft gear/gear-pos-norm - 0.020 + 0.030 @@ -1094,7 +1057,7 @@ YAW MOI_________3950000______23089847_______24848934 aero/qbar-psf metrics/Sw-sqft fcs/speedbrake-pos-norm - 0.02 + 0.03 @@ -1280,7 +1243,7 @@ YAW MOI_________3950000______23089847_______24848934 metrics/bw-ft aero/bi2vel velocities/r-aero-rad_sec - -0.15 + -0.2 @@ -1291,7 +1254,7 @@ YAW MOI_________3950000______23089847_______24848934 metrics/Sw-sqft metrics/bw-ft fcs/rudder-pos-rad - -0.1 + -0.2 diff --git a/AircraftConfig/acconfig.nas b/AircraftConfig/acconfig.nas index d2ab4271..3adda25b 100644 --- a/AircraftConfig/acconfig.nas +++ b/AircraftConfig/acconfig.nas @@ -30,6 +30,8 @@ var colddark = func { setprop("/controls/flight/slats", 0.000); setprop("/controls/flight/flaps", 0.000); setprop("/controls/flight/flap-lever", 0); + setprop("/controls/flight/flap-pos", 0); + setprop("/controls/flight/flap-txt", " "); setprop("/controls/flight/speedbrake-arm", 0); setprop("/controls/gear/gear-down", 1); systems.elec_init(); @@ -74,6 +76,8 @@ var beforestart = func { setprop("/controls/flight/slats", 0.000); setprop("/controls/flight/flaps", 0.000); setprop("/controls/flight/flap-lever", 0); + setprop("/controls/flight/flap-pos", 0); + setprop("/controls/flight/flap-txt", " "); setprop("/controls/flight/speedbrake-arm", 0); setprop("/controls/gear/gear-down", 1); systems.elec_init(); @@ -142,6 +146,8 @@ var taxi = func { setprop("/controls/flight/slats", 0.000); setprop("/controls/flight/flaps", 0.000); setprop("/controls/flight/flap-lever", 0); + setprop("/controls/flight/flap-pos", 0); + setprop("/controls/flight/flap-txt", " "); setprop("/controls/flight/speedbrake-arm", 0); setprop("/controls/gear/gear-down", 1); systems.elec_init(); @@ -238,6 +244,7 @@ var takeoff = func { setprop("/controls/flight/flaps", 0.290); setprop("/controls/flight/slats", 0.666); setprop("/controls/flight/flap-lever", 1); + setprop("/controls/flight/flap-pos", 2); setprop("/controls/flight/flap-txt", "1+F"); setprop("/controls/flight/elevator-trim", -0.15); } diff --git a/Models/Instruments/PFD/PFD1.xml b/Models/Instruments/PFD/PFD1.xml index ace3d0fa..f37732bd 100644 --- a/Models/Instruments/PFD/PFD1.xml +++ b/Models/Instruments/PFD/PFD1.xml @@ -119,10 +119,20 @@ fd_roll fd_pitch - - /it-autoflight/output/fd1 - 1 - + + + /it-autoflight/output/fd1 + 1 + + + orientation/roll-deg + 45 + + + orientation/roll-deg + -45 + + @@ -255,22 +265,45 @@ textranslate instrumentation/airspeed-indicator/indicated-speed-kt - 0.002001953 + + 0 0 + 200.040 + 400.080 + 600.118 + 800.158 + 1000.198 + 1200.236 + 1400.276 + 1600.316 + 1800.356 + 2000.395 + 2200.435 + 2400.474 + 2600.514 + 2800.554 + 3000.593 + 3200.633 + 3400.672 + 3600.712 + 3800.751 + 4000.791 + 0 1 0 - - - /controls/flight/flap-lever + + + /controls/flight/flap-pos textranslate 00 - 10.090625 - 20.1609375 - 30.23125 - 40.303984375 + 10.05 + 20.12 + 30.19 + 40.26 + 50.33 1 diff --git a/Models/Instruments/PFD/PFD2.xml b/Models/Instruments/PFD/PFD2.xml index 376aae61..e3697b7c 100644 --- a/Models/Instruments/PFD/PFD2.xml +++ b/Models/Instruments/PFD/PFD2.xml @@ -119,10 +119,20 @@ fd_roll fd_pitch - - /it-autoflight/output/fd2 - 1 - + + + /it-autoflight/output/fd2 + 1 + + + orientation/roll-deg + 45 + + + orientation/roll-deg + -45 + + @@ -255,22 +265,45 @@ textranslate instrumentation/airspeed-indicator/indicated-speed-kt - 0.002001953 + + 0 0 + 200.040 + 400.080 + 600.118 + 800.158 + 1000.198 + 1200.236 + 1400.276 + 1600.316 + 1800.356 + 2000.395 + 2200.435 + 2400.474 + 2600.514 + 2800.554 + 3000.593 + 3200.633 + 3400.672 + 3600.712 + 3800.751 + 4000.791 + 0 1 0 - - - /controls/flight/flap-lever + + + /controls/flight/flap-pos textranslate 00 - 10.090625 - 20.1609375 - 30.23125 - 40.303984375 + 10.05 + 20.12 + 30.19 + 40.26 + 50.33 1 diff --git a/Models/Instruments/PFD/res/spd-tape.png b/Models/Instruments/PFD/res/spd-tape.png index 1bcbbc74..d53be643 100644 Binary files a/Models/Instruments/PFD/res/spd-tape.png and b/Models/Instruments/PFD/res/spd-tape.png differ diff --git a/Nasal/fctl.nas b/Nasal/fctl.nas index 3a9d702c..bf6f3ba4 100644 --- a/Nasal/fctl.nas +++ b/Nasal/fctl.nas @@ -2,6 +2,7 @@ # In air, flaps 1 is slats only. On ground, it is slats and flaps. setprop("/controls/flight/flap-lever", 0); +setprop("/controls/flight/flap-pos", 0); setprop("/controls/flight/flap-txt", " "); controls.flapsDown = func(step) { @@ -11,12 +12,14 @@ controls.flapsDown = func(step) { setprop("/controls/flight/flaps", 0.290); setprop("/controls/flight/slats", 0.666); setprop("/controls/flight/flap-lever", 1); + setprop("/controls/flight/flap-pos", 2); setprop("/controls/flight/flap-txt", "1+F"); return; } else { setprop("/controls/flight/flaps", 0.000); setprop("/controls/flight/slats", 0.666); setprop("/controls/flight/flap-lever", 1); + setprop("/controls/flight/flap-pos", 1); setprop("/controls/flight/flap-txt", "1"); return; } @@ -24,18 +27,21 @@ controls.flapsDown = func(step) { setprop("/controls/flight/flaps", 0.596); setprop("/controls/flight/slats", 0.814); setprop("/controls/flight/flap-lever", 2); + setprop("/controls/flight/flap-pos", 3); setprop("/controls/flight/flap-txt", "2"); return; } else if (getprop("/controls/flight/flap-lever") == 2) { setprop("/controls/flight/flaps", 0.645); setprop("/controls/flight/slats", 0.814); setprop("/controls/flight/flap-lever", 3); + setprop("/controls/flight/flap-pos", 4); setprop("/controls/flight/flap-txt", "3"); return; } else if (getprop("/controls/flight/flap-lever") == 3) { setprop("/controls/flight/flaps", 1.000); setprop("/controls/flight/slats", 1.000); setprop("/controls/flight/flap-lever", 4); + setprop("/controls/flight/flap-pos", 5); setprop("/controls/flight/flap-txt", "FULL"); return; } @@ -44,12 +50,14 @@ controls.flapsDown = func(step) { setprop("/controls/flight/flaps", 0.645); setprop("/controls/flight/slats", 0.814); setprop("/controls/flight/flap-lever", 3); + setprop("/controls/flight/flap-pos", 4); setprop("/controls/flight/flap-txt", "3"); return; } else if (getprop("/controls/flight/flap-lever") == 3) { setprop("/controls/flight/flaps", 0.596); setprop("/controls/flight/slats", 0.814); setprop("/controls/flight/flap-lever", 2); + setprop("/controls/flight/flap-pos", 3); setprop("/controls/flight/flap-txt", "2"); return; } else if (getprop("/controls/flight/flap-lever") == 2) { @@ -57,12 +65,14 @@ controls.flapsDown = func(step) { setprop("/controls/flight/flaps", 0.290); setprop("/controls/flight/slats", 0.666); setprop("/controls/flight/flap-lever", 1); + setprop("/controls/flight/flap-pos", 2); setprop("/controls/flight/flap-txt", "1+F"); return; } else { setprop("/controls/flight/flaps", 0.000); setprop("/controls/flight/slats", 0.666); setprop("/controls/flight/flap-lever", 1); + setprop("/controls/flight/flap-pos", 1); setprop("/controls/flight/flap-txt", "1"); return; } @@ -70,6 +80,7 @@ controls.flapsDown = func(step) { setprop("/controls/flight/flaps", 0.000); setprop("/controls/flight/slats", 0.000); setprop("/controls/flight/flap-lever", 0); + setprop("/controls/flight/flap-pos", 0); setprop("/controls/flight/flap-txt", " "); return; } diff --git a/Nasal/it-fbw.nas b/Nasal/it-fbw.nas index ee80f039..4751a675 100644 --- a/Nasal/it-fbw.nas +++ b/Nasal/it-fbw.nas @@ -13,12 +13,13 @@ var update_loop = func { if (ail > 0.4 or ail < -0.4) { setprop("/it-fbw/roll-lim-max", "67"); setprop("/it-fbw/roll-lim-min", "-67"); - } else { + } else if (ail < 0.05 and ail > -0.05) { setprop("/it-fbw/roll-lim-max", "33"); setprop("/it-fbw/roll-lim-min", "-33"); - if (getprop("/it-fbw/law") > 33) { + } else { + if (getprop("/it-fbw/roll-deg") > 33) { setprop("/it-fbw/roll-deg", "33"); - } else if (getprop("/it-fbw/law") < -33) { + } else if (getprop("/it-fbw/roll-deg") < -33) { setprop("/it-fbw/roll-deg", "-33"); } }