#5, First Floor, 4th Street , Dr. Subbarayan Nagar Kodambakkam, Chennai-600 024 pro@slogix.in

Office Address

  • #5, First Floor, 4th Street Dr. Subbarayan Nagar Kodambakkam, Chennai-600 024 Landmark : Samiyar Madam
  • 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