Re: [ns] calculate mobility by using the parameters in setdest

2006-04-24 Thread Hajer FERJANI
Hi, You must have the mnode_ variable really pointing to the mobile node associated to that agent. For example for me, I defined a tcl command that I called node that get's the node associates with the agent. I added the following to the command( ) method of my agent : if (argc == 3)

[ns] calculate mobility by using the parameters in setdest

2006-04-19 Thread www triste
Hello everybody i have a big probleme concerning mobility;i use setdest for generate a scenario,and i use v2 setdest -v 2 -n 50 -s 1 -m 1 -M 6 -t 50 -P 1 -p 3.0 -x 1000 -y 1000 in this case what is the value of mobility? please if it is possibile to calculate mobility,help me;thanks a