[ns] scenario file
Zakia Khalfallah
zakia_khalfallah at hotmail.fr
Tue Jun 7 05:50:16 PDT 2011
Hi friends,
I'm simulating urban Vanet traffic . i have a correct
scenario file for real traces of the mobility that i found in a sure
site.
The problem that NS detect an error when reading the two command "switch OFF" and "switch ON" ( a part of the file is below).
They are never used in a classical NS scenario file.
So, how can integrate them in the NS code ? and in which file ( .cc , .tcl etc ...) ?
Did someone encounter the same problem or have an idea and can help me please?
Thank you,
$ns_ at 0.0 "$node_(0) switch OFF" ;# set_X,Y,Z
$node_(0) set X_ 0.000000
$node_(0) set Y_ 0.000000
$node_(0) set Z_ 0.0
$ns_ at 0.000000 "$node_(0) setdest 2763.122123 1004.967441 1000000000.000000" ;# init_node
$ns_ at 0.010000 "$node_(0) switch ON" ;# inside
$ns_ at 0.010000 "$node_(0) setdest 2734.639531 1026.382130 13.844272" ;#
More information about the Ns-users
mailing list