Hello, I created a sample script to test wireless network in ns2. As I know, to set the radius of node, I set it in the Phy/WirelessPhy agent by using the two following scripts in tcl:
Phy/WirelessPhy set CSThresh_ 1.20174e-07 Phy/WirelessPhy set RXThresh_ 1.20174e-07 When I tried to print out the radius of a wireless node by using node->radius(), I just got the result 0. How can I modify to have the radius of node by using function radius()?