[cooja] pretty good simulation settings

This commit is contained in:
giomba 2019-12-13 23:19:51 +01:00
parent a1149cdab4
commit 940e573f93

View File

@ -8,7 +8,6 @@
<project EXPORT="discard">[APPS_DIR]/powertracker</project>
<simulation>
<title>TheMatrix</title>
<speedlimit>1.0</speedlimit>
<randomseed>123456</randomseed>
<motedelay_us>1000000</motedelay_us>
<radiomedium>
@ -65,8 +64,8 @@
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>9.068528825751553</x>
<y>37.67859304913931</y>
<x>86.13444974265813</x>
<y>69.90280107817652</y>
<z>0.0</z>
</interface_config>
<interface_config>
@ -83,8 +82,8 @@
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>80.79035680654219</x>
<y>30.703106284953506</y>
<x>51.52627033556432</x>
<y>156.50687058384247</y>
<z>0.0</z>
</interface_config>
<interface_config>
@ -101,8 +100,8 @@
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>9.77736656046293</x>
<y>49.8308642040235</y>
<x>135.46626460917662</x>
<y>175.0121677245167</y>
<z>0.0</z>
</interface_config>
<interface_config>
@ -119,8 +118,8 @@
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>45.26921395736429</x>
<y>45.67070621929374</y>
<x>42.826166715568235</x>
<y>131.42320868067324</y>
<z>0.0</z>
</interface_config>
<interface_config>
@ -137,8 +136,8 @@
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>18.46200164044397</x>
<y>1.1473676044364778</y>
<x>187.05667809684172</x>
<y>169.3188559183185</y>
<z>0.0</z>
</interface_config>
<interface_config>
@ -155,8 +154,8 @@
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>75.51657406123633</x>
<y>60.87695540301412</y>
<x>32.82891907363539</x>
<y>15.516635561430592</y>
<z>0.0</z>
</interface_config>
<interface_config>
@ -169,14 +168,464 @@
</interface_config>
<motetype_identifier>z12</motetype_identifier>
</mote>
<mote>
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>53.227886077285106</x>
<y>56.65074004214692</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspClock
<deviation>1.0</deviation>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspMoteID
<id>7</id>
</interface_config>
<motetype_identifier>z12</motetype_identifier>
</mote>
<mote>
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>9.478776977357972</x>
<y>141.6872676748177</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspClock
<deviation>1.0</deviation>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspMoteID
<id>8</id>
</interface_config>
<motetype_identifier>z12</motetype_identifier>
</mote>
<mote>
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>121.3216653175472</x>
<y>79.12780506658024</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspClock
<deviation>1.0</deviation>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspMoteID
<id>9</id>
</interface_config>
<motetype_identifier>z12</motetype_identifier>
</mote>
<mote>
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>140.4274166445628</x>
<y>48.19411557315654</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspClock
<deviation>1.0</deviation>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspMoteID
<id>10</id>
</interface_config>
<motetype_identifier>z12</motetype_identifier>
</mote>
<mote>
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>141.8774935790525</x>
<y>118.01947990974314</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspClock
<deviation>1.0</deviation>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspMoteID
<id>11</id>
</interface_config>
<motetype_identifier>z12</motetype_identifier>
</mote>
<mote>
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>167.54133708401406</x>
<y>141.62452988655903</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspClock
<deviation>1.0</deviation>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspMoteID
<id>12</id>
</interface_config>
<motetype_identifier>z12</motetype_identifier>
</mote>
<mote>
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>182.19925638559323</x>
<y>45.94414109294538</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspClock
<deviation>1.0</deviation>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspMoteID
<id>13</id>
</interface_config>
<motetype_identifier>z12</motetype_identifier>
</mote>
<mote>
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>94.23114956779912</x>
<y>7.372914932476138</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspClock
<deviation>1.0</deviation>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspMoteID
<id>14</id>
</interface_config>
<motetype_identifier>z12</motetype_identifier>
</mote>
<mote>
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>28.4351017753266</x>
<y>54.086725788078674</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspClock
<deviation>1.0</deviation>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspMoteID
<id>15</id>
</interface_config>
<motetype_identifier>z12</motetype_identifier>
</mote>
<mote>
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>194.99716411863673</x>
<y>74.93216287863017</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspClock
<deviation>1.0</deviation>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspMoteID
<id>16</id>
</interface_config>
<motetype_identifier>z12</motetype_identifier>
</mote>
<mote>
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>34.692590848066104</x>
<y>97.96844103802013</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspClock
<deviation>1.0</deviation>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspMoteID
<id>17</id>
</interface_config>
<motetype_identifier>z12</motetype_identifier>
</mote>
<mote>
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>12.575336165029904</x>
<y>17.556879953372338</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspClock
<deviation>1.0</deviation>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspMoteID
<id>18</id>
</interface_config>
<motetype_identifier>z12</motetype_identifier>
</mote>
<mote>
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>188.5841996502633</x>
<y>116.89735135147325</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspClock
<deviation>1.0</deviation>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspMoteID
<id>19</id>
</interface_config>
<motetype_identifier>z12</motetype_identifier>
</mote>
<mote>
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>133.43709588605824</x>
<y>38.25370176148881</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspClock
<deviation>1.0</deviation>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspMoteID
<id>20</id>
</interface_config>
<motetype_identifier>z12</motetype_identifier>
</mote>
<mote>
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>78.76068226918665</x>
<y>28.22809372316739</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspClock
<deviation>1.0</deviation>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspMoteID
<id>21</id>
</interface_config>
<motetype_identifier>z12</motetype_identifier>
</mote>
<mote>
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>150.08742374085077</x>
<y>70.09703322226797</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspClock
<deviation>1.0</deviation>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspMoteID
<id>22</id>
</interface_config>
<motetype_identifier>z12</motetype_identifier>
</mote>
<mote>
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>48.63056610039707</x>
<y>36.08069318062117</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspClock
<deviation>1.0</deviation>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspMoteID
<id>23</id>
</interface_config>
<motetype_identifier>z12</motetype_identifier>
</mote>
<mote>
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>95.60417975572267</x>
<y>155.21342903799032</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspClock
<deviation>1.0</deviation>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspMoteID
<id>24</id>
</interface_config>
<motetype_identifier>z12</motetype_identifier>
</mote>
<mote>
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>1.4443131618000926</x>
<y>22.60341764850282</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspClock
<deviation>1.0</deviation>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspMoteID
<id>25</id>
</interface_config>
<motetype_identifier>z12</motetype_identifier>
</mote>
<mote>
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>145.97717601565432</x>
<y>28.754329514574174</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspClock
<deviation>1.0</deviation>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspMoteID
<id>26</id>
</interface_config>
<motetype_identifier>z12</motetype_identifier>
</mote>
<mote>
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>107.17179210686996</x>
<y>41.995577152348964</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspClock
<deviation>1.0</deviation>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspMoteID
<id>27</id>
</interface_config>
<motetype_identifier>z12</motetype_identifier>
</mote>
<mote>
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>79.75285371214716</x>
<y>141.10964790096108</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspClock
<deviation>1.0</deviation>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspMoteID
<id>28</id>
</interface_config>
<motetype_identifier>z12</motetype_identifier>
</mote>
<mote>
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>10.011740148116122</x>
<y>5.5755307926002695</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspClock
<deviation>1.0</deviation>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspMoteID
<id>29</id>
</interface_config>
<motetype_identifier>z12</motetype_identifier>
</mote>
<mote>
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>16.516397756095703</x>
<y>100.66328458096703</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspClock
<deviation>1.0</deviation>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspMoteID
<id>30</id>
</interface_config>
<motetype_identifier>z12</motetype_identifier>
</mote>
<mote>
<breakpoints />
<interface_config>
org.contikios.cooja.interfaces.Position
<x>103.78274003802443</x>
<y>83.492664972201</y>
<z>0.0</z>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspClock
<deviation>1.0</deviation>
</interface_config>
<interface_config>
org.contikios.cooja.mspmote.interfaces.MspMoteID
<id>31</id>
</interface_config>
<motetype_identifier>z12</motetype_identifier>
</mote>
</simulation>
<plugin>
org.contikios.cooja.plugins.SimControl
<width>280</width>
<z>0</z>
<z>1</z>
<height>160</height>
<location_x>681</location_x>
<location_y>643</location_y>
<location_x>4</location_x>
<location_y>651</location_y>
</plugin>
<plugin>
org.contikios.cooja.plugins.Visualizer
@ -186,11 +635,11 @@
<skin>org.contikios.cooja.plugins.skins.GridVisualizerSkin</skin>
<skin>org.contikios.cooja.plugins.skins.TrafficVisualizerSkin</skin>
<skin>org.contikios.cooja.plugins.skins.UDGMVisualizerSkin</skin>
<viewport>8.441705440311774 0.0 0.0 8.441705440311774 -46.28112185124378 27.204467518174773</viewport>
<viewport>4.363597628395609 0.0 0.0 4.363597628395609 -112.84186218972216 -81.59855112545544</viewport>
</plugin_config>
<width>678</width>
<z>3</z>
<height>633</height>
<width>667</width>
<z>2</z>
<height>644</height>
<location_x>1</location_x>
<location_y>1</location_y>
</plugin>
@ -201,11 +650,11 @@
<formatted_time />
<coloring />
</plugin_config>
<width>1039</width>
<z>1</z>
<height>475</height>
<location_x>681</location_x>
<location_y>160</location_y>
<width>1041</width>
<z>5</z>
<height>460</height>
<location_x>679</location_x>
<location_y>2</location_y>
</plugin>
<plugin>
org.contikios.cooja.plugins.TimeLine
@ -216,41 +665,89 @@
<mote>3</mote>
<mote>4</mote>
<mote>5</mote>
<mote>6</mote>
<mote>7</mote>
<mote>8</mote>
<mote>9</mote>
<mote>10</mote>
<mote>11</mote>
<mote>12</mote>
<mote>13</mote>
<mote>14</mote>
<mote>15</mote>
<mote>16</mote>
<mote>17</mote>
<mote>18</mote>
<mote>19</mote>
<mote>20</mote>
<mote>21</mote>
<mote>22</mote>
<mote>23</mote>
<mote>24</mote>
<mote>25</mote>
<mote>26</mote>
<mote>27</mote>
<mote>28</mote>
<mote>29</mote>
<mote>30</mote>
<showRadioRXTX />
<showRadioHW />
<showLEDs />
<zoomfactor>500.0</zoomfactor>
</plugin_config>
<width>1720</width>
<z>5</z>
<z>6</z>
<height>166</height>
<location_x>0</location_x>
<location_y>818</location_y>
</plugin>
<plugin>
org.contikios.cooja.plugins.Notes
<plugin_config>
<notes>Enter notes here</notes>
<decorations>true</decorations>
</plugin_config>
<width>1040</width>
<z>4</z>
<height>160</height>
<location_x>680</location_x>
<location_y>0</location_y>
</plugin>
<plugin>
org.contikios.cooja.serialsocket.SerialSocketServer
<mote_arg>0</mote_arg>
<plugin_config>
<port>60001</port>
<bound>true</bound>
<bound>false</bound>
</plugin_config>
<width>362</width>
<z>2</z>
<z>3</z>
<height>116</height>
<location_x>992</location_x>
<location_y>662</location_y>
<location_x>287</location_x>
<location_y>698</location_y>
</plugin>
<plugin>
org.contikios.cooja.plugins.RadioLogger
<plugin_config>
<split>213</split>
<formatted_time />
<showdups>false</showdups>
<hidenodests>false</hidenodests>
</plugin_config>
<width>1052</width>
<z>4</z>
<height>357</height>
<location_x>667</location_x>
<location_y>462</location_y>
</plugin>
<plugin>
org.contikios.cooja.plugins.ScriptRunner
<plugin_config>
<script>TIMEOUT(200000, log.log("TIMEOUT"));
YIELD();
WAIT_UNTIL(id == 1 &amp;&amp; msg.equals("detected 30"));
// log.log("[ANAWS] ROUTE-DISCOVERY AT " + String(time) + "\n");
log.log("[ANAWS] ALL-ROUTE-DISCOVERY " + sim.getSimulationTime() + " [us]\n");
log.testOK();</script>
<active>false</active>
</plugin_config>
<width>600</width>
<z>0</z>
<height>700</height>
<location_x>176</location_x>
<location_y>121</location_y>
</plugin>
</simconf>