-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdc-10-tanker.xml
42 lines (33 loc) · 1.13 KB
/
dc-10-tanker.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0"?>
<!-- McDonnell Douglas DC-10 Tanker -->
<!-- Copyright (c) 2024 Josh Davidson (Octal450) -->
<system name="DC-10: Tanker">
<channel name="Refueling Logic">
<switch name="/systems/fcs/boom-rate">
<default value="0"/>
<test logic="OR" value="0.2">
/systems/hydraulics/sys-1-psi ge 1500
/systems/hydraulics/sys-2-psi ge 1500
/systems/hydraulics/sys-3-psi ge 1500
</test>
</switch>
<actuator name="/systems/fcs/boom-pos">
<input>/options/boom-pos-cmd</input>
<rate_limit>/systems/fcs/boom-rate</rate_limit>
</actuator>
<lag_filter name="/systems/fcs/boom-lag">
<input>/systems/fcs/boom-pos</input>
<c1>5.0</c1>
<output>/systems/fcs/boom-final</output> <!-- So it can be overidden by flight recorder -->
<output>/engines/engine[7]/n1</output> <!-- Backwards compatibility -->
</lag_filter>
<switch name="/systems/fcs/tanker-active">
<default value="0"/>
<test logic="OR" value="1">
/systems/fcs/boom-lag ge 0.95
/options/drogues-shown eq 1
</test>
<output>/tanker</output> <!-- Sets this property for MP -->
</switch>
</channel>
</system>