[ns] How to disable a mobileNode's movement
Mubashir Rehmani
mshrehmani at gmail.com
Tue Nov 11 03:01:48 PST 2008
Hi Mathiew
Just include this line in your tcl script to disable motion of mobile nodes:
$ns at 0.0 "$node_($i) random-motion 0"; # disable random motion
Regards
Mubashir Husain Rehmani
Lip6, UPMC, Paris, France.
2008/11/11 Mathiew Moussa <mmm59 at aub.edu.lb>
>
> Hello,
>
> If i have an implementation that uses NS2's mobileNode's
> implementation and i decided that without changing the whole class i
> just want to make all the mobileNode NOT move.
>
> How does one do that, do you change the speed to ZERO ???
>
> Thanks,
> Mathiew
>
>
>
--
Mubashir Husain Rehmani
More information about the Ns-users
mailing list