[Tinyos-help] topology file

2009-01-21 Thread Adeel Akhtar
-- Hi All how can make a topology file and run the simulation with it in tinyos1.x Thanks & Best Regards Adeel Akhtar ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/lis

Re: [Tinyos-help] TOPOLOGY FILE IN TOSSIM

2008-07-04 Thread drirawmailbox-tos
Hi all, Can some one tell me how to specify node coordinates (x, y) in TOSSIM 2.x? regards; Wassim Drira >Hi Tal, > >The LinkLayerModel application generates two files, topology.out and >linkgain.out. >I don't know exactly what to do with the values. > >1) The snippet of Python code create nodes:

Re: [Tinyos-help] TOPOLOGY FILE IN TOSSIM

2008-06-06 Thread Daniel Pereira
Hi Tal, The LinkLayerModel application generates two files, topology.out and linkgain.out. I don't know exactly what to do with the values. 1) The snippet of Python code create nodes: f = open("topology.out", "r") lines = f.readlines() for line in lines: s = line.split() if (len(s) > 0):

Re: [Tinyos-help] TOPOLOGY FILE IN TOSSIM

2008-06-06 Thread Tal Rusak
Here is an example of importing a topology file from the tutorials: f = open("15-15-tight-mica2-grid.txt", "r") lines = f.readlines() for line in lines: s = line.split() if (len(s) > 0): if (s[0] == "gain"): r.add(int(s[1]), int(s[2]), float(s[3])) (http://docs.tinyos.net/index.

Re: [Tinyos-help] TOPOLOGY FILE IN TOSSIM

2008-06-06 Thread Daniel Pereira
I understood how to generate the topology file, my doubt now is: Which command should I use to input these values? On Fri, Jun 6, 2008 at 11:21 AM, Daniel Pereira <[EMAIL PROTECTED]> wrote: > I didn't understand how to configure the network topology for TOSSIM. > The snippet of Python code create

Re: [Tinyos-help] TOPOLOGY FILE IN TOSSIM

2008-06-06 Thread Daniel Pereira
I didn't understand how to configure the network topology for TOSSIM. The snippet of Python code create seven nodes. for i in range(0, 7): t.getNode(i).createNoiseModel() How can I relate this nodes with the network topology? Should I set the Channel, Radio and Topology parameters in the Pytho

Re: [Tinyos-help] TOPOLOGY FILE IN TOSSIM

2008-06-05 Thread Tal Rusak
Hi, There are two components to the link model in TOSSIM 2.0.2: noise and gain. Noise is the external interference and noise from sources other than the TinyOS network, which gain is the strength at which nodes in the network can hear packets that other nodes send. The probability of receiving

[Tinyos-help] TOPOLOGY FILE IN TOSSIM

2008-06-05 Thread ndessart
Hello How can I use a topology file in TOSSIM (http://www.tinyos.net/dist-2.0.0/tinyos-2.x/doc/html/tutorial/usc-topologies.html) once I have the .out files? The Tossim wiki show how to integrate a text file noise model like heavy-meyer but I didn't find how to use this outpouts. best reg

Re: [Tinyos-help] Topology file 15-15-tight-mica2-grid.txt

2008-05-09 Thread Philip Levis
On May 9, 2008, at 12:48 AM, Nahr ... wrote: > Hi, > I have finally solved my pb. > But please, could someone explain to me this two files: > > 15-15-tight-mica2-grid.txt and meyer-heavy.txt > > the first one define gain and noise of each node grid 15 nodes * 15 > nodes > tight? distance

[Tinyos-help] Topology file 15-15-tight-mica2-grid.txt

2008-05-09 Thread Nahr ...
Hi, I have finally solved my pb. But please, could someone explain to me this two files: 15-15-tight-mica2-grid.txt and meyer-heavy.txt the first one define gain and noise of each node grid 15 nodes * 15 nodes tight? distance = ?? meyer-heavy describes the propagation strengths from whi