From 2595d31367e05a9327f951427e4178c14cc5ac78 Mon Sep 17 00:00:00 2001 From: fros4943 Date: Thu, 1 Apr 2010 12:22:39 +0000 Subject: [PATCH] updated collect test: bigger network (50), more hops, bugfixed duplicate detection --- tools/cooja/contiki_tests/rime_collect.csc | 841 ++++++++++++++------ tools/cooja/contiki_tests/rime_collect.info | 2 +- 2 files changed, 577 insertions(+), 266 deletions(-) diff --git a/tools/cooja/contiki_tests/rime_collect.csc b/tools/cooja/contiki_tests/rime_collect.csc index 4b4e7a429..eb124548d 100644 --- a/tools/cooja/contiki_tests/rime_collect.csc +++ b/tools/cooja/contiki_tests/rime_collect.csc @@ -1,26 +1,29 @@ - ../apps/mrm - ../apps/mspsim - ../apps/avrora - ../apps/native_gateway + [CONTIKI_DIR]/tools/cooja/apps/mrm + [CONTIKI_DIR]/tools/cooja/apps/mspsim + [CONTIKI_DIR]/tools/cooja/apps/avrora + [CONTIKI_DIR]/tools/cooja/apps/native_gateway Rime collect test 0 generated - 1000000 + 10000000 se.sics.cooja.radiomediums.UDGM - 50.0 - 100.0 + 67.0 + 0.0 1.0 1.0 + + 40000 + se.sics.cooja.contikimote.ContikiMoteType - mtype528 + mtype98 Contiki Mote Type #1 - ../../../examples/rime/example-collect.c + [CONTIKI_DIR]/examples/rime/example-collect.c make example-collect.cooja TARGET=cooja se.sics.cooja.interfaces.Position se.sics.cooja.interfaces.Battery @@ -36,375 +39,666 @@ se.sics.cooja.contikimote.interfaces.ContikiLED se.sics.cooja.contikimote.interfaces.ContikiCFS se.sics.cooja.interfaces.Mote2MoteRelations + se.sics.cooja.interfaces.RimeAddress + se.sics.cooja.interfaces.MoteAttributes false - Rime - se.sics.cooja.contikimote.ContikiMote - mtype528 se.sics.cooja.interfaces.Position - 50.829139451170256 - 62.671405251575884 + 38.67566417548448 + 47.31532819237484 0.0 - - se.sics.cooja.interfaces.Battery - false - se.sics.cooja.contikimote.interfaces.ContikiMoteID 1 + mtype98 - se.sics.cooja.contikimote.ContikiMote - mtype528 se.sics.cooja.interfaces.Position - 66.70779372167401 - 87.6357288540325 + 71.13430279192914 + 55.964918387262955 0.0 - - se.sics.cooja.interfaces.Battery - false - se.sics.cooja.contikimote.interfaces.ContikiMoteID 2 + mtype98 - se.sics.cooja.contikimote.ContikiMote - mtype528 se.sics.cooja.interfaces.Position - 41.129223698257974 - 11.860747327849797 + 228.04679204790637 + 87.17819808323965 0.0 - - se.sics.cooja.interfaces.Battery - false - se.sics.cooja.contikimote.interfaces.ContikiMoteID 3 + mtype98 - se.sics.cooja.contikimote.ContikiMote - mtype528 se.sics.cooja.interfaces.Position - 3.896453344832884 - 57.94647173289612 + 272.42783222170533 + 46.64334378879388 0.0 - - se.sics.cooja.interfaces.Battery - false - se.sics.cooja.contikimote.interfaces.ContikiMoteID 4 + mtype98 - se.sics.cooja.contikimote.ContikiMote - mtype528 se.sics.cooja.interfaces.Position - 66.34456950462831 - 23.965576279871247 + 238.61415527274 + 44.41698596888275 0.0 - - se.sics.cooja.interfaces.Battery - false - se.sics.cooja.contikimote.interfaces.ContikiMoteID 5 + mtype98 - se.sics.cooja.contikimote.ContikiMote - mtype528 se.sics.cooja.interfaces.Position - 70.88189625059834 - 87.6624950776213 + 132.73939224849255 + 69.21851375812221 0.0 - - se.sics.cooja.interfaces.Battery - false - se.sics.cooja.contikimote.interfaces.ContikiMoteID 6 + mtype98 - se.sics.cooja.contikimote.ContikiMote - mtype528 se.sics.cooja.interfaces.Position - 19.09803704982651 - 38.15109163392978 + 13.282402591495124 + 37.55717734948646 0.0 - - se.sics.cooja.interfaces.Battery - false - se.sics.cooja.contikimote.interfaces.ContikiMoteID 7 + mtype98 - se.sics.cooja.contikimote.ContikiMote - mtype528 se.sics.cooja.interfaces.Position - 89.63745297998314 - 5.041038966356015 + 231.24739439405175 + 48.67375039920239 0.0 - - se.sics.cooja.interfaces.Battery - false - se.sics.cooja.contikimote.interfaces.ContikiMoteID 8 + mtype98 - se.sics.cooja.contikimote.ContikiMote - mtype528 se.sics.cooja.interfaces.Position - 13.348832186584092 - 21.93390094486253 + 207.8959314238542 + 1.1350394672889341 0.0 - - se.sics.cooja.interfaces.Battery - false - se.sics.cooja.contikimote.interfaces.ContikiMoteID 9 + mtype98 - se.sics.cooja.contikimote.ContikiMote - mtype528 se.sics.cooja.interfaces.Position - 1.674784139064478 - 14.130140721379835 + 92.82161206304569 + 92.33145969594939 0.0 - - se.sics.cooja.interfaces.Battery - false - se.sics.cooja.contikimote.interfaces.ContikiMoteID 10 + mtype98 - se.sics.cooja.contikimote.ContikiMote - mtype528 se.sics.cooja.interfaces.Position - 47.87142051729898 - 7.506518941902218 + 160.99396124295916 + 19.643001828505756 0.0 - - se.sics.cooja.interfaces.Battery - false - se.sics.cooja.contikimote.interfaces.ContikiMoteID 11 + mtype98 - se.sics.cooja.contikimote.ContikiMote - mtype528 se.sics.cooja.interfaces.Position - 26.88271893793631 - 45.005087461409865 + 200.78134764559428 + 12.892752477526937 0.0 - - se.sics.cooja.interfaces.Battery - false - se.sics.cooja.contikimote.interfaces.ContikiMoteID 12 + mtype98 - se.sics.cooja.contikimote.ContikiMote - mtype528 se.sics.cooja.interfaces.Position - 56.02971812708909 - 26.88551057316878 + 205.39914563029964 + 28.760487893562114 0.0 - - se.sics.cooja.interfaces.Battery - false - se.sics.cooja.contikimote.interfaces.ContikiMoteID 13 + mtype98 - se.sics.cooja.contikimote.ContikiMote - mtype528 se.sics.cooja.interfaces.Position - 95.69470045280002 - 71.59310205157577 + 252.08232300754125 + 72.49857017173812 0.0 - - se.sics.cooja.interfaces.Battery - false - se.sics.cooja.contikimote.interfaces.ContikiMoteID 14 + mtype98 - se.sics.cooja.contikimote.ContikiMote - mtype528 se.sics.cooja.interfaces.Position - 31.731698652367335 - 39.71639147226488 + 229.71392970623077 + 6.54664783066401 0.0 - - se.sics.cooja.interfaces.Battery - false - se.sics.cooja.contikimote.interfaces.ContikiMoteID 15 + mtype98 - se.sics.cooja.contikimote.ContikiMote - mtype528 se.sics.cooja.interfaces.Position - 2.8792353689463424 - 51.72896355140204 + 278.53902340242763 + 68.52057141636107 0.0 - - se.sics.cooja.interfaces.Battery - false - se.sics.cooja.contikimote.interfaces.ContikiMoteID 16 + mtype98 - se.sics.cooja.contikimote.ContikiMote - mtype528 se.sics.cooja.interfaces.Position - 51.07177717821779 - 90.91445330727116 + 63.58843478737991 + 53.533699264766824 0.0 - - se.sics.cooja.interfaces.Battery - false - se.sics.cooja.contikimote.interfaces.ContikiMoteID 17 + mtype98 - se.sics.cooja.contikimote.ContikiMote - mtype528 se.sics.cooja.interfaces.Position - 43.42318694224158 - 91.44323457482095 + 143.25717547901027 + 61.23529184398511 0.0 - - se.sics.cooja.interfaces.Battery - false - se.sics.cooja.contikimote.interfaces.ContikiMoteID 18 + mtype98 - se.sics.cooja.contikimote.ContikiMote - mtype528 se.sics.cooja.interfaces.Position - 87.22205782780289 - 48.33830904569607 + 238.99233371296435 + 11.57402085202307 0.0 - - se.sics.cooja.interfaces.Battery - false - se.sics.cooja.contikimote.interfaces.ContikiMoteID 19 + mtype98 - se.sics.cooja.contikimote.ContikiMote - mtype528 se.sics.cooja.interfaces.Position - 1.6332448872152683 - 32.64258506789177 + 131.463497184274 + 37.91565308310023 0.0 - - se.sics.cooja.interfaces.Battery - false - se.sics.cooja.contikimote.interfaces.ContikiMoteID 20 + mtype98 + + + + se.sics.cooja.interfaces.Position + 299.4799135787668 + 55.16132007269603 + 0.0 + + + se.sics.cooja.contikimote.interfaces.ContikiMoteID + 21 + + mtype98 + + + + se.sics.cooja.interfaces.Position + 187.71659571763186 + 9.08434815157203 + 0.0 + + + se.sics.cooja.contikimote.interfaces.ContikiMoteID + 22 + + mtype98 + + + + se.sics.cooja.interfaces.Position + 102.203173631275 + 62.50474380428127 + 0.0 + + + se.sics.cooja.contikimote.interfaces.ContikiMoteID + 23 + + mtype98 + + + + se.sics.cooja.interfaces.Position + 125.71665361687481 + 43.5458073676737 + 0.0 + + + se.sics.cooja.contikimote.interfaces.ContikiMoteID + 24 + + mtype98 + + + + se.sics.cooja.interfaces.Position + 252.63631602446236 + 17.060026732849032 + 0.0 + + + se.sics.cooja.contikimote.interfaces.ContikiMoteID + 25 + + mtype98 + + + + se.sics.cooja.interfaces.Position + 266.5666796770194 + 8.117217835238177 + 0.0 + + + se.sics.cooja.contikimote.interfaces.ContikiMoteID + 26 + + mtype98 + + + + se.sics.cooja.interfaces.Position + 131.87192517986617 + 32.127513593397026 + 0.0 + + + se.sics.cooja.contikimote.interfaces.ContikiMoteID + 27 + + mtype98 + + + + se.sics.cooja.interfaces.Position + 30.652367771559508 + 85.42109840411501 + 0.0 + + + se.sics.cooja.contikimote.interfaces.ContikiMoteID + 28 + + mtype98 + + + + se.sics.cooja.interfaces.Position + 130.99357336573604 + 33.563347799757125 + 0.0 + + + se.sics.cooja.contikimote.interfaces.ContikiMoteID + 29 + + mtype98 + + + + se.sics.cooja.interfaces.Position + 46.890570472099824 + 84.32697531265379 + 0.0 + + + se.sics.cooja.contikimote.interfaces.ContikiMoteID + 30 + + mtype98 + + + + se.sics.cooja.interfaces.Position + 289.29241608338094 + 79.10614026359546 + 0.0 + + + se.sics.cooja.contikimote.interfaces.ContikiMoteID + 31 + + mtype98 + + + + se.sics.cooja.interfaces.Position + 100.85049907610703 + 29.219819221326194 + 0.0 + + + se.sics.cooja.contikimote.interfaces.ContikiMoteID + 32 + + mtype98 + + + + se.sics.cooja.interfaces.Position + 93.66013534793747 + 61.22227570233571 + 0.0 + + + se.sics.cooja.contikimote.interfaces.ContikiMoteID + 33 + + mtype98 + + + + se.sics.cooja.interfaces.Position + 165.39189836567348 + 48.74735797514156 + 0.0 + + + se.sics.cooja.contikimote.interfaces.ContikiMoteID + 34 + + mtype98 + + + + se.sics.cooja.interfaces.Position + 18.853444997565738 + 6.082388970997076 + 0.0 + + + se.sics.cooja.contikimote.interfaces.ContikiMoteID + 35 + + mtype98 + + + + se.sics.cooja.interfaces.Position + 259.5180066895893 + 75.51462617878758 + 0.0 + + + se.sics.cooja.contikimote.interfaces.ContikiMoteID + 36 + + mtype98 + + + + se.sics.cooja.interfaces.Position + 263.7950489517294 + 90.09995862170234 + 0.0 + + + se.sics.cooja.contikimote.interfaces.ContikiMoteID + 37 + + mtype98 + + + + se.sics.cooja.interfaces.Position + 23.947500697143653 + 94.74616081134577 + 0.0 + + + se.sics.cooja.contikimote.interfaces.ContikiMoteID + 38 + + mtype98 + + + + se.sics.cooja.interfaces.Position + 241.77318785378117 + 91.62879072642055 + 0.0 + + + se.sics.cooja.contikimote.interfaces.ContikiMoteID + 39 + + mtype98 + + + + se.sics.cooja.interfaces.Position + 66.62200995388741 + 32.556745277962186 + 0.0 + + + se.sics.cooja.contikimote.interfaces.ContikiMoteID + 40 + + mtype98 + + + + se.sics.cooja.interfaces.Position + 44.26079431121239 + 46.605254676089366 + 0.0 + + + se.sics.cooja.contikimote.interfaces.ContikiMoteID + 41 + + mtype98 + + + + se.sics.cooja.interfaces.Position + 194.44814750115458 + 79.42937060855046 + 0.0 + + + se.sics.cooja.contikimote.interfaces.ContikiMoteID + 42 + + mtype98 + + + + se.sics.cooja.interfaces.Position + 183.8414711646846 + 99.24659864419542 + 0.0 + + + se.sics.cooja.contikimote.interfaces.ContikiMoteID + 43 + + mtype98 + + + + se.sics.cooja.interfaces.Position + 255.80325337307795 + 89.00191251557604 + 0.0 + + + se.sics.cooja.contikimote.interfaces.ContikiMoteID + 44 + + mtype98 + + + + se.sics.cooja.interfaces.Position + 3.9615742093764172 + 21.929477393662957 + 0.0 + + + se.sics.cooja.contikimote.interfaces.ContikiMoteID + 45 + + mtype98 + + + + se.sics.cooja.interfaces.Position + 263.8017987770105 + 49.45572112660953 + 0.0 + + + se.sics.cooja.contikimote.interfaces.ContikiMoteID + 46 + + mtype98 + + + + se.sics.cooja.interfaces.Position + 177.29759773129527 + 10.061128779807616 + 0.0 + + + se.sics.cooja.contikimote.interfaces.ContikiMoteID + 47 + + mtype98 + + + + se.sics.cooja.interfaces.Position + 65.42708077018108 + 78.7624915799955 + 0.0 + + + se.sics.cooja.contikimote.interfaces.ContikiMoteID + 48 + + mtype98 + + + + se.sics.cooja.interfaces.Position + 13.61768418807834 + 49.54522480122073 + 0.0 + + + se.sics.cooja.contikimote.interfaces.ContikiMoteID + 49 + + mtype98 + + + + se.sics.cooja.interfaces.Position + 274.0951558609378 + 65.79963370698627 + 0.0 + + + se.sics.cooja.contikimote.interfaces.ContikiMoteID + 50 + + mtype98 se.sics.cooja.plugins.SimControl - 223 + 262 3 - 227 + 185 0 0 false @@ -412,15 +706,17 @@ se.sics.cooja.plugins.Visualizer - Addresses: IP or Rime - Mote IDs - Radio environment (UDGM) + se.sics.cooja.plugins.skins.IDVisualizerSkin + se.sics.cooja.plugins.skins.UDGMVisualizerSkin + se.sics.cooja.plugins.skins.TrafficVisualizerSkin + 1.283542488892569 0.0 0.0 1.283542488892569 57.05308221384719 36.88829601722232 + - 200 + 496 0 - 225 - 222 - 0 + 198 + 1 + 184 false @@ -428,103 +724,96 @@ - 420 - 2 - 489 + 497 + 1 + 333 0 - 225 + 381 false se.sics.cooja.plugins.ScriptRunner - true - 600 - 1 + 676 + 2 714 - 420 + 497 0 false diff --git a/tools/cooja/contiki_tests/rime_collect.info b/tools/cooja/contiki_tests/rime_collect.info index 45a25ee7d..a744e6b57 100644 --- a/tools/cooja/contiki_tests/rime_collect.info +++ b/tools/cooja/contiki_tests/rime_collect.info @@ -1 +1 @@ -Tests the Rime collect primitive, uses the code in examples/rime/example-collect.c +50 Contiki motes running examples/rime/example-collect.c. The sink is randomly created after startup. The test fails if the sink receives less than 8 packets from each node before timeout, or if the sink receives 15 packets from any node (fairness). Test timeout: 600 seconds.