Thanks for your guides. However, the mobile node MUST decide when to move and
when to stop.
As far as I know the pause time, which can be set via dist command through TCL,
was used to determine the nodes stop behaviour, i.e. to stop at fixed time.
Husam Y. ALZAQ
Date: Wed, 16 May 2012 10:53:16 -0700
Subject: Re: [ns] Nodes movement in NS-2
as for as i understand , u should set pause time in set destination
Muhammad Saleem Khan
Ph.D(CS) , COMSATS Institute of Information Technology, Islamabad.
Cell No# 0346-9754454
From: Husam Y ALZAQ <bayan...@hotmail.com>
Sent: Wednesday, May 16, 2012 10:26 PM
Subject: [ns] Nodes movement in NS-2
Hello ns-users,I am using NS-2 for creating a mobile node. actually those nodes
are Wireless Sensor Nodes created by mannasim.
My scinario as the following
a mobile node will move between 4 places and wait for some time
and it issues 4 move commandes like
from C++ code. this pices of code allow a node to move from its
current location to new_x and new_y location at speed of SPEED value
just when the last command was executed, it didn't allow the previous ones to
So the mobile node will got to new_x3 and new_y3.
So my question is how we can wait until reaching the first place
before moving to the next one. In othe words, how we can know that the
mobile node has reached one desination and the event was successfully