[ns] Alternatives to "flatgrid"
tnelson at vt.edu
Tue Feb 19 11:33:13 PST 2008
I am trying to simulate a 3D simulation. ns2 has all mobile nodes and access
points depicted graphically via the use of x,y, and z coordinates, however I am
not sure how to simulate these correctly. I used the FreeSpace radio-propagation
model, which doesn't complain if you give your nodes a non-zero z coordinate,
but then I got unexpected results and again looked through my code.
I then realized that every simulation example I had seen has "$topo
load_flatgrid $opt(x) $opt(y)". Is there a way to load a 3D grid, rather than a
2D grid? If so, how is that done?
Thanks in advance.
Theresa Nelson - tnelson at vt.edu
M.S. Computer Engineering
Networks & Network Security
1330 Torg Hall, IT Security Lab
More information about the Ns-users