Saturday, November 19, 2011

[ns] Fwd: generating movement pattern

Hi all,

Kindly help in below query!!!!!

---------- Forwarded message ----------
From: Rahul Sharma <wireless.rahul@gmail.com>
Date: Thu, Nov 17, 2011 at 3:29 PM
Subject: generating movement pattern
To: ns-users@isi.edu


Hi All,

I want to create a movement pattern file as below

Consider there are 8 nodes out of which 1 node will be having motion and
rest 7 nodes are static. and that 1 node should traverse the location of
other 7 nodes.

i.e. consider the position of 7 nodes as node 1(0,0), node 2(10,15), node 3
(12,50), node 4 (56,155), node 5 (56.1), node 6 (400,15), node 7 (150,150)

now when the simulation will start then node 0 should go to node 1 at a
speed of 3 Km/h, then at time 15 node 0 should go to node 2 at 3Km/h, at 25
sec node 0 should go to node 3 and so on till node 7 and then the
simulation should keep running afterwards with no movement of node 0.

How can i create such movement pattern file?

Need it urgently!!

No comments:

Post a Comment

Counter

blogger analytics