hi all,
 when i am trying to set the positions of base station using below
# Create HA and FA
# Position (fixed) for base-station nodes (HA & FA).
set HA [$ns_ node 1.0.0]
$HA random-motion 0
$HA set X_ [expr $opt(x)/2-50]
$HA set Y_ [expr $opt(y)/2-50]
$HA set Z_ 0.000000000000

set FA [$ns_ node 2.0.0]

$FA random-motion 0
$ns_ at 0.0 "$HA label HA"
$ns_ at 0.0 "$FA label FA"

$FA set X_ [expr $opt(x)/2+50]
$FA set Y_ [expr $opt(y)/2-50]
$FA set Z_ 0.000000000000

 but in nam, only FA base station is at the specified location HA position is 
varying if link delay changes .
 i don't know how it is happening so please help me to set the positions of 
base stations  
thanks in advance 

Reply via email to