On Jul 1, 2011, at 9:31 PM, vinod kumar wrote:
> What are the sample values present in meyer-heavy.txt present in
> tos/lib/noise ?? Are they some sample gain values? In the topology.txt, the
> pattern is something like
> "1 2 -87" which mean signal sent by 1 , received by 2 with gain -87.
meyer-heavy.txt are 1KHz samples taken of environmental interference. Please
see:
HyungJune Lee, Alberto Cerpa, and Philip Levis.
Improving Wireless Simulation Through Noise Modeling. In Proceedings of the
Sixth International Conference on Information Processing in Wireless Sensor
Networks (IPSN), 2007.
> Are these values present inside topology.txt randomly generated? And the link
> is made between the nodes whose pattern is found inside this toplogy.txt as
> we have a link between '1' and '2' in the above case. But somebody told me
> that link is formed between nodes whose gain value is greater than some
> specific value. But the code below present in tutorial says that link is
> formed for all the patterns present in topology.txt file .
> >>> f = open("topo.txt", "r")
> >>> lines = f.readlines()
> >>> for line in lines:
> ... s = line.split()
> ... if (len(s) > 0):
> ... print " ", s[0], " ", s[1], " ", s[2];
> ... r.add(int(s[0]), int(s[1]), float(s[2]))
>
> The path loss equation is :
> Log-distance path loss model is formally expressed as:
Path loss models are insufficient to model a wireless network for reasonable
testing purposes. The topology files incorporate a path loss model as well as
hardware covariance, based on Zuniga's work.
Phil
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help