najmaismat@ubuntu:~/ns-allinone-2.29/ns-2.29/indep-utils/cmu-scen-gen/setdest$ ./setdest -v 1 -n 5 p 2.0 -s52.0 -t 60 -x 100 -y 100## nodes: 5, pause: 0.00, max speed: 0.00, max x: 100.00, max y: 100.00#$node_(0) set X_ 68.572913404360$node_(0) set Y_ 13.038846829925$node_(0) set Z_ 0.000000000000$node_(1) set X_ 84.128541918177$node_(1) set Y_ 82.494416148131$node_(1) set Z_ 0.000000000000$node_(2) set X_ 14.562919044189$node_(2) set Y_ 38.205968110552$node_(2) set Z_ 0.000000000000$node_(3) set X_ 41.413668709351$node_(3) set Y_ 34.787218560404$node_(3) set Z_ 0.000000000000$node_(4) set X_ 59.636714007807$node_(4) set Y_ 37.280814036357$node_(4) set Z_ 0.000000000000setdest: setdest.cc:595: void Node::RandomSpeed(): Assertion `speed != 0.0' failed.Aborted
ReplyDeletei tried to implement random way point mobility model in ns2.35 but i got the following error
dilip@dilip-pc:~/thesis/ns-allinone-2.35/ns-2.35/indep-utils/cmu-scen-gen/setdest$ "make"
make: Nothing to be done for `all'.
dilip@dilip-pc:~/thesis/ns-allinone-2.35/ns-2.35/indep-utils/cmu-scen-gen/setdest$ ./setdest -n 20 -p 2.0 -s 10.0 -t 200 -x 500 -y 500 > scen-20-test
setdest: setdest.cc:595: void Node::RandomSpeed(): Assertion `speed != 0.0' failed.
Aborted (core dumped)
dilip@dilip-pc:~/thesis/ns-allinone-2.35/ns-2.35/indep-utils/cmu-scen-gen/setdest$ ./setdest -n 20 -p 2.0 -s 10.0 -t 200 -x 500 -y 500 > scen-20-test
setdest: setdest.cc:595: void Node::RandomSpeed(): Assertion `speed != 0.0' failed.
Aborted (core dumped)
dilip@dilip-pc:~/thesis/ns-allinone-2.35/ns-2.35/indep-utils/cmu-scen-gen/setdest$
pls help me to solve the problem
thank u
dilip