UNPKG

jsbsim.js

Version:

JSBSim flight dynamics model ported to JavaScript

33 lines (32 loc) 1.42 kB
<?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" href="http://jsbsim.sourceforge.net/JSBSimScript.xsl"?> <runscript xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://jsbsim.sf.net/JSBSimScript.xsd" name="T38 aircraft taxi run"> <description>This run is for testing a T38 aircraft for taxiing behaviour</description> <use aircraft="T38" initialize="reset00"/> <run start="0.0" end="100" dt="0.00833333"> <event name="Test steering"> <condition>simulation/sim-time-sec ge 5.0</condition> <set name="fcs/steer-cmd-norm" action="FG_RAMP" value="0.5" tc="1"/> <notify/> </event> <event name="Test steering"> <condition>simulation/sim-time-sec ge 7.0</condition> <set name="fcs/steer-cmd-norm" action="FG_EXP" value="0.0" tc="1"/> <notify/> </event> <event name="Engine starter"> <condition>simulation/sim-time-sec ge 10</condition> <set name="propulsion/starter_cmd" value="1"/> <notify/> </event> <event name="Start engine"> <condition>simulation/sim-time-sec ge 15.0</condition> <set name="propulsion/cutoff_cmd" value="0"/> <set name="fcs/throttle-cmd-norm[0]" action="FG_RAMP" value="1.0" tc="0.5"/> <set name="fcs/throttle-cmd-norm[1]" action="FG_RAMP" value="1.0" tc="0.5"/> <notify/> </event> </run> </runscript>