Hello, I am working with TOSSIM in python, and I would like to repeat in the
same code (probably using a loop) a simulation.

Everything seems fine, except that the time length of the simulation is
increased in each simulation. For instance, if first simulation time is 100
s. second simulation longs 200 s, third 300 s. and so on.

This is very wierd because after each iteration I remove completely all
tossim, nodes, and radio objects. Furthermore, before beginning the loop for
runNextEvent , i check the values of tossim.time() and
tossim.ticksPerSecond().

I have tried to do it in different ways, for instance including the
simulation inside the loop directly, including a call to a function which
actually does the simulation... etc... but nothing worked. Has anyone ever
faced a similar problem ?

Sincerely, Jose.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to