The topology specified with the -rf switch is the "radio topology". In order
to layout the motes in tinyviz in particular positions, you would have to
specify a layout file. This file contains tuples of the form "moteid
xcoordinate ycoordinate" with the top left corner being (0, 0).

I think this should have been included in the documentation for TinyViz.

On 4/21/07, preeti k <[EMAIL PROTECTED]> wrote:

Hello,

I have been experimenting with network layer protocols using tinyos1.x.
The topologies i used were random topologies, but now i want to use
specific  topology like say grid topology. I am using cygwin.
I read the documents for LossyBuilder and also created lossy topology
using the same. I created a topology with '-d 2 5 -s 10 'ie 2*5 grid with 10
feet spacing.
Now i try to give this file (created by Lossybuilder) as input by saying

>./build/pc/main.exe -rf = topo.nss 10 (number of motes)

Also i  run TinyViz for the graphical layout of motes and the radio links
between them.

My problem is that the topology given through the '-rf=topo.nss' command
line parameter and the one seen on TinyViz do not match.
How do i give the same input file to TinyViz so that i can see  the
topology as topo.nss ?
I tried to load the file in TinyViz but it looks for files with extension
'*.mps' . How do i create such files and what do they mean?

Is it that TinyViz does not automatically take the layout file specified
through -rf option on the command line? Is there any particular way of doing
this? Can anyone help me  please?

Thanks in advance
Regards,
-Preeti









_______________________________________________
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

Reply via email to