jsbsim.js
Version:
JSBSim flight dynamics model ported to JavaScript
205 lines (175 loc) • 10.6 kB
HTML
<HTML>
<HEAD><TITLE>Aeromatic v 0.8</TITLE>
</HEAD>
<body background="fgbackground2.jpg" leftMargin=50 topMargin=50 rightMargin=15>
<P><FONT face=Arial size=4><STRONG>Aeromatic</STRONG></FONT></P>
<b>version 0.8</b> <!-- 03 July 2003, David P. Culp, davidculp2@comcast.net --><!-- update: 26 July 2003, DPC, new aero.php with flap changes --><!-- update: 5 Sept 2003, DPC, added multi-engine prop transport --><!-- update: 29 Sept 2003, DPC, added high-alpha/beta drag --><!-- update: 16 Oct 2003, DPC, better FCS, version 0.7 --><!-- update: 13 Dec 2004, DPC, new configuration file format 2.0 -->
<br><hr>
This form can be used to create aircraft configuration files for
use with the <A href="http://jsbsim.sourceforge.net">JSBSim</A> Flight
Dynamics Model, the default FDM for the
<A href="http://www.flightgear.org">FlightGear</A> flight simulator. The configuration file format is version 2.0,
and is incompatable with older formats because of an extensive overhaul of JSBSim's XML code that occured in December
of 2004.
<br><br>
You will need at least two files for a complete configuration, an <i>aero</i>
file containing information on the aircraft's aerodynamic properties, an
<i>engine</i> file describing the engine(s), and in the case of a
propeller-driven aircraft you will need a <i>prop</i> file. Aeromatic
will generate plausible configuration files for your aircraft using some
simplifying assumptions. Note that Aeromatic allows only one type of engine
to be defined per aircraft. If you want to mix engine types you'll have to
make the necessary changes by hand. Also note that all turbine, turboprop and
rocket engines use the default "direct" thruster.
<br><br>
For more detailed instructions see the <B><A href="readme-aeromatic.html">How-to</A></B>
<br><br><hr><br><!-- *************************************************************************** --><!-- * Engine Form * --><!-- *************************************************************************** -->
<form action="engine.php" method="post">
<font color=red size=5>Step 1: The Engine configuration ...</font>
This step is not necessary if you are using an already existing engine
configuration file. In any case you will have to edit the propulsion
section of the aero configuration file to ensure that the engine name
is the same as the name of the engine configuration file.
<br><br><br>
<b>Engine Name</b><br>
<input name="ac_enginename" value="my_engine" >
<br><hr align=left width="'%"50"'">
<b>Engine Type</b><br>
<input type="radio" name="ac_enginetype" value="0" checked>piston
<input type="radio" name="ac_enginetype" value="1">turbine
<input type="radio" name="ac_enginetype" value="2">turboprop
<input type="radio" name="ac_enginetype" value="3">rocket
<br><hr align=left width="'%"50"'">
<b>Engine Power or Thrust</b> (per engine, without afterburning)<br>
<input name="ac_enginepower" value="1000.0" ><br>
<input type="radio" name="ac_engineunits" value="0" checked>horsepower
<input type="radio" name="ac_engineunits" value="1">kw
<input type="radio" name="ac_engineunits" value="2">pounds
<input type="radio" name="ac_engineunits" value="3">newtons
<br><hr align=left width="'%"50"'">
<b>Augmentation (afterburning) Installed?</b><br>
<input type="radio" name="ac_augmented" value="1">yes
<input type="radio" name="ac_augmented" value="0" checked>no
<br><hr align=left width="'%"50"'">
<b>Water Injection Installed?</b><br>
<input type="radio" name="ac_injected" value="1">yes
<input type="radio" name="ac_injected" value="0" checked>no
<br><br><br>
You are now ready to have Aeromatic generate your file. Aeromatic will create a file called
<i>engine.php</i>, which is your engine configuration file. You will need to save
this file with a filename of the form <i>engine_name.xml</i>.<br><br>
<center><input type="submit" name="generate" value="Generate"></center>
<br><br><br><hr><br>
</form><!-- *************************************************************************** --><!-- * Propeller Form * --><!-- *************************************************************************** -->
<form action="prop.php" method="post">
<font color=red size=5>Step 2: The Prop configuration (if applicable)...</font>
<br><br>
<b>Engine Power</b> (per engine)<br>
<input name="ac_enginepower" value="1000.0" ><br>
<input type="radio" name="ac_engineunits" value="0" checked>horsepower
<input type="radio" name="ac_engineunits" value="1">kw
<br><hr align=left width="'%"50"'">
<b>Maximum Engine RPM</b><br>
<input name="ac_maxengrpm" value="2700" >
<br><hr align=left width="'%"50"'">
<b>Pitch</b><br>
<input type="radio" name="ac_prop_pitch" value="0" checked>fixed
<input type="radio" name="ac_prop_pitch" value="1">variable
<br><hr align=left width="'%"50"'">
<b>Propeller Diameter</b><br>
<input name="ac_diameter" value="8" ><br>
<input type="radio" name="ac_diaunits" value="0" checked>feet
<input type="radio" name="ac_diaunits" value="1" >inches
<input type="radio" name="ac_diaunits" value="2" >meters
<br><br><br>
You are now ready to have Aeromatic generate your file. Aeromatic will create a file called
<i>prop.php</i>, which is your propeller configuration file. You will need to save
this file with a filename of the form <i>prop_name.xml</i>.<br><br>
<center><input type="submit" name="generate" value="Generate"></center>
<br><br><br><hr><br>
</form><!-- *************************************************************************** --><!-- * Aero Form * --><!-- *************************************************************************** -->
<form action="aero.php" method="post">
<font color=red size=5>Step 3: The Aero configuration ...</font>
<br><br>
<b>Chose a system of measurement</b><br>
<input type="radio" name="ac_units" value="0" checked>English (feet, pounds)
<input type="radio" name="ac_units" value="1">Metric (meters, kilograms)
<br><hr align=left width="'%"50"'">
<b>Name of aircraft</b>
<input name="ac_name" value="unnamed" maxlength=100 >
<br><hr align=left width="'%"50"'">
<b>Type of aircraft</b> (Select closest <i>aerodynamic</i> type)<br>
<input type="radio" name="ac_type" value="0">Glider<br>
<input type="radio" name="ac_type" value="1" checked>Light Single<br>
<input type="radio" name="ac_type" value="2">Light Twin<br>
<input type="radio" name="ac_type" value="3">WWII Fighter (or subsonic racer/aerobatic)<br>
<input type="radio" name="ac_type" value="4">Single-engine Transonic or Supersonic Fighter<br>
<input type="radio" name="ac_type" value="5">Two-engine Transonic or Supersonic Fighter<br>
<input type="radio" name="ac_type" value="6">Two-engine Transonic Transport<br>
<input type="radio" name="ac_type" value="7">Three-engine Transonic Transport<br>
<input type="radio" name="ac_type" value="8">Four+-engine Transonic Transport<br>
<input type="radio" name="ac_type" value="9">Multi-engine Prop Transport<br>
<br><hr align=left width="'%"50"'">
<b>Maximum Takeoff Weight</b><br>
<input name="ac_weight" value=10000.0 >
<br><hr align=left width="'%"50"'">
<b>Wing span</b><br>
<input name="ac_wingspan" value=40.0 >
<br><hr align=left width="'%"50"'">
<b>Length</b><br>
<input name="ac_length" value=40.0 >
<br><hr align=left width="'%"50"'">
<b>Wing area</b> (Enter 0 to use estimated value)<br>
<input name="ac_wingarea" value=0 >
<br><hr align=left width="'%"50"'">
<b>Landing Gear Layout</b><br>
<input type="radio" name="ac_geartype" value="0" checked>tricycle
<input type="radio" name="ac_geartype" value="1">taildragger
<br><hr align=left width="'%"50"'">
<b>Is the Landing Gear Retractable?</b><br>
<input type="radio" name="ac_gearretract" value="1" checked>yes
<input type="radio" name="ac_gearretract" value="0">no
<br><hr align=left width="'%"50"'">
<b>Number of Engines</b><br>
<input type="radio" name="ac_numengines" value=0>0
<input type="radio" name="ac_numengines" value=1 checked>1
<input type="radio" name="ac_numengines" value=2>2
<input type="radio" name="ac_numengines" value=3>3
<input type="radio" name="ac_numengines" value=4>4
<input type="radio" name="ac_numengines" value=5>5
<input type="radio" name="ac_numengines" value=6>6
<input type="radio" name="ac_numengines" value=7>7
<input type="radio" name="ac_numengines" value=8>8
<br><hr align=left width="'%"50"'">
<b>Engine Type</b><br>
<input type="radio" name="ac_enginetype" value="0" checked>piston
<input type="radio" name="ac_enginetype" value="1">turbine
<input type="radio" name="ac_enginetype" value="2">turboprop
<input type="radio" name="ac_enginetype" value="3">rocket
<br><hr align=left width="'%"50"'">
<b>Engine Layout</b><br>
<input type="radio" name="ac_enginelayout" value="0" checked>fwd_fuselage
<input type="radio" name="ac_enginelayout" value="1">mid_fuselage
<input type="radio" name="ac_enginelayout" value="2">aft_fuselage
<input type="radio" name="ac_enginelayout" value="3">wings
<input type="radio" name="ac_enginelayout" value="4">wings and tail
<input type="radio" name="ac_enginelayout" value="5">wings and nose
<br><hr align=left width="'%"50"'">
<b>Yaw Damper Installed?</b> (Almost all jets will need one)<br>
<input type="radio" name="ac_yawdamper" value="1">yes
<input type="radio" name="ac_yawdamper" value="0" checked>no
<br><br><br>
You are ready to have Aeromatic generate your file. Aeromatic will create a file called
<i>aero.php</i> which is your configuration file. Save this file with a suitable
filename, such as <i>spitfireIX.xml</i>. You will need to edit the
propulsion section of this file so that the engine name is the same as the
engine configuration file name, and the propeller name (if applicable) is
the same as the propeller configuration file name.<br><br>
<center><input type="submit" name="generate" value="Generate"></center>
</form>
<br><br><hr>
29 Oct 2003 <A href="presets.html">[.]</A>
</body>
</HTML>