[ns] Movement generation

René Orlando Lozada Gutiérrez rolozadag at mail.udistrital.edu.co
Fri Sep 16 09:28:19 PDT 2005


Hi,

You Know to indirect way the time that node arrive 

(yf-y0) = m(xf-x0)
Vy=mvx
V = sqrt(vy**2+vx**2)

y: position in y axis
x: position in x axis
v: speed
m: straight's pending

bye
René Lozada

-----Mensaje original-----
De: ns-users-bounces at ISI.EDU [mailto:ns-users-bounces at ISI.EDU] En nombre de
karim zerioh
Enviado el: Viernes, 16 de Septiembre de 2005 08:03 a.m.
Para: ns-users at ISI.EDU
Asunto: [ns] Movement generation


Hi,

I want to generate node's movement.

now i'm doing the following:
$ns_ at $time "$node_(0) setdest 100 200 50".

I want the node to go to a certain destination, then
when it arrives to this destination i want it to go to
an other destination.

So what i want is to be able to add setdest commands
but depending on user's position not on time.

is this possible?

Thank you


		
___________________________________________________________ 
To help you stay safe and secure online, we've developed the all new Yahoo!
Security Centre. http://uk.security.yahoo.com




More information about the Ns-users mailing list