hello!
 how to visualize the movement of the mobile node  in nam? after
the creation of the nodes.on has exchange their positions with the command:
*$noeud($i) set X_ valx
$noeud($i) set Y_ valy*
 and it works but it is not visible with the level of the nam then one
tested with the order :
*$ns at [$ns now] "$noeud($i) setdest valx valy vitess"*
and the following error was received:
ns: _o10 setdest 50 20 9:
    (_o10 cmd line 1)
    invoked from within
"_o10 cmd setdest 50 20 9"
    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 "_o10" line 2)
    (SplitObject unknown line 2)
    invoked from within
"_o10 setdest 50 20 9"

one tried to make :
*$ns at [$ns now] "$noeud($i) set X_ valx"
$ns at [$ns now] "$noeud($i) set Y_ valy"*
**
 that does not work also then please help us it's urgent. how to make it? if
you can sent to us to make a script of creation of a node and it change
position and  that is visible in the nam.
regards

Reply via email to