Hi ns2 users, I am trying to get the transmission range of a node and put it in my customized trace file. But when I access the variable radius_ in mobilenode.cc, the value is always zero.
In my intuition, when I use: Phy/WirelessPhy set RXThresh_ 1.20174e-07 the value 1.20174e-07 should be convert correspondingly to meter and store in radius_, but it seems not happen like that. So my question is how to get the range of node, by meter, to put it in my trace file (or simply print it on the screen)? Thank you, Hieu Nguyen