2011-12-02 00:19:50 -04:00
|
|
|
<?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="Testing Rascal110">
|
|
|
|
|
|
|
|
<description>
|
|
|
|
test ArduPlane using Rascal110 and JSBSim
|
|
|
|
</description>
|
|
|
|
|
2012-08-14 03:51:35 -03:00
|
|
|
<use aircraft="Rascal" initialize="reset"/>
|
2011-12-02 00:19:50 -04:00
|
|
|
|
|
|
|
<!-- we control the servos via the jsbsim console
|
|
|
|
interface on TCP 5124 -->
|
2013-08-14 20:47:24 -03:00
|
|
|
<input port="%(JSBCONSOLEPORT)s"/>
|
2011-12-02 00:19:50 -04:00
|
|
|
|
|
|
|
<run start="0" end="10000000" dt="0.001">
|
|
|
|
<property value="0"> simulation/notify-time-trigger </property>
|
|
|
|
|
|
|
|
<event name="start engine">
|
|
|
|
<condition> simulation/sim-time-sec le 0.01 </condition>
|
|
|
|
<set name="propulsion/engine[0]/set-running" value="1"/>
|
|
|
|
<notify/>
|
|
|
|
</event>
|
|
|
|
|
|
|
|
<event name="Trim">
|
|
|
|
<condition>simulation/sim-time-sec ge 0.01</condition>
|
|
|
|
<set name="simulation/do_simple_trim" value="2"/>
|
|
|
|
<notify/>
|
|
|
|
</event>
|
|
|
|
</run>
|
|
|
|
|
|
|
|
</runscript>
|