Contact Us!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
Ardupilot

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

GitHub Repository: Ardupilot/ardupilot
Path: blob/master/Tools/autotest/aircraft/Rascal/Rascal110-JSBSim-set.xml
Views: 2027
1
<?xml version="1.0"?>
2
<!--
3
************************************************************************
4
Rascal 110 R/C airplane config. This files ties together all the components
5
used by FGFS to represent the Rascal 110 (by Sig Mfg) including the flight
6
dynamics model, and external 3D model.
7
************************************************************************
8
-->
9
10
<PropertyList>
11
<sim>
12
13
<description>Rascal 110 (R/C)</description>
14
<author>Lee Elliot (3D) Dave Culp (JSBsim dynamics) and Curt Olson</author>
15
<aircraft-version>0.1</aircraft-version>
16
<model-hz>400</model-hz>
17
18
<startup>
19
<splash-texture>Aircraft/Rascal/Rascal110-splash.rgb</splash-texture>
20
</startup>
21
22
<flight-model>jsb</flight-model>
23
<aero>Rascal110-JSBSim</aero>
24
<fuel-fraction>0.8</fuel-fraction>
25
26
<systems>
27
<autopilot>
28
<path>Aircraft/Rascal/Systems/110-autopilot.xml</path>
29
</autopilot>
30
<electrical>
31
<path>Aircraft/Rascal/Systems/electrical.xml</path>
32
</electrical>
33
</systems>
34
35
<sound>
36
<path>Aircraft/Generic/generic-sound.xml</path>
37
</sound>
38
39
<panel>
40
<visibility archive="n">false</visibility>
41
</panel>
42
43
<model>
44
<path archive="y">Aircraft/Rascal/Models/Rascal110.xml</path>
45
</model>
46
47
<view>
48
<internal archive="y">true</internal>
49
<config>
50
<x-offset-m archive="y">0.0</x-offset-m>
51
<y-offset-m archive="y">-0.15</y-offset-m>
52
<z-offset-m archive="y">0.9</z-offset-m>
53
<pitch-offset-deg>0</pitch-offset-deg>
54
</config>
55
</view>
56
57
<submodels>
58
<serviceable type="bool">1</serviceable>
59
<path>Aircraft/Rascal/Rascal-submodels.xml</path>
60
</submodels>
61
62
<view n="1">
63
<config>
64
<target-z-offset-m archive="y" type="double">0.5</target-z-offset-m>
65
</config>
66
</view>
67
68
<view n="2">
69
<config>
70
<target-z-offset-m archive="y" type="double">0.5</target-z-offset-m>
71
</config>
72
</view>
73
74
<view n="3">
75
<config>
76
<target-z-offset-m archive="y" type="double">0.5</target-z-offset-m>
77
</config>
78
</view>
79
80
<view n="4">
81
<config>
82
<target-z-offset-m archive="y" type="double">0.5</target-z-offset-m>
83
</config>
84
</view>
85
86
<view n="5">
87
<config>
88
<target-z-offset-m archive="y" type="double">0.5</target-z-offset-m>
89
</config>
90
</view>
91
92
<view n="6">
93
<config>
94
<target-z-offset-m archive="y" type="double">0.5</target-z-offset-m>
95
</config>
96
</view>
97
98
<multiplay>
99
<chat_display>1</chat_display>
100
<generic>
101
<int type="bool">0</int> <!-- smoke -->
102
<int type="bool">0</int> <!-- trajectory markers -->
103
</generic>
104
</multiplay>
105
106
<help>
107
<title>Rascal 110 (Sig Mfg)</title>
108
<line>Cruise speed: 60 kts</line>
109
<line>Never-exceed (Vne): 85 kts</line>
110
<line>Best Glide (Vglide): 20 kts</line>
111
<line>Maneuvering (Va): 50 kts</line>
112
<line>Approach speed: 20-25 kts</line>
113
<line>Stall speed (Vs): 15 kts</line>
114
</help>
115
116
</sim>
117
118
<nasal>
119
<rascal>
120
<file>Aircraft/Rascal/Systems/main.nas</file>
121
<file>Aircraft/Rascal/Systems/airdata.nas</file>
122
<file>Aircraft/Rascal/Systems/ugear.nas</file>
123
<script>
124
setlistener("/sim/signals/fdm-initialized", func {
125
var left = screen.display.new(20, 10);
126
left.add("/apm/aileron");
127
left.add("/apm/elevator");
128
left.add("/apm/rudder");
129
left.add("/apm/throttle");
130
131
var right = screen.display.new(-250, 20);
132
right.add("/apm/pitch");
133
right.add("/apm/roll");
134
right.add("/apm/altitude");
135
right.add("/apm/heading");
136
right.add("/apm/airspeed");
137
right.add("/apm/groundspeed");
138
});
139
</script>
140
</rascal>
141
</nasal>
142
143
<yasim>
144
<Rascal110>
145
<pilot-lb>2</pilot-lb>
146
</Rascal110>
147
</yasim>
148
149
<input>
150
<keyboard include="Rascal-keyboard.xml"/>
151
</input>
152
153
<controls>
154
<flight>
155
<aileron-trim>-0.01</aileron-trim> <!-- fixed -->
156
<elevator-trim>0.00</elevator-trim> <!-- controllable -->
157
<rudder-trim>0.00</rudder-trim> <!-- fixed -->
158
</flight>
159
<engines>
160
<engine n="0">
161
<magnetos>3</magnetos>
162
</engine>
163
</engines>
164
<smoke alias="/sim/multiplay/generic/int[0]"/>
165
<trajectory-markers alias="/sim/multiplay/generic/int[1]"/>
166
</controls>
167
168
<engines>
169
<engine>
170
<rpm type="double">700</rpm>
171
</engine>
172
</engines>
173
174
</PropertyList>
175
176