/
ballonet_manometer-2.xml
62 lines (56 loc) · 1.44 KB
/
ballonet_manometer-2.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!-- $Id$ -->
<!--
Submarine Scout class airship.
Copyright (C) 2007 - 2008 Anders Gidenstam (anders(at)gidenstam.org)
This file is licensed under the GPL license version 2 or later.
-->
<PropertyList>
<path>manometer.ac</path>
<offsets>
<!-- x/y/z == back/right/up -->
<x-m> 0.00 </x-m>
<y-m> 0.00 </y-m>
<z-m> 0.00 </z-m>
</offsets>
<!--
%% Animation factors.
r1 = 0.007; % m
r2 = 0.005; % m
psf2Pa=47.880257;
m2cm = 100;
c_outer = 1/(1+(r1^2 - r2^2)/r2^2) / (1000*9.81) * psf2Pa * m2cm
c_inner = 1/(1+r2^2/(r1^2 - r2^2)) / (1000*9.81) * psf2Pa * m2cm
-->
<animation>
<type>scale</type>
<object-name>inner_liquid</object-name>
<property>fdm/jsbsim/instrumentation/ballonet-pressure-psf[1]</property>
<x-factor>0.0</x-factor>
<x-offset>1.0</x-offset>
<y-factor>0.0</y-factor>
<y-offset>1.0</y-offset>
<z-factor>0.23906</z-factor>
<z-offset>5.0</z-offset>
<center>
<x-m> 0.00 </x-m>
<y-m> 0.00 </y-m>
<z-m> -0.05 </z-m>
</center>
</animation>
<animation>
<type>scale</type>
<object-name>outer_liquid</object-name>
<property>fdm/jsbsim/instrumentation/ballonet-pressure-psf[1]</property>
<x-factor>0.0</x-factor>
<x-offset>1.0</x-offset>
<y-factor>0.0</y-factor>
<y-offset>1.0</y-offset>
<z-factor>-0.24902</z-factor>
<z-offset>5.0</z-offset>
<center>
<x-m> 0.00 </x-m>
<y-m> 0.00 </y-m>
<z-m> -0.05 </z-m>
</center>
</animation>
</PropertyList>