CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
Ardupilot

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

GitHub Repository: Ardupilot/ardupilot
Path: blob/master/Tools/autotest/jsb_sim/rascal_test_template.xml
Views: 1799
1
<?xml version="1.0" encoding="utf-8"?>
2
<?xml-stylesheet type="text/xsl" href="http://jsbsim.sf.net/JSBSimScript.xsl"?>
3
<runscript xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
xsi:noNamespaceSchemaLocation="http://jsbsim.sf.net/JSBSimScript.xsd"
5
name="Testing Rascal110">
6
7
<description>
8
test ArduPlane using Rascal110 and JSBSim
9
</description>
10
11
<use aircraft="Rascal" initialize="reset"/>
12
13
<!-- we control the servos via the jsbsim console
14
interface on TCP 5124 -->
15
<input port="%(JSBCONSOLEPORT)s"/>
16
17
<run start="0" end="10000000" dt="0.001">
18
<property value="0"> simulation/notify-time-trigger </property>
19
20
<event name="start engine">
21
<condition> simulation/sim-time-sec le 0.01 </condition>
22
<set name="propulsion/engine[0]/set-running" value="1"/>
23
<notify/>
24
</event>
25
26
<event name="Trim">
27
<condition>simulation/sim-time-sec ge 0.01</condition>
28
<set name="simulation/do_simple_trim" value="2"/>
29
<notify/>
30
</event>
31
</run>
32
33
</runscript>
34
35