hi users,
I need to bind the velocity value of a node from the scenario file to my
code .cc

the scenario file contain:

$ns_ at 0.0 "$node_(0) setdest 300.59997471863574 1.0E-6 0.59997374"
$ns_ at 0.0 "$node_(1) setdest 300.000001 299.4000271067413 0.5999739"
$ns_ at 0.0 "$node_(2) setdest 300.000001 598.4000039400922 0.59999704"

 need the 0.599 (velocity of node 0) , 0. 0.5999739 for the node 1 , ... in
my .cc code.

Any suggestion

thx

Reply via email to