UNPKG

jsbsim.js

Version:

JSBSim flight dynamics model ported to JavaScript

32 lines (31 loc) 1.28 kB
<?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="X-15-01A"> <description> This run is for testing X-15 high altitude, high speed pitch pulses in the simulator. </description> <use aircraft="X15" initialize="reset01"/> <run start="0.0" end="5.0" dt="0.0083333"> <event name="Test throttle, aileron"> <condition>simulation/sim-time-sec ge 0.5</condition> <set name="fcs/aileron-cmd-norm" action="FG_EXP" type="FG_DELTA" value="0.1" tc="0.5"/> <set name="fcs/throttle-cmd-norm" action="FG_RAMP" value="0.9" tc="0.5"/> <notify/> </event> <!-- <event name="Test rudder"> <condition>simulation/sim-time-sec ge 1.5</condition> <set name="fcs/rudder-cmd-norm" action="FG_RAMP" type="FG_DELTA" value="0.2" tc="0.5"/> <notify/> </event> <event name="Test elevator"> <condition>simulation/sim-time-sec ge 2.5</condition> <set name="fcs/elevator-cmd-norm" action="FG_EXP" type="FG_DELTA" value="0.1" tc="0.5"/> <notify/> </event> --> </run> </runscript>