Tupolev Tu-154B-2 by Yurik and his team.
[fg:toms-fgdata.git] / Aircraft / tu154b / Systems / pushback.xml
1 <?xml version='1.0' encoding='UTF-8' ?>
2 <system name="pushback">
3  <property>/sim/model/pushback/target-speed-fps</property>
4  <channel name="Pushback">
5
6    <switch name="systems/pushback/linked">
7      <default value="-1"/>
8      <test value="0">
9        /sim/model/pushback/position-norm gt 0.95
10        /gear/gear/wow == 1
11        gear/unit[0]/wheel-speed-fps lt 50
12      </test>
13    </switch>
14
15    <summer name="systems/pushback/speed-error">
16      <input>/sim/model/pushback/target-speed-fps</input>
17      <input>-gear/unit[0]/wheel-speed-fps</input>
18    </summer>
19
20    <pid name="systems/pushback/force">
21      <input>systems/pushback/speed-error</input>
22      <kp>/sim/model/pushback/kp</kp>
23      <ki>/sim/model/pushback/ki</ki>
24      <kd>/sim/model/pushback/kd</kd>
25      <trigger>systems/pushback/linked</trigger>
26      <output>/sim/model/pushback/force</output>
27    </pid>
28
29    <switch name="systems/pushback/force-output">
30      <default value="0"/>
31      <test value="systems/pushback/force">
32        systems/pushback/linked == 0
33      </test>
34      <output>external_reactions/pushback/magnitude</output>
35    </switch>
36
37  </channel>
38 </system>