That plugin is a bit buggy. I have just played with it.
i) setup a grid of 100 nodes ii) set the radio model to to fixed radius 10 ii) set the scalingfactor to 2 At this point all nodes are isolated. For some reason the radius is divided by the scale factor; radius 10 / factor 2 = new-radius 5, hence why all nodes are isolated, given they are 10 apart. The buggyness is in the need to hit ENTER then click update when you change the scale; also be patient as I think responsiveness degrades as the network size increases. -- Warm regards, Darren Bishop, MSc, BSc (Hons), MBCS On Friday 04 August 2006 21:29, Nilay wrote: > Thanks Darren, > but that doesnt help too. > I set up the 50 motes in a grid fashion, the distant of each is by 12.5 > units (when u enable the grid lines). Chose a radio model with radius 10.0 > but still the either mote can reach any other mote which is way more than > 10.0 units. Can u suggest something more (a plugin usage manual link)or a > working example. > > Thanks, > Nilay > > On Tue, 01 Aug 2006 Darren BISHOP wrote : > >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 _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
