[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] Hack: How to see your Wireless Nodes'radio range in nam.



Let's say that the wireless nominal range is 250m. Here is a
recipe to display the wireless nodes in nam as circles of radius
250 m:
go in /ns-allinone-2.1b6/nam-1.0a8/, or whatever your nam
directory is.
edit the file view.cc, the definition of function View::circle. 
Change the "r" in the "matrix_.map(x + r, y, tr, dummy);" line
to "250".

make nam, and you are done.
--
Robin