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

[ns] mobile node range versus setdest.cc



Hi all,
 
By reading the new chapter about Radio propagation models in NS2, I understood that the tx range of a mobile node can be changed from the tcl script by changing the receiving threshold with this command line:
Phy/WirelessPhy set RXThresh_ <value>
I also understand that by "playing" with Pt, Gt, Gr and this new Rxthreshold I can do the back calculation to adapt to my new range. Unfortunately, I don't have the threshold.cc program ( I am using ns2.1b6) that seems to do this Rx calculation "without any calculator".
That is fine, I think I can still use my old calculator to do that. 
However, since I am using setdest.cc to generate my movement scenarios and this program uses the default of 250m, I wonder how setdest.cc can also be updated to my new range?
 
Can you give me any help how to do this?
Thanks in advance,
Leo from Naval Postgraduate School