[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] How to view mobile nodes in nam



Hi,

I also don't understand why the mobile nodes overlapped
together in NAM, although in the movement scenario file,
X_, Y_ and Z_ have been initialized.

But I think the 20 is not the position, it's the radius
of the node size in your topology.

Wu

On Fri, 7 Dec 2001, Shivanajay Marwaha wrote:

>
> Hi,
> How to set the initial position for wireless nodes in NAM sricpt.
>
> In the example  ~ns/tcl/ex/wireless-pkt-demo.tcl it is set to 20. How is this value (20) calculated.
> And if it is position then it should be for X,Y &Z (should be 3 values).
>
> (Also in the procedure it (20) is called as node size and above this procedure it is commented as node position.)
>
> In my simulation I have set the same node position of 50 nodes and I get an error:
>
> class Animator: construstor failed: invalid command name ""
>
> Is there any doc. from where I can read the NAM support for Wireless simulations.
>
> Thanks,
> Shivanajay
>
> --- Di-Fa Chang <difac@usc.edu> wrote:
> > see ~ns/tcl/ex/wireless-test.tcl about how to
> > generate nam trace file.
> >
> > - difa
> >
> > On Wed, 21 Nov 2001, Shivanajay Marwaha wrote:
> >
> > > Hi,
> > > I am a new NS user. I am trying the examples given
> > in
> > > NS tutorial
> > > http://www.isi.edu/nsnam/ns/tutorial/
> > >
> > > In the wireless examples, there is no nam view
> > > generated. Does anyone know how to see the nam
> > view in
> > > it.
> > >
> > > Thanks,
> > > Shivanajay Marwaha
>
>
>
>
> ---------------------------------
> Do You Yahoo!?
> Send your FREE holiday greetings online at Yahoo! Greetings.