[Tinyos-help] TOS 2.x simulator
Frederic Beaulieu
Frederic.Beaulieu at trilliantinc.com
Fri May 16 05:38:09 PDT 2008
Thanks Paul,
Do you know if it is possible to simulate network formation with tossim i.e. association to best neighbor, etc???
Tossim does not seems to simulate slow fading, is there any fundamental reason that can prevent its implementation within the simulator???
.:Fred
-----Original Message-----
From: tinyos-help-bounces at millennium.berkeley.edu [mailto:tinyos-help-bounces at millennium.berkeley.edu] On Behalf Of Paul Stickney
Sent: Thursday, May 15, 2008 6:51 PM
To: tinyos-help at millennium.berkeley.edu
Subject: Re: [Tinyos-help] TOS 2.x simulator
TinyViz is ONLY for TOSSIM 1.x (TOS 1.x): TOSSIM 2 (TOS 2.x) works a
good bit different.
In particular, the main interface is directly with the TOSSIM "kernel"
through a Python/C++ interface. This was designed to allow a
script-first approach and completely bypasses the "GUI" layer.
You can, of course, plop whatever visualization tool on a
serial-forward link (this is what you want TOSSIM Live for). IIRC, it
required 0 modifications to run Oscilloscope with sim-sf and the
supplied Oscilloscope Java application. I think there is an
application called Octopus in the TOS 2 contrib too.
TOSSIM-Live is part of 2.0.2 CVS (it is NOT in the 2.0.2 package) and
is called "sim-sf" and provides two huge benefits:
1) A serial-forwarder interface to the motes (this is huge!)
2) Running the motes in ``real-time''
Just grab the TOS 2.0.2 CVS and build with sim-sf (instead of sim).
If you have spread out events or only a small number of motes or need
threading in Python, I have a TossimSync module which allows for more
consistent timing and threading. Otherwise, the Throttle that comes
with sim-sf works well. I also have another module, SFInject, which
works in conjunction with the serial-forwarder in sim-sf to allow
either a separate communication channel, or a piggy-backed
communication channel, between the TOSSIM environment (but NOT the
motes, there are other ways to inject packets from the TOSSIM
environment) and the listening applications
_______________________________________________
Tinyos-help mailing list
Tinyos-help at millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
More information about the Tinyos-help
mailing list