Hi, all,

I am using the [new 802.11] from http://yans.inria.fr/ns-2-80211/ to
simulate.
I tried to use "setdest" in my tcl script, but I got some error message like
below:
==========================
ns: _o15 setdest 10.0 40.0 5.0:
    (_o15 cmd line 1)
    invoked from within
"_o15 cmd setdest 10.0 40.0 5.0"
    invoked from within
"catch "$self cmd $args" ret"
    invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
    (procedure "_o15" line 2)
    (SplitObject unknown line 2)
    invoked from within
"_o15 setdest 10.0 40.0 5.0"
============================

Then, I used for loop to call "set-position" function by second until the
node moves to the destination.
In this way, the node will move like jump to the destination, not smoothly.
Is there any way to make the node move smoothly to the destination,
especially in this new 802.11 model?

Thanks.

Yujen Cheng

Reply via email to