Re: [ns] How to get a mobile node's current position

2011-02-01 Thread Amrutha
I cant understand the line set m[expr(1/(4*pi*d))]. What is the initial value for the variable 'd' and also for other variables like pt,gr,gt in the next line? -- View this message in context: http://old.nabble.com/How-to-get-a-mobile-node%27s-current-position-tp18604950p30814605.html Sent from

Re: [ns] How to get a mobile node's current position

2008-07-24 Thread Liceven
half-decent, then I think it will > not take you more than 2-5 hours to locate the function and find the > solution of your problem. > > PLEASE ONCE YOU SOLVE YOUR PROBLEM, DO SHARE YOUR SOLUTION WITH OTHERS ON > THE NS MAILING LIST. > > Kind Regards > Jalaluddin Qureshi > > Res

Re: [ns] How to get a mobile node's current position

2008-07-24 Thread Liceven
half-decent, then I think it will > not take you more than 2-5 hours to locate the function and find the > solution of your problem. > > PLEASE ONCE YOU SOLVE YOUR PROBLEM, DO SHARE YOUR SOLUTION WITH OTHERS ON > THE NS MAILING LIST. > > Kind Regards > Jalaluddin Qureshi > > Res

Re: [ns] How to get a mobile node's current position

2008-07-24 Thread Jalaluddin Qureshi
i Research Student @ CeMNet, SCE Nanayang Technological University N4-B2c-06, Nanyang Avenue Singapore 639798 http://www.cemnet.ntu.edu.sg --Forwarded Message Attachment-- From: [EMAIL PROTECTED] To: ns-users@ISI.EDU Date: Wed, 23 Jul 2008 00:00:36 -0700 Subject: [ns] How to get a mobile node's cu

Re: [ns] How to get a mobile node's current position

2008-07-23 Thread Liceven
Hi, today I find we could use tcl script to get a node's position. codes like this: set n1 [$ns node] $ns set X_ 15.0 $ns set Y_ 15.0 $ns set Z_ 0.0 ... set x_pos [$n1 set X_] ... 'set x_pos [$n1 set X_]' this script could be used to get the x value of n1's starting

[ns] How to get a mobile node's current position

2008-07-23 Thread Liceven
Hello,everyone: I want to simulate a wireless scenario with two access points and a mobile node. This mobile node moves randomly, the question is how to calculate it's position like(x=?,y=?,z=0) at any given time. It could be better if you could give me an example. Of course, any suggestion