Error : Node::RandomSpeed()

Wednesday, April 14, 2010 9:56 PM Posted by naz
Labels:

Error when creating node movement for wireless scenario in ns2 using setdest tool.

Example:
  • ./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.
Solution:
  • Try to use -M instead of -s for speed

Comments (0)

Post a Comment