Re: [NS-ANS] Re: Setdest (mobility model)
Noah Nowa Okuonghae <[email protected]> Wed, 15 Feb 2017 18:18:12 -0800 (PST)
| Newsgroups | gmane.network.simulator.isi |
|---|---|
| Message-ID | <[email protected]> |
Please bear with me, I am pretty new to NS2 but what version of setdest do I use and how if I want constant speed of 25ms and varying pause time of 20, 35, 43, 60, 78 & 92. (with 20 nodes, 150 simulation time, x 500 & y 500). Huge thanks in advance Noah On Saturday, 29 October 2011 06:48:23 UTC+1, Teerawat@UBC wrote: > > > Hi, > > The utility setdest is a standalone utility. It must be invoked at the > command prompt. The utility is located in the directory > ns-2.35//indep-utils/cmu-scen-gen/setdest. Go to that directory and execute > > ./setdest -v 1 -n 50 -p 0 -M 20 -t 900 -x 1500 -y 300 > > The utility will create Tcl mobility statements for you. You can copy > these commands and insert into your NS2 Tcl simulation script. > > But generally, the above run would create too many Tcl statements. You can > store all the statements in a file 'out.txt' by running > > ./setdest -v 1 -n 50 -p 0 -M 20 -t 900 -x 1500 -y 300 > out.txt > > Then you can copy the mobility statements from the file out.txt to your > NS2 Tcl simulation script. > > Best Wishes, > > Teerawat Issariyakul > http://www.ns2ultimate.com/ > http://www.facebook.com/pages/Teerawat-Issariyakul/358240861417 > http://twitter.com/T_Bear > http://www.t-issariyakul.blogspot.com > http://www.ece.ubc.ca/~teerawat > > On Oct 21, 2011, at 12:11 AM, samira h wrote: > > > > > Dear all, > > Colud you please help me how to use command setdest like "setdest -v 1 > -n 50 > > -p 0 -M 20 -t 900 -x 1500 -y 300" in a ns program? I got the error: > invalid > > command name "setdest". > > > > >