182 lines
6.6 KiB
Plaintext
182 lines
6.6 KiB
Plaintext
<?xml version="1.0" encoding="UTF-8"?>
|
|
<simconf>
|
|
<project EXPORT="discard">[APPS_DIR]/mrm</project>
|
|
<project EXPORT="discard">[APPS_DIR]/mspsim</project>
|
|
<project EXPORT="discard">[APPS_DIR]/avrora</project>
|
|
<project EXPORT="discard">[APPS_DIR]/serial_socket</project>
|
|
<project EXPORT="discard">[APPS_DIR]/collect-view</project>
|
|
<project EXPORT="discard">[APPS_DIR]/powertracker</project>
|
|
<simulation>
|
|
<title>My simulation</title>
|
|
<randomseed>generated</randomseed>
|
|
<motedelay_us>1000000</motedelay_us>
|
|
<radiomedium>
|
|
org.contikios.cooja.radiomediums.UDGM
|
|
<transmitting_range>25.0</transmitting_range>
|
|
<interference_range>40.0</interference_range>
|
|
<success_ratio_tx>0.99</success_ratio_tx>
|
|
<success_ratio_rx>1.0</success_ratio_rx>
|
|
</radiomedium>
|
|
<events>
|
|
<logoutput>40000</logoutput>
|
|
</events>
|
|
<motetype>
|
|
org.contikios.cooja.contikimote.ContikiMoteType
|
|
<identifier>mtype965</identifier>
|
|
<description>Contiki Mote #1</description>
|
|
<source>[CONTIKI_DIR]/examples/rime/example-rucb.c</source>
|
|
<commands>make example-rucb.cooja TARGET=cooja</commands>
|
|
<moteinterface>org.contikios.cooja.interfaces.Position</moteinterface>
|
|
<moteinterface>org.contikios.cooja.interfaces.Battery</moteinterface>
|
|
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiVib</moteinterface>
|
|
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiMoteID</moteinterface>
|
|
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiRS232</moteinterface>
|
|
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiBeeper</moteinterface>
|
|
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiIPAddress</moteinterface>
|
|
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiRadio</moteinterface>
|
|
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiButton</moteinterface>
|
|
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiPIR</moteinterface>
|
|
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiClock</moteinterface>
|
|
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiLED</moteinterface>
|
|
<moteinterface>org.contikios.cooja.contikimote.interfaces.ContikiCFS</moteinterface>
|
|
<moteinterface>org.contikios.cooja.interfaces.Mote2MoteRelations</moteinterface>
|
|
<symbols>false</symbols>
|
|
</motetype>
|
|
<mote>
|
|
<interface_config>
|
|
org.contikios.cooja.interfaces.Position
|
|
<x>0.0</x>
|
|
<y>50.00000000000001</y>
|
|
<z>0.0</z>
|
|
</interface_config>
|
|
<interface_config>
|
|
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
|
|
<id>51</id>
|
|
</interface_config>
|
|
<interface_config>
|
|
org.contikios.cooja.contikimote.interfaces.ContikiRadio
|
|
<bitrate>250.0</bitrate>
|
|
</interface_config>
|
|
<motetype_identifier>mtype965</motetype_identifier>
|
|
</mote>
|
|
<mote>
|
|
<interface_config>
|
|
org.contikios.cooja.interfaces.Position
|
|
<x>14.102564102564104</x>
|
|
<y>45.28301886792453</y>
|
|
<z>0.0</z>
|
|
</interface_config>
|
|
<interface_config>
|
|
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
|
|
<id>52</id>
|
|
</interface_config>
|
|
<interface_config>
|
|
org.contikios.cooja.contikimote.interfaces.ContikiRadio
|
|
<bitrate>250.0</bitrate>
|
|
</interface_config>
|
|
<motetype_identifier>mtype965</motetype_identifier>
|
|
</mote>
|
|
<mote>
|
|
<interface_config>
|
|
org.contikios.cooja.interfaces.Position
|
|
<x>-32.16814655285737</x>
|
|
<y>42.92182758760039</y>
|
|
<z>0.0</z>
|
|
</interface_config>
|
|
<interface_config>
|
|
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
|
|
<id>53</id>
|
|
</interface_config>
|
|
<interface_config>
|
|
org.contikios.cooja.contikimote.interfaces.ContikiRadio
|
|
<bitrate>250.0</bitrate>
|
|
</interface_config>
|
|
<motetype_identifier>mtype965</motetype_identifier>
|
|
</mote>
|
|
<mote>
|
|
<interface_config>
|
|
org.contikios.cooja.interfaces.Position
|
|
<x>-1.5917258339289355</x>
|
|
<y>37.3750708005199</y>
|
|
<z>0.0</z>
|
|
</interface_config>
|
|
<interface_config>
|
|
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
|
|
<id>54</id>
|
|
</interface_config>
|
|
<interface_config>
|
|
org.contikios.cooja.contikimote.interfaces.ContikiRadio
|
|
<bitrate>250.0</bitrate>
|
|
</interface_config>
|
|
<motetype_identifier>mtype965</motetype_identifier>
|
|
</mote>
|
|
<mote>
|
|
<interface_config>
|
|
org.contikios.cooja.interfaces.Position
|
|
<x>26.334899854939632</x>
|
|
<y>53.05390331866741</y>
|
|
<z>0.0</z>
|
|
</interface_config>
|
|
<interface_config>
|
|
org.contikios.cooja.contikimote.interfaces.ContikiMoteID
|
|
<id>55</id>
|
|
</interface_config>
|
|
<interface_config>
|
|
org.contikios.cooja.contikimote.interfaces.ContikiRadio
|
|
<bitrate>250.0</bitrate>
|
|
</interface_config>
|
|
<motetype_identifier>mtype965</motetype_identifier>
|
|
</mote>
|
|
</simulation>
|
|
<plugin>
|
|
org.contikios.cooja.plugins.SimControl
|
|
<width>265</width>
|
|
<z>3</z>
|
|
<height>200</height>
|
|
<location_x>0</location_x>
|
|
<location_y>0</location_y>
|
|
</plugin>
|
|
<plugin>
|
|
org.contikios.cooja.plugins.LogListener
|
|
<plugin_config>
|
|
<filter />
|
|
<formatted_time />
|
|
<coloring />
|
|
</plugin_config>
|
|
<width>798</width>
|
|
<z>2</z>
|
|
<height>289</height>
|
|
<location_x>0</location_x>
|
|
<location_y>354</location_y>
|
|
</plugin>
|
|
<plugin>
|
|
org.contikios.cooja.plugins.Visualizer
|
|
<plugin_config>
|
|
<skin>org.contikios.cooja.plugins.skins.IDVisualizerSkin</skin>
|
|
<skin>org.contikios.cooja.plugins.skins.UDGMVisualizerSkin</skin>
|
|
<viewport>3.931419201604973 0.0 0.0 3.931419201604973 137.46646903794633 -127.75710261680608</viewport>
|
|
</plugin_config>
|
|
<width>265</width>
|
|
<z>0</z>
|
|
<height>155</height>
|
|
<location_x>0</location_x>
|
|
<location_y>200</location_y>
|
|
</plugin>
|
|
<plugin>
|
|
org.contikios.cooja.plugins.ScriptRunner
|
|
<plugin_config>
|
|
<script>TIMEOUT(120000);
|
|
|
|
WAIT_UNTIL(msg.startsWith('Completion time'));
|
|
log.testOK();</script>
|
|
<active>true</active>
|
|
</plugin_config>
|
|
<width>534</width>
|
|
<z>1</z>
|
|
<height>354</height>
|
|
<location_x>264</location_x>
|
|
<location_y>0</location_y>
|
|
</plugin>
|
|
</simconf>
|
|
|