jsbsim.js
Version:
JSBSim flight dynamics model ported to JavaScript
41 lines (40 loc) • 1.68 kB
text/xml
<runscript xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://jsbsim.sf.net/JSBSimScript.xsd"
name="B747 takeoff run">
<description>This run is for testing the 747 model.</description>
<use aircraft="B747" initialize="reset00"/>
<run start="0.0" end="700" dt="0.0083333">
<event name="Start engine">
<condition>simulation/sim-time-sec ge 0.25</condition>
<set name="propulsion/starter_cmd" value="1"/>
<notify/>
</event>
<event name="Flow fuel">
<condition>simulation/sim-time-sec ge 5.0</condition>
<set name="propulsion/cutoff_cmd" value="0"/>
<notify/>
</event>
<event name="Set engine 0 throttle">
<condition>simulation/sim-time-sec ge 6.0</condition>
<set name="fcs/throttle-cmd-norm[0]" action="FG_RAMP" value="1.0" tc="0.5"/>
<notify/>
</event>
<event name="Set engine 0 throttle">
<condition>simulation/sim-time-sec ge 7.0</condition>
<set name="fcs/throttle-cmd-norm[1]" action="FG_RAMP" value="1.0" tc="0.5"/>
<notify/>
</event>
<event name="Set engine 0 throttle">
<condition>simulation/sim-time-sec ge 8.0</condition>
<set name="fcs/throttle-cmd-norm[2]" action="FG_RAMP" value="1.0" tc="0.5"/>
<notify/>
</event>
<event name="Set engine 0 throttle">
<condition>simulation/sim-time-sec ge 9.0</condition>
<set name="fcs/throttle-cmd-norm[3]" action="FG_RAMP" value="1.0" tc="0.5"/>
<notify/>
</event>
</run>
</runscript>