LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   MultiFace node in nist (https://www.linuxquestions.org/questions/linux-newbie-8/multiface-node-in-nist-4175556764/)

najat 10-21-2015 04:52 AM

MultiFace node in nist
 
1 Attachment(s)
Hello,
I'm trying to make the movement of multiface node random in nist package.
But it's always straight.
Kindly find attached the code.
Please help me.

najat 10-22-2015 12:33 AM

Can you help me?

knudfl 10-22-2015 06:36 AM

I guess you mean wifiwimax.tcl :
You are supposed to attach files as name.tcl.txt


? What's your command to run the example ?


-

najat 11-05-2015 03:21 PM

Hello,
I make the nodes move randomly but it didn't reach the destination that i set.
Code:

set iface2 [$ns node 3.0.1]                                            ;# node id is 8.       
$iface2  random-motion 1       
 $iface2  start
                                            ;# disable random motion
$iface2 base-station [AddrParams addr2id [$bstation802_16 node-addr]] ;#attach mn to basestation
$iface2 set X_ 250
$iface2 set Y_ 500
$iface2 set Z_ 0.0
s
# define node movement. We start from outside the coverage, cross it and leave.
$ns at 5 "$iface2  setdest $X_dst $Y_dst $speed"

.
Could you help to fix it


All times are GMT -5. The time now is 06:39 PM.