Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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="reentry test">
- <description>Ground contct test</description>
- <use
- aircraft="vostok-reentry-test"
- initialize="vostok-reentry-test-reset"/>
- <run start="0.0" end="3600" dt="0.008333">
- <event name="Negative qbar">
- <condition>
- <test logic="AND" value="1">
- aero/qbar-psf lt 0
- </test>
- </condition>
- <set name="notify/negative-qbar" value="1" action="FG_RAMP" tc="1.0"/>
- <notify>
- <property>aero/qbar-psf</property>
- </notify>
- </event>
- <event name="Terminate">
- <description> End condition </description>
- <condition>
- <test logic="OR" value="1">
- position/h-agl-ft lt 1000.0
- </test>
- </condition>
- <set name="simulation/terminate" value="1.0"/>
- <notify>
- <property caption="Altitude (ft): "> position/h-agl-ft </property>
- <property caption="Longitude (deg) "> position/long-gc-deg </property>
- <property caption="Lattitude (deg) "> position/lat-gc-deg </property>
- <property caption="Distance from start lat mt "> position/distance-from-start-lat-mt </property>
- <property caption="Distance from start lon mt "> position/distance-from-start-lon-mt </property>
- <property caption="Body X Velocity (ft/s): "> velocities/u-fps </property>
- <property caption="Body W Velocity (ft/s): "> velocities/w-fps </property>
- <property caption="Body V Velocity (ft/s): "> velocities/v-fps </property>
- <property caption="Body Z Velocity (ft/s): "> velocities/v-down-fps </property>
- <property caption="Body eci velocity (ft/s): "> velocities/eci-velocity-mag-fps </property>
- <property caption="G force (g): "> accelerations/Nz </property>
- <property caption="QBar (p/sf): "> aero/qbar-psf </property>
- <property caption="Pressure (p/sf): "> atmosphere/P-psf </property>
- <property caption="Simulation Frame: "> simulation/frame </property>
- </notify>
- </event>
- <property> simulation/notify-time-trigger </property>
- <!--
- <event name="Time Notify" persistent="true">
- <description>Output message at 1 second intervals</description>
- <notify>
- <property caption="Altitude (ft): "> position/h-agl-ft </property>
- <property caption="Longitude (deg) "> position/long-gc-deg </property>
- <property caption="Lattitude (deg) "> position/lat-gc-deg </property>
- <property caption="Distance from start lat mt "> position/distance-from-start-lat-mt </property>
- <property caption="Distance from start lon mt "> position/distance-from-start-lon-mt </property>
- <property caption="Body X Velocity (ft/s): "> velocities/u-fps </property>
- <property caption="Body W Velocity (ft/s): "> velocities/w-fps </property>
- <property caption="Body V Velocity (ft/s): "> velocities/v-fps </property>
- <property caption="Body Z Velocity (ft/s): "> velocities/v-down-fps </property>
- <property caption="Body eci velocity (ft/s): "> velocities/eci-velocity-mag-fps </property>
- <property caption="G force (g): "> accelerations/Nz </property>
- <property caption="QBar (p/sf): "> aero/qbar-psf </property>
- <property caption="Pressure (p/sf): "> atmosphere/P-psf </property>
- <property caption="Simulation Frame: "> simulation/frame </property>
- </notify>
- <condition> simulation/sim-time-sec >= simulation/notify-time-trigger </condition>
- <set name="simulation/notify-time-trigger" value="1" type="FG_DELTA"/>
- </event>
- -->
- </run>
- </runscript>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement