I already tryed but haven't. I am try to make, however occurs the following error: " node 1 not definded... node 2 not defined...node 3 not defined..." my function that define nodes is: for {set i 0} {$i < $val(nn) } {incr i} { set node_($i) [$ns_ node] $node_($i) random-motion 0 ;# disable random motion }
and position initial modilenodes is: $node_(0) set X_ 5.0 $node_(0) set Y_ 2.0 $node_(0) set Z_ 0.0 $node_(1) set X_ 490.0 $node_(1) set Y_ 285.0 $node_(1) set Z_ 0.0 $node_(2) set X_ 150.0 $node_(2) set Y_ 240.0 $node_(2) set Z_ 0.0 $node_(3) set X_ 105.0 $node_(3) set Y_ 210.0 $node_(3) set Z_ 0.0 Need something more to define node statics? thanks 2009/4/16 Luís Barreto <lmcbarr...@gmail.com>: > HI, > > You can find one in the ns directory, in ns-xxx/tcl/ex! > > Where xxx is the version! > > Regards, > > Luís > > On Thu, Apr 16, 2009 at 2:02 PM, Gisane Michelon <gisan...@gmail.com> wrote: >> >> Somedoby has um simple example of simulation static wireless network ? >> Already tried very but didn't find. >> Ane >> > > -- Gisane A. Michelon Prof. Ms. Assistente A Departamento de Ciência da Computação - DECOMP Universidade Estadual do Centro-Oeste - UNICENTRO