Hi,

    I am currently working on implementing a routing protocol for WSNs. I am
currently testing it.

    Now when I run TOSSIM, I also run Tython simultaneously since it gives
me greater control over the simulation.           Whenever a parent fails, I
have a dbg message which prints "Parent failed" to the screen. I have
redirected the output of the simulation into a trace file which I parse for
'Parent =' or 'Parent failed' so as to get the coordinates of the child and
its corresponding parent (or the lack of it). I then use gnuplot to plot the
tree.

     However, since output is redirected to the trace file in chunks (i
think it is 2KB or something), I am not able to plot the tree dynamically. I
could watch the flow on the screen and draw the tree manually, but there are
36 nodes and it would get really messy. I can't use TinyViz since I have
changed the packet format and somebody had said that GUI applications work
with default packet sizes, formats,etc.

     Any ideas regarding how I could plot the tree as it changes?


Thanks and regards,
Bharat Naik.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to