From 3a0bac5940d7d726032efde844207466c16efc7f Mon Sep 17 00:00:00 2001 From: Joshua Davidson Date: Sun, 30 Dec 2018 16:28:02 -0500 Subject: [PATCH] Control: Nose Gear refactored, autopush updated/fixed, Sim: UI changes --- A320-main.xml | 229 +++++++++++++-------------- Models/Services/Pushback/Douglas.xml | 17 -- Nasal/libraries.nas | 8 + Systems/a320-fcs.xml | 32 ++-- gui/dialogs/autopush.xml | 2 + revision.txt | 2 +- 6 files changed, 144 insertions(+), 146 deletions(-) diff --git a/A320-main.xml b/A320-main.xml index 63e481f0..3ba61688 100644 --- a/A320-main.xml +++ b/A320-main.xml @@ -24,12 +24,13 @@ + 0 0 1 - - - + + + 1.0 0.0 0.5 @@ -179,39 +180,12 @@ - - - - + + false + + + true @@ -232,9 +206,109 @@ - + + + + + + dialog-show + autopilot + + + + + + dialog-show + route-manager + + + + + + + + + nasal + + + + + + + nasal + + + + + + + nasal + + + + + + + nasal + + + + + + + nasal + + + + + + + nasal + + + + + + + nasal + + + + + + + nasal + + + + + + + nasal + + + + + - true @@ -287,87 +361,6 @@ 1 - - - - nasal - - - - - - - nasal - - - - - - - nasal - - - - - - - nasal - - - - - - - nasal - - - - - - - nasal - - - - - - - nasal - - - - - - - nasal - - - - - - - nasal - - - diff --git a/Models/Services/Pushback/Douglas.xml b/Models/Services/Pushback/Douglas.xml index f872f582..ab6207d6 100644 --- a/Models/Services/Pushback/Douglas.xml +++ b/Models/Services/Pushback/Douglas.xml @@ -90,23 +90,6 @@ 1 - - - rotate - gear/gear[0]/steering-norm - -70 -
- 0 - 0 - 0 -
- - 0 - 0 - 1 - -
- diff --git a/Nasal/libraries.nas b/Nasal/libraries.nas index fb8fa513..29266255 100644 --- a/Nasal/libraries.nas +++ b/Nasal/libraries.nas @@ -9,6 +9,14 @@ print("------------------------------------------------------------------------- setprop("/sim/replay/was-active", 0); +setprop("/sim/menubar/default/menu[0]/item[0]/enabled", 0); +setprop("/sim/menubar/default/menu[2]/item[0]/enabled", 0); +setprop("/sim/menubar/default/menu[2]/item[2]/enabled", 0); +setprop("/sim/menubar/default/menu[3]/enabled", 0); +setprop("/sim/menubar/default/menu[5]/item[9]/enabled", 0); +setprop("/sim/menubar/default/menu[5]/item[10]/enabled", 0); +setprop("/sim/menubar/default/menu[5]/item[11]/enabled", 0); + # Dimmers setprop("/controls/lighting/ndl-norm", 1); setprop("/controls/lighting/ndr-norm", 1); diff --git a/Systems/a320-fcs.xml b/Systems/a320-fcs.xml index 4123cf3e..efd1bf0c 100644 --- a/Systems/a320-fcs.xml +++ b/Systems/a320-fcs.xml @@ -1870,15 +1870,27 @@ - - /velocities/groundspeed-kt - hydraulics/tiller/switch - - -1 0 1 - 30.000 -70.0 0 70.0 - 30.001 -10.0 0 10.0 - -
+ + + /sim/model/pushback/connected + 1 + + + hydraulics/tiller/autopush-cmd + 70 + + + /velocities/groundspeed-kt + hydraulics/tiller/switch + + -1 0 1 + 0.500 00.0 0.0 00.0 + 1.000 -70.0 0.0 70.0 + 30.000 -70.0 0.0 70.0 + 30.001 -10.0 0.0 10.0 + +
+
@@ -1891,7 +1903,7 @@ - /sim/model/pushback/position-norm gt 0.999 + /sim/model/pushback/connected eq 1 diff --git a/gui/dialogs/autopush.xml b/gui/dialogs/autopush.xml index ef031d33..02632b5d 100644 --- a/gui/dialogs/autopush.xml +++ b/gui/dialogs/autopush.xml @@ -90,6 +90,7 @@ Distribute under the terms of GPLv2. 2 -1.0 1.0 + 0.1 /sim/model/pushback/steer-cmd-norm true @@ -155,6 +156,7 @@ Distribute under the terms of GPLv2. -25 25 /sim/model/pushback/target-speed-km_h + 1.0 true dialog-apply diff --git a/revision.txt b/revision.txt index d9c2ba3e..3084ff19 100644 --- a/revision.txt +++ b/revision.txt @@ -1 +1 @@ -4723 \ No newline at end of file +4724 \ No newline at end of file