List of Topics:
Research Breakthrough Possible @S-Logix pro@slogix.in

Office Address

Social List

How to set mobility of the node in NS2?

  • Node movement in tcl can be set using the following command

    $ns at 2.0 "$node_(0) setdest 300 100 50"

  • 300= target x location, 100= target y location, 50=speed in m/s
  • At 2.0 node_(0) starts to move to the location (300,100) from its current