[ns] Random motion in a limited zone

2010-07-26 Thread El hadi Cherkaoui

Dear Ns user,

I want to know if there is a function in tcl to define a random motion for a 
noe like : 

$node_($1) random-motion 1

but in a certain zone ( i want to define a limit for this zone )

Regards.





  


[ns] random motion

2007-03-24 Thread sinduja R

hi guye, please tell how to add random motion features to mobile node..

i gave $node random-motion 1

but the mobile doesn't seem to move at all..


[ns] random-motion 1 and initial position

2006-10-29 Thread sara MA

Hello everybody:

Can you please tell me if it's possible to have random movement of nodes 
(random-motion 1), but also having cutomized initial postion of nodes. I 
want to set the initial position of nodes by myself and then let them move 
randomly.

Thanks in advance for any suggestion,
Sara

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



Re: [ns] Random motion for ad-hoc network

2006-08-08 Thread sara MA

My beleive is whenever I run the ns command for my tcl file, the nam file 
for that tcl file is overwritten, am I wrong?


From: [EMAIL PROTECTED]
CC: ns-users@ISI.EDU
Subject: Re: [ns] Random motion for ad-hoc network
Date: Tue, 08 Aug 2006 14:14:14 +0930


sara MA wrote:
  hello:
 
  I'm using these codes for creating random motion in an ad-hoc network:
 
  for {set i 0} {$i  $val(nn) } {incr i} {
  set node_($i) [$ns_ node]
  $node_($i) random-motion 1 }
 
  for {set i 0} {$i  $val(nn) } {incr i} {
  $node_($i) start }
 
  The distribution of my nodes looks random, but my problem is every time 
I
  run the nam file,  the initial positions of nodes is the same as last 
time,
  and they even move in the same way they moved as last time.
 
  Do you know what maybe the problem?
 
  Thanks:
  Sara
 
  _
  Express yourself instantly with MSN Messenger! Download today it's FREE!
  http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
 
 
 
 
Hi sara,

Running NAM against the same namfile will always produce the same node
mobility.

I suggest that you look at Marc Greis' tutorial Chapter XI.

P.


_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



Re: [ns] Random motion for ad-hoc network

2006-08-08 Thread plucs

That's right.

However the nam file will always be the same as you are supplying node 
mobility with the same mobility file (.scen).

P

sara MA wrote:
 My beleive is whenever I run the ns command for my tcl file, the nam file 
 for that tcl file is overwritten, am I wrong?


   
 From: [EMAIL PROTECTED]
 CC: ns-users@ISI.EDU
 Subject: Re: [ns] Random motion for ad-hoc network
 Date: Tue, 08 Aug 2006 14:14:14 +0930


 sara MA wrote:
 
 hello:

 I'm using these codes for creating random motion in an ad-hoc network:

 for {set i 0} {$i  $val(nn) } {incr i} {
 set node_($i) [$ns_ node]
 $node_($i) random-motion 1 }

 for {set i 0} {$i  $val(nn) } {incr i} {
 $node_($i) start }

 The distribution of my nodes looks random, but my problem is every time 
   
 I
 
 run the nam file,  the initial positions of nodes is the same as last 
   
 time,
 
 and they even move in the same way they moved as last time.

 Do you know what maybe the problem?

 Thanks:
 Sara

 _
 Express yourself instantly with MSN Messenger! Download today it's FREE!
 http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/




   
 Hi sara,

 Running NAM against the same namfile will always produce the same node
 mobility.

 I suggest that you look at Marc Greis' tutorial Chapter XI.

 P.

 

 _
 Express yourself instantly with MSN Messenger! Download today it's FREE! 
 http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



   



[ns] Random motion for ad-hoc network

2006-08-07 Thread sara MA

hello:

I'm using these codes for creating random motion in an ad-hoc network:

for {set i 0} {$i  $val(nn) } {incr i} {
set node_($i) [$ns_ node]
$node_($i) random-motion 1 }

for {set i 0} {$i  $val(nn) } {incr i} {
$node_($i) start }

The distribution of my nodes looks random, but my problem is every time I 
run the nam file,  the initial positions of nodes is the same as last time, 
and they even move in the same way they moved as last time.

Do you know what maybe the problem?

Thanks:
Sara

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



Re: [ns] Random motion for ad-hoc network

2006-08-07 Thread plucs

sara MA wrote:
 hello:

 I'm using these codes for creating random motion in an ad-hoc network:

   for {set i 0} {$i  $val(nn) } {incr i} {
   set node_($i) [$ns_ node]
 $node_($i) random-motion 1 }

   for {set i 0} {$i  $val(nn) } {incr i} {
   $node_($i) start }

 The distribution of my nodes looks random, but my problem is every time I 
 run the nam file,  the initial positions of nodes is the same as last time, 
 and they even move in the same way they moved as last time.

 Do you know what maybe the problem?

 Thanks:
 Sara

 _
 Express yourself instantly with MSN Messenger! Download today it's FREE! 
 http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



   
Hi sara,

Running NAM against the same namfile will always produce the same node 
mobility.

I suggest that you look at Marc Greis' tutorial Chapter XI.

P.



[ns] random motion in ns-2

2006-05-21 Thread giuseppe bono

someone you would know to say what to me to insert in
ns in order qualifying random motion in one the
simulation wireless 






___ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it



[ns] random-motion parameter of a wireless node

2006-01-01 Thread Sita S. Krishnakumar

Hello,
What does setting random-motion to 1 do to a wireless node?
I see no movement in nam when I run a simulation.
Thanks,
Sita