Skip to content
Snippets Groups Projects
Commit 69d3ec67 authored by James Goppert's avatar James Goppert
Browse files

Added easystar aircraft.

parent 23f9cdfb
No related branches found
No related tags found
No related merge requests found
Showing
with 37991 additions and 0 deletions
*.ac
*.csv
*.lfi
*.xml
*.dat
*.out
*.jiff
This diff is collapsed.
<?xml version="1.0"?>
<!-- HB2815-2000 -->
<electric_engine name="electric_250watt">
<power unit="WATTS"> 250 </power>
</electric_engine>
<?xml version="1.0"?>
<propeller name="apc 6x4">
<ixx> 0.0001 </ixx>
<diameter unit="IN"> 6.0 </diameter>
<numblades> 2 </numblades>
<minpitch> 30 </minpitch>
<maxpitch> 30 </maxpitch>
<minrpm> 0</minrpm>
<maxrpm> 40000</maxrpm>
<table name="C_THRUST" type="internal">
<tableData>
0.0 0.0776
0.1 0.0744
0.2 0.0712
0.3 0.0655
0.4 0.0588
0.5 0.0518
0.6 0.0419
0.7 0.0318
0.8 0.0172
1.0 -0.0058
1.4 -0.0549
</tableData>
</table>
<table name="C_POWER" type = "internal">
<tableData>
0.0 0.0902
0.1 0.0893
0.2 0.0880
0.3 0.0860
0.4 0.0810
0.5 0.0742
0.6 0.0681
0.7 0.0572
0.8 0.0467
1.0 0.0167
1.4 -0.0803
</tableData>
</table>
</propeller>
<?xml version="1.0"?>
<PropertyList>
<!--Plane-->
<path>easystar.ac</path>
<offsets>
<z-m>0.0</z-m>
<y-m>0</y-m>
<x-m>0.0</x-m>
<pitch-deg>0</pitch-deg>
</offsets>
<!--Elevator-->
<animation>
<type>rotate</type>
<object-name>Elevator</object-name>
<property>/surface-positions/elevator-pos-norm</property>
<factor>22.5</factor>
<axis>
<x1-m>0.701</x1-m>
<y1-m>-0.174</y1-m>
<z1-m>-0.010</z1-m>
<x2-m>0.701</x2-m>
<y2-m>0.0174</y2-m>
<z2-m>-0.010</z2-m>
</axis>
</animation>
<!--Rudder-->
<animation>
<type>rotate</type>
<object-name>Rudder</object-name>
<property>/surface-positions/rudder-pos-norm</property>
<factor>25</factor>
<axis>
<x1-m>0.716</x1-m>
<y1-m>0.000</y1-m>
<z1-m>0.000</z1-m>
<x2-m>0.715</x2-m>
<y2-m>0.000</y2-m>
<z2-m>0.083</z2-m>
</axis>
</animation>
<!-- Propeller -->
<animation>
<type>noshadow</type>
<object-name>Propeller.Spinning</object-name>
</animation>
<animation>
<type>material</type>
<object-name>Propeller.Spinning</object-name>
<threshold>0.001</threshold>
<transparency>
<alpha>0.2</alpha>
<factor-prop>/engines/engine[0]/rpm-norm-inv</factor-prop>
<min>0.0</min>
<max>1.0</max>
</transparency>
</animation>
<animation>
<type>select</type>
<object-name>Propeller.Spinning</object-name>
<condition>
<greater-than>
<property>/engines/engine[0]/rpm</property>
<value>350</value>
</greater-than>
</condition>
</animation>
<animation>
<type>spin</type>
<object-name>Propeller.Spinning</object-name>
<property>/engines/engine[0]/rpm</property>
<factor>1</factor>
<axis>
<x1-m>0.277</x1-m>
<y1-m>0.000</y1-m>
<z1-m>0.078</z1-m>
<x2-m>0.309</x2-m>
<y2-m>0.000</y2-m>
<z2-m>0.086</z2-m>
</axis>
</animation>
<animation>
<type>noshadow</type>
<object-name>Propeller</object-name>
</animation>
<animation>
<type>spin</type>
<object-name>Propeller</object-name>
<property>/engines/engine[0]/rpm</property>
<factor>1</factor>
<axis>
<x1-m>0.277</x1-m>
<y1-m>0.000</y1-m>
<z1-m>0.078</z1-m>
<x2-m>0.309</x2-m>
<y2-m>0.000</y2-m>
<z2-m>0.086</z2-m>
</axis>
</animation>
<animation>
<type>select</type>
<object-name>Propeller</object-name>
<condition>
<less-than>
<property>/engines/engine[0]/rpm</property>
<value>400</value>
</less-than>
</condition>
</animation>
</PropertyList>
This diff is collapsed.
File added
<?xml version="1.0"?>
<PropertyList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../XMLSchemas/PropertyList.xsd">
<sim>
<author>James Goppert</author>
<description>Multiplex Easy Star (DATCOM aerodynamics)</description>
<aircraft-version>0.0.0</aircraft-version>
<status>early-production</status>
<startup>
<splash-title>Multiplex Easy Star (DATCOM aerodynamcis)</splash-title>
<splash-texture>Aircraft/easystar/splash.rgb</splash-texture>
</startup>
<model>
<path>Aircraft/easystar/Models/easystar-model.xml</path>
</model>
<sound>
<path>Aircraft/easystar/easystar-sound.xml</path>
</sound>
<flight-model>jsb</flight-model>
<aero>easystar-datcom</aero>
</sim>
</PropertyList>
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?>
<PropertyList>
<fx>
<!--<crank>-->
<!--<name>engstart</name>-->
<!--<path>Sounds/engstart.wav</path>-->
<!--<property>/engines/engine[0]/cranking</property>-->
<!--<position>-->
<!--<x>-2.0</x>-->
<!--<y>0.0</y>-->
<!--<z>-2.0</z>-->
<!--</position>-->
<!--<volume>-->
<!--<offset>0.4</offset>-->
<!--</volume>-->
<!--</crank>-->
<!--<crank>-->
<!--<name>crank</name>-->
<!--<mode>looped</mode>-->
<!--<path>Sounds/cranking.wav</path>-->
<!--<condition>-->
<!--<property>/engines/engine[0]/cranking</property>-->
<!--<not>-->
<!--<property>/engines/engine[0]/running</property>-->
<!--</not>-->
<!--</condition>-->
<!--<position>-->
<!--<x>-2.0</x>-->
<!--<y>0.0</y>-->
<!--<z>-2.0</z>-->
<!--</position>-->
<!--<volume>-->
<!--<offset>0.5</offset>-->
<!--</volume>-->
<!--</crank>-->
<!--<crank>-->
<!--<name>cough</name>-->
<!--<path>Sounds/coughing.wav</path>-->
<!--<property>/engines/engine[0]/running</property>-->
<!--<position>-->
<!--<x>-2.0</x>-->
<!--<y>0.0</y>-->
<!--<z>-2.0</z>-->
<!--</position>-->
<!--<volume>-->
<!--<offset>0.3</offset>-->
<!--</volume>-->
<!--</crank>-->
<engine>
<name>engine</name>
<mode>looped</mode>
<path>Sounds/wasp.wav</path>
<property>/engines/engine[0]/running</property>
<position>
<x>-2.0</x>
<y>0.0</y>
<z>-2.0</z>
</position>
<volume>
<property>/engines/engine[0]/mp-osi</property>
<factor>0.009</factor>
<min>0.15</min>
<max>0.6</max>
<offset>0.15</offset>
</volume>
<pitch>
<property>/engines/engine[0]/rpm</property>
<factor>0.0004</factor>
<min>0.1</min>
<max>2.0</max>
<offset>0.3</offset>
</pitch>
</engine>
<squeal>
<name>squeal</name>
<path>Sounds/squeal.wav</path>
<condition>
<or>
<property>/gear/gear[0]/wow</property>
<property>/gear/gear[1]/wow</property>
<property>/gear/gear[2]/wow</property>
</or>
</condition>
<volume>
<property>/velocities/speed-down-fps</property>
<factor>0.05</factor>
</volume>
<volume>
<property>/velocities/airspeed-kt</property>
<factor>0.01</factor>
</volume>
<volume>
<internal>dt_stop</internal>
<factor>0.05</factor>
<max>1.0</max>
</volume>
<pitch>
<property>/velocities/airspeed-kt</property>
<factor>0.0025</factor>
<offset>1.2</offset>
</pitch>
</squeal>
<wind>
<name>wind</name>
<mode>looped</mode>
<path>Sounds/wind.wav</path>
<property>/velocities/airspeed-kt</property>
<volume>
<property>/position/altitude-ft</property>
<factor>-0.000015</factor>
<offset>1.0</offset>
<min>0.1</min>
<max>1.0</max>
</volume>
<volume>
<property>/velocities/airspeed-kt</property>
<factor>0.0015</factor>
<min>0.03</min>
<max>0.25</max>
</volume>
<pitch>
<property>/velocities/airspeed-kt</property>
<factor>0.01</factor>
<offset>1.25</offset>
</pitch>
</wind>
<stall>
<name>stall</name>
<path>Sounds/stall.wav</path>
<property>/sim/alarms/stall-warning</property>
<volume>
<property>/velocities/airspeed-kt</property>
<min>30.0</min>
</volume>
<reference-dist>10.0</reference-dist>
<max-dist>20.0</max-dist>
</stall>
<!-- no binding yet?
<click>
<name>click</name>
<path>Sounds/click.wav</path>
</click>
-->
</fx>
</PropertyList>
<?xml version="1.0"?>
<PropertyList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../XMLSchemas/PropertyList.xsd">
<sim>
<author>James Goppert</author>
<description>Multiplex Easy Star (wind tunnel aerodynamics)</description>
<aircraft-version>0.0.0</aircraft-version>
<status>early-production</status>
<startup>
<splash-title>Multiplex Easy Star (wind tunnel aerodynamics)</splash-title>
<splash-texture>Aircraft/easystar/splash.rgb</splash-texture>
</startup>
<model>
<path>Aircraft/easystar/Models/easystar-model.xml</path>
</model>
<sound>
<path>Aircraft/easystar/easystar-sound.xml</path>
</sound>
<flight-model>jsb</flight-model>
<aero>easystar-windtunnel</aero>
</sim>
</PropertyList>
This diff is collapsed.
This diff is collapsed.
<?xml version="1.0"?>
<initialize name="reset00">
<!--
This file sets up the aircraft to start off
from the runway in preparation for takeoff.
-->
<ubody unit="FT/SEC"> 50.0 </ubody>
<vbody unit="FT/SEC"> 0.0 </vbody>
<wbody unit="FT/SEC"> 0.0 </wbody>
<longitude unit="DEG"> -95.163839 </longitude>
<latitude unit="DEG"> 29.593978 </latitude>
<phi unit="DEG"> 0.0 </phi>
<theta unit="DEG"> 0.0 </theta>
<psi unit="DEG"> 200.0 </psi>
<altitude unit="FT"> 4.6 </altitude>
<elevation unit="FT"> 2000.0 </elevation>
</initialize>
<?xml version="1.0"?>
<initialize name="reset00">
<!--
-->
<ubody unit="FT/SEC"> 120.0 </ubody>
<vbody unit="FT/SEC"> 0.0 </vbody>
<wbody unit="FT/SEC"> 0.0 </wbody>
<latitude unit="DEG"> 28.0 </latitude>
<longitude unit="DEG"> -90.0 </longitude>
<phi unit="DEG"> 0.0 </phi>
<theta unit="DEG"> 40.0 </theta>
<psi unit="DEG"> 40.0 </psi>
<altitude unit="FT"> 10000.0 </altitude>
<winddir unit="DEG"> 0.0 </winddir>
<vwind unit="FT/SEC"> 0.0 </vwind>
</initialize>
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="http://jsbsim.sf.net/JSBSimScript.xsl"?>
<runscript xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://jsbsim.sf.net/JSBSimScript.xsd"
name="At-altitude autopilot test setup.">
<use aircraft="easystar" initialize="reset01"/>
<run start="0.0" end="2" dt="0.000001">
<event name="Engine start">
<condition>sim-time-sec ge 0.25</condition>
<set name="fcs/throttle-cmd-norm" value="0.5"/>
<notify>
<property>velocities/vc-kts</property>
<property>position/h-agl-ft</property>
</notify>
</event>
<event name="Trim">
<condition>sim-time-sec ge 1</condition>
<set name="simulation/do_simple_trim" value="0"/>
<notify>
<property>velocities/vc-kts</property>
<property>position/h-agl-ft</property>
</notify>
</event>
</run>
</runscript>
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment