-
Notifications
You must be signed in to change notification settings - Fork 474
/
Copy pathball.xml
163 lines (151 loc) · 5.65 KB
/
ball.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="http://jsbsim.sourceforge.net/JSBSim.xsl"?>
<fdm_config name="BALL" version="2.0" release="BETA"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<fileheader>
<author> Jon Berndt </author>
<filecreationdate> 2004-06-01 </filecreationdate>
<version> Version 1.0 </version>
<description> Test file </description>
<note>
This model of a ball was created using publicly available data, publicly available
technical reports, textbooks, testing, and guesses. It contains no proprietary or
restricted data. If this model has been validated at all, it would be only to the
extent that it seems to fly, bounce, roll, or be retrieved by a dog, in a plausible
way, and that it possibly complies with published, publicly known, performance data
(maximum bounce, endurance, etc.). Thus, this model is meant for educational and
entertainment purposes only.
This simulation model is not endorsed by the manufacturer. This model is not
to be sold.
</note>
</fileheader>
<metrics>
<wingarea unit="FT2"> 1 </wingarea>
<wingspan unit="FT"> 1 </wingspan>
<chord unit="FT"> 1 </chord>
<htailarea unit="FT2"> 0 </htailarea>
<htailarm unit="FT"> 0 </htailarm>
<vtailarea unit="FT2"> 0 </vtailarea>
<vtailarm unit="FT"> 0 </vtailarm>
<location name="AERORP" unit="IN">
<x> 0 </x>
<y> 0 </y>
<z> 0 </z>
</location>
<location name="EYEPOINT" unit="IN">
<x> 0 </x>
<y> 0 </y>
<z> 0 </z>
</location>
<location name="VRP" unit="IN">
<x> 0 </x>
<y> 0 </y>
<z> 0 </z>
</location>
</metrics>
<mass_balance>
<ixx unit="SLUG*FT2"> 20 </ixx>
<iyy unit="SLUG*FT2"> 10 </iyy>
<izz unit="SLUG*FT2"> 10 </izz>
<ixy unit="SLUG*FT2"> -0 </ixy>
<ixz unit="SLUG*FT2"> -0 </ixz>
<iyz unit="SLUG*FT2"> -0 </iyz>
<emptywt unit="LBS"> 40 </emptywt>
<location name="CG" unit="IN">
<x> 0 </x>
<y> 0 </y>
<z> 0 </z>
</location>
<pointmass name="M0">
<weight unit="LBS"> 10 </weight>
<location name="POINTMASS" unit="IN">
<x> 0 </x>
<y> 0 </y>
<z> 0 </z>
</location>
</pointmass>
<pointmass name="M1">
<weight unit="LBS"> 0 </weight>
<location name="POINTMASS" unit="FT">
<x> 0 </x>
<y> -5 </y>
<z> 0 </z>
</location>
</pointmass>
</mass_balance>
<ground_reactions>
<contact type="BOGEY" name="CONTACT">
<location unit="IN">
<x> 0 </x>
<y> 0 </y>
<z> 0 </z>
</location>
<static_friction> 0 </static_friction>
<dynamic_friction> 0 </dynamic_friction>
<rolling_friction> 0 </rolling_friction>
<spring_coeff unit="LBS/FT"> 10000 </spring_coeff>
<damping_coeff unit="LBS/FT/SEC"> 200000 </damping_coeff>
<max_steer unit="DEG"> 0.0 </max_steer>
<brake_group> NONE </brake_group>
<retractable>0</retractable>
</contact>
</ground_reactions>
<external_reactions>
<!-- "Declare" the reefing term -->
<property>fcs/parachute_reef_pos_norm</property>
<force name="parachute" frame="WIND">
<function>
<product>
<property>aero/qbar-psf</property>
<property>fcs/parachute_reef_pos_norm</property>
<value> 1.0 </value> <!-- Full drag coefficient -->
<value> 20.0 </value> <!-- Full parachute area -->
</product>
</function>
<!-- The location below is in structural frame (x positive
aft), so this location describes a point 1 foot aft
of the origin. In this case, the origin is the center. -->
<location unit="FT">
<x>1</x>
<y>0</y>
<z>0</z>
</location>
<!-- The direction describes a unit vector. In this case, since
the selected frame is the WIND frame, the "-1" x component
describes a direction exactly opposite of the direction
into the wind vector. That is, the direction specified below
is the direction that the drag force acts in. -->
<direction>
<x>-1</x>
<y>0</y>
<z>0</z>
</direction>
</force>
</external_reactions>
<propulsion/>
<flight_control name="FGFCS"/>
<aerodynamics>
<axis name="DRAG">
<function name="aero/coefficient/CD">
<description>Drag</description>
<product>
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<value>0.000</value>
</product>
</function>
</axis>
</aerodynamics>
<output name="BallOut.csv" type="CSV" rate="1">
<rates> ON </rates>
<velocities> ON </velocities>
<forces> ON </forces>
<moments> ON </moments>
<position> ON </position>
<massprops> ON </massprops>
<property> position/vrp-gc-latitude_deg </property>
<property> position/vrp-longitude_deg </property>
<property> position/vrp-radius-ft </property>
</output>
</fdm_config>