Browse Source

aircraft: added scheibe falke default settings

Fabian Peter Hammerle 3 years ago
parent
commit
7749556250

+ 9 - 10
.gitignore

@@ -1,10 +1,9 @@
-Aircraft/
-Export/
-FlightGear/
-PreviewsCache/
-TerraSync/
-TextureCache/
-ai/
-autosave_*.xml
-fgfs*.log
-navdata_*.cache
+/Export/
+/FlightGear/
+/PreviewsCache/
+/TerraSync/
+/TextureCache/
+/ai/
+/autosave_*.xml
+/fgfs*.log
+/navdata_*.cache

+ 1 - 0
Aircraft/.gitignore

@@ -0,0 +1 @@
+/ThumbnailCache/

+ 2 - 0
Aircraft/org.flightgear.fgaddon.trunk/.gitignore

@@ -0,0 +1,2 @@
+/.timestamp
+/catalog.xml

+ 7 - 0
Aircraft/org.flightgear.fgaddon.trunk/Aircraft/.gitignore

@@ -0,0 +1,7 @@
+/*/.revision
+/*/Models/
+/*/Nasal/
+/*/Sounds/
+/*/Splash/
+/*/Systems/
+/*/thumbnail.jpg

+ 113 - 0
Aircraft/org.flightgear.fgaddon.trunk/Aircraft/sf25b/sf25b-set.xml

@@ -0,0 +1,113 @@
+<?xml version="1.0"?>
+<PropertyList>
+	<sim>
+		<description type="string">Scheibe SF-25B Falke</description>
+		<author type="string">A. Goritsas, V. Radnai</author>
+		<status type="string">beta</status>
+		<rating>
+			<FDM type="int">3</FDM>
+			<systems type="int">1</systems>
+			<cockpit type="int">2</cockpit>
+			<model type="int">3</model>
+		</rating>
+		<aircraft-version>20120222</aircraft-version>
+		<flight-model>yasim</flight-model>
+		<aero>sf25b-yasim</aero>
+		<startup>
+			<splash-texture>Aircraft/sf25b/Splash/Splash-1.png</splash-texture>
+		</startup>
+		<view n="0">
+			<internal archive="y">true</internal>
+			<config>
+				<!--Right-->
+				<x-offset-m archive="y">-0.200</x-offset-m>
+				<!--Up-->
+				<y-offset-m archive="y">0.565</y-offset-m>
+				<!--Back-->
+				<z-offset-m archive="y">-0.265</z-offset-m>
+				<!--viewangle-->
+				<pitch-offset-deg>0</pitch-offset-deg>
+				<!--Zoom-->
+				<default-field-of-view-deg>75</default-field-of-view-deg>
+			</config>
+		</view>
+		<sound>
+			<path archive="y">Aircraft/sf25b/Sounds/sf25b-sound.xml</path>
+		</sound>
+		<canopy>
+			<position-norm type="double">0</position-norm>
+		</canopy>
+		<model>
+			<path>Aircraft/sf25b/Models/sf25b.xml</path>
+			<canopy>
+				<canopy-switch type="int">2</canopy-switch>
+			</canopy>
+		</model>
+		<!-- <systems include="Aircraft/sf25b/Systems/electrical.xml"> -->
+		<systems>
+			<autopilot>
+				<path>Aircraft/sf25b/Systems/autopilot.xml</path>
+			</autopilot>
+		</systems>
+		<help>
+			<title>Scheibe SF-25B Falke</title>
+			<line>Vs &lt; 35 KIAS</line>
+			<line>Vx 59 KIAS</line>
+			<line>Vy 80-100 KIAS</line>
+			<line>Vne 105 KIAS</line>
+			<key>
+				<name>C</name>
+				<desc>Open/Close Canopy</desc>
+			</key>
+			<key>
+				<name>j / k</name>
+				<desc>Retract / extend spoilers and apply wheel brake</desc>
+			</key>
+			<line>Caution: On the SF-25 the wheel brake is applied by pulling the spoiler lever all the way. The brakes start to work at around 80% spoiler. Touching down with the spoilers fully extended on landing will result in the aircraft nosing
+      over.</line>
+			<line>The parking brake lever will lock the spoilers + brake lever open. Pulling the brake further will release the parking brake.</line>
+		</help>
+	</sim>
+	<input>
+		<keyboard>
+			<key n="67">
+				<name>C</name>
+				<desc>Toggle Canopy</desc>
+				<binding n="0">
+					<command>nasal</command>
+					<script>sf25b.toggle_canopy()</script>
+				</binding>
+			</key>
+			<key n="106">
+				<name>j</name>
+				<desc>Spoilers retract</desc>
+				<binding>
+					<command>property-adjust</command>
+					<property>controls/flight/spoilers</property>
+					<step>-0.1</step>
+					<min>0.0</min>
+				</binding>
+			</key>
+			<key n="107">
+				<name>k</name>
+				<desc>Spoilers extend</desc>
+				<binding>
+					<command>property-adjust</command>
+					<property>controls/flight/spoilers</property>
+					<step>0.1</step>
+					<max>1.0</max>
+				</binding>
+			</key>
+		</keyboard>
+	</input>
+	<nasal>
+		<sf25b>
+			<file>Aircraft/sf25b/Nasal/sf25b.nas</file>
+			<file>Aircraft/sf25b/Nasal/sf25b-electrical.nas</file>
+			<file>Aircraft/sf25b/Nasal/fluids.nas</file>
+			<file>Aircraft/sf25b/Nasal/spoilers.nas</file>
+			<file>Aircraft/sf25b/Nasal/ilec-sc7.nas</file>
+			<file>Aircraft/sf25b/Nasal/wool-thread.nas</file>
+		</sf25b>
+	</nasal>
+</PropertyList>

+ 67 - 0
Aircraft/org.flightgear.fgaddon.trunk/Aircraft/sf25b/sf25b-yasim.xml

@@ -0,0 +1,67 @@
+<?xml version="1.0"?>
+<!--
+Flight model for SF25C
+-->
+<airplane mass="1190">
+	<approach speed="38" aoa="6" fuel="0.2">
+		<control-setting axis="/controls/engines/engine[0]/throttle" value="0.2"/>
+		<control-setting axis="/controls/engines/engine[0]/mixture" value="1.0"/>
+		<control-setting axis="/controls/engines/engine[0]/propeller-pitch" value="1.0"/>
+	</approach>
+	<cruise speed="60" alt="4000" fuel="0.7">
+		<control-setting axis="/controls/engines/engine[0]/throttle" value="0.3"/>
+		<control-setting axis="/controls/engines/engine[0]/mixture" value="1.0"/>
+		<control-setting axis="/controls/engines/engine[0]/propeller-pitch" value="1.0"/>
+	</cruise>
+	<cockpit x="-0.216" y="0.154" z="0.616"/>
+	<fuselage ax="1.949" ay="0" az="0.139" bx="-4.803" by="0" bz="0.294" width="1.176" taper="0.2" midpoint="0.260"/>
+	<wing x="-0.371" y="0.502" z="-0.077" taper="0.466" incidence="5.0" twist="-2.5" length="7.22" chord="1.5" sweep="-4.5" dihedral="3" camber="0.05" effectiveness="2">
+		<stall aoa="16" width="10" peak="1.5"/>
+		<flap0 start="0.595" end="1" lift="1.165" drag="1.2"/>
+		<control-input axis="/controls/flight/aileron" control="FLAP0" split="true"/>
+		<control-output control="FLAP0" side="left" prop="surface-positions/left-aileron-pos-norm"/>
+		<control-output control="FLAP0" side="right" prop="surface-positions/right-aileron-pos-norm"/>
+		<spoiler start="0.231" end="0.38" lift="-0.2" drag="10"/>
+		<control-input axis="/controls/flight/spoilers" control="SPOILER" src0="0.0" src1="0.8" dst0="0.0" dst1="1.0"/>
+		<control-output control="SPOILER" prop="/surface-positions/speedbrake-pos-norm"/>
+	</wing>
+	<hstab x="-4.295" y="0.0" z="0.477" taper="1" length="1.45" chord="0.9" sweep="0" camber="0.1" effectiveness="2">
+		<stall aoa="18" width="6" peak="1.5"/>
+		<flap0 start="0.0" end="1" lift="1.3" drag="1.45"/>
+		<control-input axis="/controls/flight/elevator" control="FLAP0"/>
+		<control-input axis="/controls/flight/elevator-trim" control="FLAP0"/>
+		<control-output control="FLAP0" prop="/surface-positions/elevator-pos-norm"/>
+	</hstab>
+	<vstab x="-4.837" y="0" z="0.307" taper="0.47" length="1.45" chord="1.46" sweep="0" effectiveness="2">
+		<stall aoa="15" width="6" peak="1.5"/>
+		<flap0 start="0" end="0.88" lift="1.7" drag="1.75"/>
+		<control-input axis="/controls/flight/rudder" square="true" control="FLAP0" invert="true"/>
+		<control-input axis="/controls/flight/rudder-trim" control="FLAP0" invert="true"/>
+		<control-output control="FLAP0" prop="/surface-positions/rudder-pos-norm" min="1" max="-1"/>
+	</vstab>
+	<propeller x="1.463" y="0.0" z="0.071" mass="200" moment="2.25" radius="0.782" cruise-speed="106" cruise-rpm="3300" cruise-alt="5000" cruise-power="80" takeoff-power="60" takeoff-rpm="2700">
+		<actionpt x="1.690" y="0.0" z="0.137"/>
+		<piston-engine eng-rpm="3400" eng-power="80" displacement="121" compression="8.6">
+			<control-input control="THROTTLE" axis="/controls/engines/engine[0]/throttle"/>
+			<control-input control="STARTER" axis="/controls/engines/engine[0]/starter"/>
+			<control-input control="MAGNETOS" axis="/controls/engines/engine[0]/magnetos"/>
+			<control-input control="MIXTURE" axis="/controls/engines/engine[0]/mixture"/>
+		</piston-engine>
+	</propeller>
+	<gear x="0.485" y="0.0" z="-0.76" dfric="0.6" sfric="0.7" damp="0.5" spring="1.5" compression="0.1">
+		<control-input axis="/controls/gear/brake-parking" control="BRAKE" split="false"/>
+		<control-input axis="/controls/flight/spoilers" control="BRAKE" split="false" src0="0.8" src1="1.0" dst0="0.0" dst1="0.7"/>
+	</gear>
+	<gear x="0.036" y="-3.087" z="-0.646" dfric="0.07" sfric="0.08" damp="5" spring="0.5" compression="0.1"/>
+	<gear x="0.036" y="3.087" z="-0.646" dfric="0.07" sfric="0.08" damp="5" spring="0.5" compression="0.1"/>
+	<gear x="-4.765" y="0" z="-0.05" dfric="1" sfric="1" damp="0.5" spring="2" compression="0.02">
+		<control-input axis="/controls/flight/rudder" control="STEER" src0="-1.0" src1="1.0" dst0=".25" dst1="-.25"/>
+	</gear>
+	<!-- tank capacity 55lt (x1.58= 86.9 pounds) -->
+	<tank x="-0.537" y="0" z="0.548" capacity="86.9"/>
+	<!-- Pilots -->
+	<ballast x="0.201" y="-0.254" z="0.51" mass="120"/>
+	<ballast x="0.201" y="0.254" z="0.51" mass="120"/>
+	<!-- tail weight fudge to get CG right -->
+	<ballast x="1.3" y="0" z="0.260" mass="200"/>
+</airplane>

+ 116 - 0
Aircraft/org.flightgear.fgaddon.trunk/Aircraft/sf25b/sf25c-set.xml

@@ -0,0 +1,116 @@
+<?xml version="1.0"?>
+<PropertyList>
+	<sim>
+		<description type="string">Scheibe SF-25C Falke</description>
+		<author type="string">A. Goritsas, V. Radnai</author>
+		<status type="string">beta</status>
+		<rating>
+			<FDM type="int">3</FDM>
+			<systems type="int">1</systems>
+			<cockpit type="int">2</cockpit>
+			<model type="int">3</model>
+		</rating>
+		<aircraft-version>20120222</aircraft-version>
+		<flight-model>yasim</flight-model>
+		<variant-of>sf25b</variant-of>
+		
+		<aero>sf25b-yasim</aero>
+		<startup>
+			<splash-texture>Aircraft/sf25b/Splash/Splash-1.png</splash-texture>
+		</startup>
+		<view n="0">
+			<internal archive="y">true</internal>
+			<config>
+				<!--Right-->
+				<x-offset-m archive="y">-0.200</x-offset-m>
+				<!--Up-->
+				<y-offset-m archive="y">0.465</y-offset-m>
+				<!--Back-->
+				<z-offset-m archive="y">-0.265</z-offset-m>
+				<!--viewangle-->
+				<pitch-offset-deg>0</pitch-offset-deg>
+				<!--Zoom-->
+				<default-field-of-view-deg>75</default-field-of-view-deg>
+			</config>
+		</view>
+		<sound>
+			<path archive="y">Aircraft/sf25b/Sounds/sf25b-sound.xml</path>
+		</sound>
+		<canopy>
+			<position-norm type="double">0</position-norm>
+		</canopy>
+		<model>
+			<path>Aircraft/sf25b/Models/sf25c.xml</path>
+			<canopy>
+				<canopy-switch type="int">2</canopy-switch>
+			</canopy>
+		</model>
+		<systems>
+			<autopilot>
+				<path>Aircraft/sf25b/Systems/autopilot.xml</path>
+			</autopilot>
+		</systems>
+		<help>
+			<title>Scheibe SF-25C Falke</title>
+			<line>Vs &lt; 35 KIAS</line>
+			<line>Vx 59 KIAS</line>
+			<line>Vy 80-100 KIAS</line>
+			<line>Vne 105 KIAS</line>
+			<key>
+				<name>C</name>
+				<desc>Open/Close Canopy</desc>
+			</key>
+			<key>
+				<name>j / k</name>
+				<desc>Retract / extend spoilers and apply wheel brake</desc>
+			</key>
+			<line>Caution: On the SF-25 the wheel brake is applied by pulling the spoiler lever all the way.
+			The brakes start to work at around 80% spoiler.
+			Touching down with the spoilers fully extended on landing will result in the aircraft nosing over.</line>
+			<line>The parking brake lever will lock the spoilers + brake lever open. Pulling the brake further will
+			release the parking brake.</line>
+		</help>
+	</sim>
+	<input>
+		<keyboard>
+			<key n="67">
+				<name>C</name>
+				<desc>Toggle Canopy</desc>
+				<binding n="0">
+					<command>nasal</command>
+					<script>sf25b.toggle_canopy()</script>
+				</binding>
+			</key>
+			<key n="106">
+				<name>j</name>
+				<desc>Spoilers retract</desc>
+				<binding>
+					<command>property-adjust</command>
+					<property>controls/flight/spoilers</property>
+					<step>-0.1</step>
+					<min>0.0</min>
+				</binding>
+			</key>
+			<key n="107">
+				<name>k</name>
+				<desc>Spoilers extend</desc>
+				<binding>
+					<command>property-adjust</command>
+					<property>controls/flight/spoilers</property>
+					<step>0.1</step>
+					<max>1.0</max>
+				</binding>
+			</key>
+		</keyboard>
+	</input>
+	<nasal>
+		<sf25b>
+			<file>Aircraft/sf25b/Nasal/sf25b.nas</file>
+			<file>Aircraft/sf25b/Nasal/sf25b-electrical.nas</file>
+			<file>Aircraft/sf25b/Nasal/fluids.nas</file>
+			<file>Aircraft/sf25b/Nasal/spoilers.nas</file>
+			<file>Aircraft/sf25b/Nasal/ilec-sc7.nas</file>
+			<file>Aircraft/sf25b/Nasal/wool-thread.nas</file>
+		</sf25b>
+	</nasal>
+</PropertyList>