[ns] Scheduling problem using 'at' command
Sankar Subramanian Salvady
sankarasubramanian.s at gmail.com
Fri Jul 18 21:10:14 PDT 2008
Dear All,
I have a wireless node simulation in NS2 using 'at' command. It looks like
this. .
$ns_ at 323 "$nod_ setdest 8358.628906 13691.158203 15.023533"
$ns_ at 326.5 "$nod_ setdest 8328.832031 13647.843750 15.021062"
$ns_ at 330 "$nod_ setdest 8298.761719 13604.128906 15.159590"
$ns_ at 333.5 "$nod_ setdest 8268.960938 13560.804688 15.023993"
$ns_ at 337 "$nod_ setdest 8240.449219 13515.890625 15.199869"
However as I run the simulation, I see that the simulation starts
immediately ( the first 'at' command is supposed to start at 323 seconds
though) and all the events proceed immediately instead of having a space of
3.5 seconds.. I have not done any change to the Scheduler code , so I dont
see my changes interfering with the scheduler. Could some one please tell me
why this might be happening ?
Thanks
Sankar
More information about the Ns-users
mailing list