Hi,

I've managed to solve my problem I had yesterday and now I got wireless
nodes communicating with wired nodes :) Now I want my wireless nodes to
move around.

I am confused as to where the X and Y coordinates translate to with
relevance to the node for setdest command. It seems to bound the X and Y
values to (0,range of my topology grid). It also seems to correspond to
the actual X,Y values displayed in nam. I am very confused on the movement
command, for example, on a 500x500 topology, $ns at 4.5 "$mobile(1)
setdest 500 499 20" throws an error while $ns at 4.5 "$mobile(1) setdest
499 499 20" does not.
I also cannot have negative values either. I would simply like to have the
X, Y values go to the same position as specifying node X_ and Y_ values
for display purposes. I have read the manaul on this part and it has not
helped. To me it appears it sets the topology grid in the first quadrant
with 0,0 as the bottom left corner of the square. Could someone please
shed light on node movement?


Thank you

Reply via email to