[Tinyos-help] Different results from one simulation to an other (?!?)
Nahr ...
nahrelk at gmail.com
Wed Jul 9 03:44:52 PDT 2008
Hi all,
I found a very astonishing thing in Tossim simulator because I got extremely
different result from one simulation to an other.
In the first simulation I get the packet delivery rate = ~ 0.9
in the second I get the packet delivery rate = 0 !!!!!!!!!!!!!!
I found that it is illogical result.
I am using this code to turn mote aff and restart the second simulation:
for simul in range(1,(nbrsimulation + 1)):
t = Tossim([])
r = t.radio()
numnodes = 2
for i in range(0, numnodes):
m = t.getNode(i);
time = randint(t.ticksPerSecond(), 10 * t.ticksPerSecond())
m.bootAtTime(time)
******************************
******************************
*******ADDing**************
*******GAIN &**************
*******Noise****************
******************************
******************************
for i in range(0, numnodes):
m = t.getNode(i);
m.turnOff()
Could someone explain to me why?
Thanks for all
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080709/5b553873/attachment.htm
More information about the Tinyos-help
mailing list