Node Mobility Settings in TCL

  • 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