2018-08-02 23:40:28 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
<!--
|
2018-08-24 13:13:37 +00:00
|
|
|
AUTOPUSH
|
|
|
|
Waypoint model.
|
|
|
|
Copyright (c) 2018 Autopush authors:
|
2018-08-02 23:40:28 +00:00
|
|
|
Michael Danilov <mike.d.ft402 -eh- gmail.com>
|
|
|
|
Joshua Davidson http://github.com/it0uchpods
|
2018-08-24 13:13:37 +00:00
|
|
|
Merspieler http://github.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>
|
|
|
|
<property>/sim/model/pushback/enabled</property>
|
|
|
|
<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>
|
|
|
|
<property>/sim/model/pushback/steer-cmd-norm</property>
|
|
|
|
<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>
|
|
|
|
<property>/sim/model/pushback/steer-cmd-norm</property>
|
|
|
|
<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>
|
|
|
|
<property>/sim/model/pushback/steer-cmd-norm</property>
|
|
|
|
<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>
|
|
|
|
<property>/sim/model/pushback/steer-cmd-norm</property>
|
|
|
|
<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>
|
|
|
|
<property>/sim/model/pushback/target-speed-km_h</property>
|
|
|
|
<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>
|
|
|
|
<property>/sim/model/pushback/target-speed-km_h</property>
|
|
|
|
<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>
|
|
|
|
<property>/sim/model/pushback/target-speed-km_h</property>
|
|
|
|
<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>
|
|
|
|
<property>/sim/model/pushback/target-speed-km_h</property>
|
|
|
|
<value>0</value>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<text>
|
|
|
|
<row>1</row>
|
|
|
|
<col>5</col>
|
|
|
|
<pref-width>16</pref-width>
|
|
|
|
<property>/sim/model/pushback/target-speed-km_h</property>
|
|
|
|
<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>
|
|
|
|
<legend>Stop</legend>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>autopush_driver.stop();</script>
|
|
|
|
</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>
|
2018-08-02 23:40:28 +00:00
|
|
|
<property>/sim/model/pushback/route/show</property>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-apply</command>
|
|
|
|
</binding>
|
|
|
|
</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>
|
|
|
|
<script>autopush_route.toggle_node();</script>
|
|
|
|
</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>
|
|
|
|
|
2018-08-02 23:40:28 +00:00
|
|
|
</group>
|
|
|
|
|
|
|
|
</group>
|
|
|
|
|
|
|
|
</PropertyList>
|