next up previous contents index
Next: 15.1.7.2 Generating traffic pattern Up: 15.1.7 Generation of node-movement Previous: 15.1.7 Generation of node-movement

   
15.1.7.1 MobileNode Movement

Some examples of node movement files may be found in tcl/mobility/scene/scen-670x670-50-600-20-*. These files define a topology of 670 by 670m where 50 nodes move with a speed of 20m/s with pause time of 600s. each node is assigned a starting position. The information regarding number of hops between the nodes is fed to the central object "GOD" (XXX but why/where is this information used??-answer awaited from CMU.) Next each node is a speed and a direction to move to.

The generator for creating node movement files are to be found under indep-utils/cmu-scen-gen/setdest/ directory. Compile the files under setdest to create an executable. run setdest with arguments in the following way:

./setdest -n \ -p \ -s \ -t \
          -x \ -y \ \> \/\
Note that the index used for nodes now start from 0 instead of 1 as was in the original CMU version, to match with 's tradition of assigning node indices from 0.




2000-08-24