Andrea, god is only used for statistical purposes. If you are interested in generating nodes movement simply use the 'setdest' command, ignoring god. E.g.
$ns_ at 10.0 "$node_(0) setdest X Y S" where X,Y are the coords of destination and S is the speed (in m/s). bye, Marco >----Messaggio originale---- >Da: [EMAIL PROTECTED] >Data: 24-giu-2006 10.59 AM >A: "ns-users"<ns-users@ISI.EDU> >Ogg: [ns] Movements in wireless scenario > > >Hi >I want to introduce movements in my wireless simulations (I'm using >UM-OLSR), and for large numbers of nodes and movements I'm using SETDEST ( >ns-2.29\indep-utils\cmu- scen-gen\setdest). An example of what this utility >makes is following: > >"$node_(12) set X_ 365.446284881986 >$node_(12) set Y_ 72.300575449718 >$node_(12) set Z_ 0.000000000000 >$god_ set-dist 0 1 16777215 >$god_ set-dist 0 2 16777215 >$god_ set-dist 0 3 16777215 >$god_ set-dist 0 4 16777215 >$god_ set-dist 0 5 16777215 >$god_ set- dist 0 6 16777215 >$god_ set-dist 0 7 16777215" > > >I don't know how to implement SETDEST's movement because I don't know how to >define "god_" variable, can you help me? > >Thank you very much, I'm sorry for my poor english. >Andrea >