Hello everybody,
is it possible to allow ns-2 to use negative or zero co-ordinates for node
movement?

The tcl interpreter doesn't accept the following two lines of my scenario
file (and all the lines in which the node moves to a position with a
co-ordinate equal or less to zero)

$ns_ at 0 "$node(0) setdest 5.55022 0.0 0.480219"
$ns_ at 230 "$node(0) setdest -234.90047875034927 211.46188306483964 13.8323
"

If i correct the 0.0 value of the Y co-ordinate of the first line, or the -
234.90047875034927 of the X co-ordinate of the second line with some value
greather than 0 (for instance 0.001), everything goes fine.

So, any help on how tell to ns-2 to accept also negative and 0 values will
be appreciated.
Thank you very much.

-- 
Paolo Cencioni

Reply via email to