Debian Codegraph @

Aircraft/c172p/Systems/damage.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4 Copyright (c) 2015 onox
5
6 This program is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 2 of the License, or
9 (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>.
18 -->
19
20 <PropertyList>
21
22 <filter>
23 <name>Damage Left Wing Type</name>
24 <type>gain</type>
25
26 <!-- Normal -->
27 <input>
28 <condition>
29 <equals>
30 <property>/fdm/jsbsim/wing-damage/left-wing</property>
31 <value>0.0</value>
32 </equals>
33 </condition>
34 <value>0</value>
35 </input>
36
37 <!-- Broken -->
38 <input>
39 <condition>
40 <equals>
41 <property>/fdm/jsbsim/wing-damage/left-wing</property>
42 <value>1.0</value>
43 </equals>
44 </condition>
45 <value>1</value>
46 </input>
47
48 <!-- Damaged -->
49 <input>
50 <value>2</value>
51 </input>
52
53 <output>
54 <property>/sim/model/c172p/damage/left-wing</property>
55 </output>
56 </filter>
57
58 <filter>
59 <name>Damage Right Wing Type</name>
60 <type>gain</type>
61
62 <!-- Normal -->
63 <input>
64 <condition>
65 <equals>
66 <property>/fdm/jsbsim/wing-damage/right-wing</property>
67 <value>0.0</value>
68 </equals>
69 </condition>
70 <value>0</value>
71 </input>
72
73 <!-- Broken -->
74 <input>
75 <condition>
76 <equals>
77 <property>/fdm/jsbsim/wing-damage/right-wing</property>
78 <value>1.0</value>
79 </equals>
80 </condition>
81 <value>1</value>
82 </input>
83
84 <!-- Damaged -->
85 <input>
86 <value>2</value>
87 </input>
88
89 <output>
90 <property>/sim/model/c172p/damage/right-wing</property>
91 </output>
92 </filter>
93
94 </PropertyList>