2018-08-02 23:40:28 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
<!--
|
2018-08-24 13:13:37 +00:00
|
|
|
AUTOPUSH
|
2019-03-11 02:13:40 +00:00
|
|
|
Pushback dialog.
|
2018-08-24 13:13:37 +00:00
|
|
|
Copyright (c) 2018 Autopush authors:
|
2018-08-02 23:40:28 +00:00
|
|
|
Michael Danilov <mike.d.ft402 -eh- gmail.com>
|
2019-05-08 23:27:26 +00:00
|
|
|
Joshua Davidson http://github.com/Octal450
|
2019-03-11 02:13:40 +00:00
|
|
|
Merspieler http://gitlab.com/merspieler
|
2018-08-02 23:40:28 +00:00
|
|
|
Distribute under the terms of GPLv2.
|
2018-08-24 13:13:37 +00:00
|
|
|
-->
|
2018-08-02 23:40:28 +00:00
|
|
|
|
|
|
|
<PropertyList>
|
|
|
|
|
|
|
|
<name>autopush</name>
|
|
|
|
<layout>vbox</layout>
|
|
|
|
|
|
|
|
<group>
|
|
|
|
|
|
|
|
<layout>hbox</layout>
|
|
|
|
|
|
|
|
<text>
|
|
|
|
<label>Pushback</label>
|
|
|
|
</text>
|
|
|
|
|
|
|
|
<empty>
|
|
|
|
<stretch>true</stretch>
|
|
|
|
</empty>
|
|
|
|
|
|
|
|
<button>
|
|
|
|
<halign>right</halign>
|
2018-08-24 13:13:37 +00:00
|
|
|
<pref-width>20</pref-width>
|
|
|
|
<pref-height>20</pref-height>
|
|
|
|
<legend>X</legend>
|
2018-08-02 23:40:28 +00:00
|
|
|
<key>Esc</key>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-close</command>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
</group>
|
|
|
|
|
|
|
|
<hrule/>
|
|
|
|
|
|
|
|
<group>
|
|
|
|
|
|
|
|
<stretch>true</stretch>
|
|
|
|
<layout>vbox</layout>
|
|
|
|
<halign>center</halign>
|
|
|
|
<valign>top</valign>
|
|
|
|
|
|
|
|
<checkbox>
|
|
|
|
<halign>left</halign>
|
|
|
|
<label>Connect</label>
|
2019-03-11 02:13:40 +00:00
|
|
|
<property>/sim/model/autopush/enabled</property>
|
2018-08-02 23:40:28 +00:00
|
|
|
<live>true</live>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-apply</command>
|
|
|
|
</binding>
|
|
|
|
</checkbox>
|
|
|
|
|
|
|
|
<group>
|
|
|
|
<layout>table</layout>
|
|
|
|
|
|
|
|
<text>
|
|
|
|
<row>0</row>
|
|
|
|
<col>0</col>
|
|
|
|
<label>Steering:</label>
|
|
|
|
<halign>left</halign>
|
|
|
|
</text>
|
|
|
|
|
|
|
|
<button>
|
|
|
|
<row>0</row>
|
|
|
|
<col>1</col>
|
|
|
|
<pref-width>25</pref-width>
|
|
|
|
<pref-height>25</pref-height>
|
|
|
|
<legend><</legend>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
2019-03-11 02:13:40 +00:00
|
|
|
<property>/sim/model/autopush/steer-cmd-norm</property>
|
2018-08-02 23:40:28 +00:00
|
|
|
<min>-1.0</min>
|
|
|
|
<max>1.0</max>
|
|
|
|
<step>-0.02</step>
|
|
|
|
<wrap>false</wrap>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<slider>
|
|
|
|
<row>0</row>
|
|
|
|
<col>2</col>
|
|
|
|
<min>-1.0</min>
|
|
|
|
<max>1.0</max>
|
2018-12-30 21:28:02 +00:00
|
|
|
<step>0.1</step>
|
2019-03-11 02:13:40 +00:00
|
|
|
<property>/sim/model/autopush/steer-cmd-norm</property>
|
2018-08-02 23:40:28 +00:00
|
|
|
<live>true</live>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-apply</command>
|
|
|
|
</binding>
|
|
|
|
</slider>
|
|
|
|
|
|
|
|
<button>
|
|
|
|
<row>0</row>
|
|
|
|
<col>3</col>
|
|
|
|
<pref-width>25</pref-width>
|
|
|
|
<pref-height>25</pref-height>
|
|
|
|
<legend>></legend>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
2019-03-11 02:13:40 +00:00
|
|
|
<property>/sim/model/autopush/steer-cmd-norm</property>
|
2018-08-02 23:40:28 +00:00
|
|
|
<min>-1.0</min>
|
|
|
|
<max>1.0</max>
|
|
|
|
<step>0.02</step>
|
|
|
|
<wrap>false</wrap>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button>
|
|
|
|
<row>0</row>
|
|
|
|
<col>4</col>
|
|
|
|
<pref-width>50</pref-width>
|
|
|
|
<pref-height>25</pref-height>
|
|
|
|
<legend>Center</legend>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
2019-03-11 02:13:40 +00:00
|
|
|
<property>/sim/model/autopush/steer-cmd-norm</property>
|
2018-08-02 23:40:28 +00:00
|
|
|
<value>0</value>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<text>
|
|
|
|
<row>1</row>
|
|
|
|
<col>0</col>
|
|
|
|
<label>Speed:</label>
|
|
|
|
<halign>left</halign>
|
|
|
|
</text>
|
|
|
|
|
|
|
|
<button>
|
|
|
|
<row>1</row>
|
|
|
|
<col>1</col>
|
|
|
|
<pref-width>25</pref-width>
|
|
|
|
<pref-height>25</pref-height>
|
|
|
|
<legend><</legend>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
2019-03-11 02:13:40 +00:00
|
|
|
<property>/sim/model/autopush/target-speed-km_h</property>
|
2018-08-02 23:40:28 +00:00
|
|
|
<min>-25</min>
|
|
|
|
<max>25</max>
|
|
|
|
<step>-1</step>
|
|
|
|
<wrap>false</wrap>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<slider>
|
|
|
|
<row>1</row>
|
|
|
|
<col>2</col>
|
|
|
|
<min>-25</min>
|
|
|
|
<max>25</max>
|
2019-03-11 02:13:40 +00:00
|
|
|
<property>/sim/model/autopush/target-speed-km_h</property>
|
2018-12-30 21:28:02 +00:00
|
|
|
<step>1.0</step>
|
2018-08-02 23:40:28 +00:00
|
|
|
<live>true</live>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-apply</command>
|
|
|
|
</binding>
|
|
|
|
</slider>
|
|
|
|
|
|
|
|
<button>
|
|
|
|
<row>1</row>
|
|
|
|
<col>3</col>
|
|
|
|
<pref-width>25</pref-width>
|
|
|
|
<pref-height>25</pref-height>
|
|
|
|
<legend>></legend>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
2019-03-11 02:13:40 +00:00
|
|
|
<property>/sim/model/autopush/target-speed-km_h</property>
|
2018-08-02 23:40:28 +00:00
|
|
|
<min>-25</min>
|
|
|
|
<max>25</max>
|
|
|
|
<step>1</step>
|
|
|
|
<wrap>false</wrap>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button>
|
|
|
|
<row>1</row>
|
|
|
|
<col>4</col>
|
|
|
|
<pref-width>50</pref-width>
|
|
|
|
<pref-height>25</pref-height>
|
|
|
|
<legend>Stop</legend>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
2019-03-11 02:13:40 +00:00
|
|
|
<property>/sim/model/autopush/target-speed-km_h</property>
|
2018-08-02 23:40:28 +00:00
|
|
|
<value>0</value>
|
|
|
|
</binding>
|
2019-03-11 02:13:40 +00:00
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>autopush_driver.pause();</script>
|
|
|
|
</binding>
|
2018-08-02 23:40:28 +00:00
|
|
|
</button>
|
|
|
|
|
|
|
|
<text>
|
|
|
|
<row>1</row>
|
|
|
|
<col>5</col>
|
|
|
|
<pref-width>16</pref-width>
|
2019-03-11 02:13:40 +00:00
|
|
|
<property>/sim/model/autopush/target-speed-km_h</property>
|
2018-08-02 23:40:28 +00:00
|
|
|
<format>%3.0f</format>
|
|
|
|
<live>true</live>
|
|
|
|
<halign>right</halign>
|
|
|
|
</text>
|
|
|
|
|
|
|
|
<text>
|
|
|
|
<row>1</row>
|
|
|
|
<col>6</col>
|
|
|
|
<label> km/h</label>
|
|
|
|
<halign>left</halign>
|
|
|
|
</text>
|
|
|
|
|
|
|
|
</group>
|
|
|
|
|
|
|
|
<hrule/>
|
|
|
|
|
|
|
|
<group>
|
|
|
|
<layout>table</layout>
|
|
|
|
|
|
|
|
<text>
|
|
|
|
<row>0</row>
|
|
|
|
<col>0</col>
|
|
|
|
<label>Auto push:</label>
|
|
|
|
<halign>left</halign>
|
|
|
|
</text>
|
|
|
|
|
|
|
|
<button>
|
|
|
|
<row>0</row>
|
|
|
|
<col>1</col>
|
|
|
|
<pref-width>50</pref-width>
|
|
|
|
<pref-height>25</pref-height>
|
|
|
|
<legend>Start</legend>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>autopush_driver.start();</script>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button>
|
|
|
|
<row>0</row>
|
|
|
|
<col>2</col>
|
|
|
|
<pref-width>50</pref-width>
|
|
|
|
<pref-height>25</pref-height>
|
2019-03-11 02:13:40 +00:00
|
|
|
<legend>Pause</legend>
|
2018-08-02 23:40:28 +00:00
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
2019-03-11 02:13:40 +00:00
|
|
|
<script>autopush_driver.pause();</script>
|
2018-08-02 23:40:28 +00:00
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<text>
|
|
|
|
<row>1</row>
|
|
|
|
<col>0</col>
|
2018-08-23 14:37:44 +00:00
|
|
|
<label>Route:</label>
|
2018-08-02 23:40:28 +00:00
|
|
|
<halign>left</halign>
|
|
|
|
</text>
|
|
|
|
|
|
|
|
<button>
|
|
|
|
<row>1</row>
|
|
|
|
<col>1</col>
|
|
|
|
<pref-width>50</pref-width>
|
|
|
|
<pref-height>25</pref-height>
|
|
|
|
<legend>Enter</legend>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>autopush_route.enter();</script>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button>
|
|
|
|
<row>1</row>
|
|
|
|
<col>2</col>
|
|
|
|
<pref-width>50</pref-width>
|
|
|
|
<pref-height>25</pref-height>
|
|
|
|
<legend>Done</legend>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>autopush_route.done();</script>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<checkbox>
|
|
|
|
<row>1</row>
|
|
|
|
<col>3</col>
|
2018-08-23 14:37:44 +00:00
|
|
|
<halign>left</halign>
|
2018-08-24 13:13:37 +00:00
|
|
|
<label>Always Show</label>
|
|
|
|
<live>true</live>
|
2019-03-11 02:13:40 +00:00
|
|
|
<property>/sim/model/autopush/route/show</property>
|
2018-08-02 23:40:28 +00:00
|
|
|
<binding>
|
|
|
|
<command>dialog-apply</command>
|
|
|
|
</binding>
|
2019-03-24 04:02:51 +00:00
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>acconfig.writeSettings();</script>
|
|
|
|
</binding>
|
2018-08-02 23:40:28 +00:00
|
|
|
</checkbox>
|
|
|
|
|
2018-08-23 14:37:44 +00:00
|
|
|
<text>
|
|
|
|
<row>2</row>
|
|
|
|
<col>0</col>
|
|
|
|
<label>Last point:</label>
|
|
|
|
<halign>left</halign>
|
|
|
|
</text>
|
|
|
|
|
|
|
|
<button>
|
|
|
|
<row>2</row>
|
|
|
|
<col>1</col>
|
|
|
|
<pref-width>50</pref-width>
|
|
|
|
<pref-height>25</pref-height>
|
|
|
|
<legend>Sharp</legend>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
2019-03-11 02:13:40 +00:00
|
|
|
<script>autopush_route.toggle_sharp();</script>
|
2018-08-23 14:37:44 +00:00
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button>
|
|
|
|
<row>2</row>
|
|
|
|
<col>2</col>
|
|
|
|
<pref-width>50</pref-width>
|
|
|
|
<pref-height>25</pref-height>
|
|
|
|
<legend>Delete</legend>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>autopush_route.delete_last();</script>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
2019-03-11 02:13:40 +00:00
|
|
|
<checkbox>
|
|
|
|
<row>2</row>
|
|
|
|
<col>3</col>
|
|
|
|
<halign>left</halign>
|
|
|
|
<label>Show Wingtip</label>
|
|
|
|
<live>true</live>
|
|
|
|
<property>/sim/model/autopush/route/show-wingtip</property>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-apply</command>
|
|
|
|
</binding>
|
2019-03-24 04:02:51 +00:00
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>acconfig.writeSettings();</script>
|
|
|
|
</binding>
|
2019-03-11 02:13:40 +00:00
|
|
|
</checkbox>
|
|
|
|
|
2018-08-02 23:40:28 +00:00
|
|
|
</group>
|
|
|
|
|
|
|
|
</group>
|
|
|
|
|
|
|
|
</PropertyList>
|