Research breakthrough possible @S-Logix pro@slogix.in

Office Address

  • 2nd Floor, #7a, High School Road, Secretariat Colony Ambattur, Chennai-600053 (Landmark: SRM School) Tamil Nadu, India
  • pro@slogix.in
  • +91- 81240 01111

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