1:Tossim dose not use co-ordinates. It only needs gain (path loss between
motes) which you have to generate with an external program (linkLayerModel.java
etc) or measure
2:I used linkLayerModel
3:unfortunately tinyviz dose not work with tinyos2.x
Date: Fri, 16 Apr 2010 09:23:13 +0800
Subject: Re: [Tinyos-help] How to set the coordination of motes with
topology.out
From: [email protected]
To: [email protected]
Hi Mark ,
Now i know your mean.But i don't know how add x/y coordination to the motes
with the topology.out.
In that file, it has lines like 1 15.43 7.39
.
.
.
the line tell us the id of mote and coordination of x and y.
so,i can use the topoloy.out in the snippet of Python code .
f = open("topology.out", "r")
lines = f.readlines()
for line in lines:
s = line.split()
if (len(s) > 0):
m = t.getNode(s[0])
Here I create nodes with the IDs in the file, but where should I set
the dimension x/y? Which method should I use for this?
In tinyos ,i input the command "from TOSSIM import *" and "dir(t)" i can't
find the function to add the coordination for motes?
2 Are you have your own topology in which motes can have their coordination?
In tinyos-help, there are not many people know that. some one tell tinyos2.x
don't have the function.
3 The tinyviz can achieve my mind?
_________________________________________________________________
Hotmail & Messenger. Get them on your phone now.
http://go.microsoft.com/?linkid=9724463_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help