Unfortunately I cannot use TiinyOS-2.0. Maybe Nilay can. Nilay: Nonetheless, what you are trying to do is possible and I/we have done it. I must admit, after just running it again, it does not seem intuitive what it is doing: using the same setup as describe earlier but with scale 1, a node did not always hear the broadcast of one of its (upto) 4 neighbours; I thought being unit disc i.e. 0-loss-rate, that tehy would always hear their neighbours.
I do not know what more advice to give this - maybe someone else can offer input -- Warm regards, Darren Bishop, MSc, BSc (Hons), MBCS On Saturday 05 August 2006 10:31, [EMAIL PROTECTED] wrote: > I think that if you need a more accurate kind of simulation, you should > think about using TinyOS 2.0 and Tossim. As a matter of fact the new Tossim > version gives you the possibility of defining Radio Gains among nodes > instead of using an empirical model or a radius model as in TinyViz. > Moreover if you need a particular kind of simulation, you can change the > GainRadioModel defining your own. > > Stefano. > > > > > > > > ---------- Initial Header ----------- > > >From : [EMAIL PROTECTED] > > To : "Nilay" [EMAIL PROTECTED],"tinyOShelp" > [email protected] Cc : > Date : Sat, 5 Aug 2006 08:53:17 +0100 > Subject : Re: [Tinyos-help] set distance between motes in tinyviz > > > 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 _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
