Re: [ns] Node id_

2006-01-13 Thread Hajer FERJANI
Hi, To have the current positions of a node you need to do : MobileNode* mnode_; double x = 0.0,y = 0.0,z = 0.0; mnode_-getLoc(x, y, z); You should have mnode_ referencing to a node. For example, in my case I pass the node address to my agent in the tcl script and for this reason i defined a

[ns] Node id_

2006-01-10 Thread Christoph Schroth
Hi all, I actually have a very similar problem and also woul like to get to To know the current node I am in from the Interface Queue, for example. How can I find out the node id and other related data such as mobile node Position etc.? Thank you so much, Christoph