[Tinyos-help] set distance between motes in tinyviz

Darren BISHOP d.bishop at cs.ucl.ac.uk
Tue Aug 1 02:51:24 PDT 2006


Hey Nilay,

In TinyViz goto the 'Plugins' menu and enable the 'Radio model' plugin. 
Select the corresponding control panel (on the right) and choose the 
radio range e.g. 'Fixed radius (10.0)'. You can then scale this by 
setting the 'Distance scaling factor'; I believe you must use the 
reciprocal of the factor by which you wish to scale.

Hope this helps.

Darren

Nilay Chheda wrote:
>  
> Thanks Darren,
> The real thing I want to do is to limit the radio range to some nodes.
> I am simulating around 50 nodes and want to form a tree using them.
> The problem here is that the root (mote 0) broadcast and allocates the 
> even furthest node (consider nodes are placed in a grid fashion)as its 
> child. So I want to limit the radio range to a certain known distance 
> so as to form the next level of the tree.
> As you said I can use the RadioModel plugin but how do I set the 
> distance so that I can actually get the relation between the radio 
> range and distance parameters.
> In other other words, set a numerical distance between two nodes to 
> get  the numerical radio range.
> I hope thats not too confusing.
>
> Thanks,
> Nilay
>



More information about the Tinyos-help mailing list