[ns] How to set radio range & sensing rage of sensor nodes

2008-08-14 Thread Biswa Mohan Acharya
Hello NS guys I m working on sensor networks. May I know how to declare/set the radio range & sensing range of sensor node as two different values. I need these two ranges different for my simulation. It may be a silly question but I would like to know. If there is some file in ns2 package where I

[ns] Help regarding wireless connections between nodes

2008-08-14 Thread fhg07
I made a script which regenerates random movements for nodes, and I also wanted them to communicate somehow. For creating random connections between the nodes I used the script ns-2.30/indep-utils/cmu-scen-gen/cbrgen.tcl and incorporated their results in my actual script. I tried creating only UDP

[ns] Help Movement Trace Output

2008-08-14 Thread Hector Agustin Cozzetti
Hello everybody! I have a doubt about the trace file. I need the *coordinates* (x,y) of nodes appear on the trace output. I added these lines of tcl script code: ... *Simulator set MovementTrace_ ON* ... -agentTrace ON \ -routerTrace OFF \ -*movementTrace ON* \ -macTrace OFF \