[ns] problem in setdest.cc when using ./setdest command

siad lamri siad_lamri at yahoo.fr
Sun Jun 11 03:37:17 PDT 2006


  Hi all,
i'm working under ns-2.29 to simulate an ad hoc network of more than 50 nodes, using the OLSR routing protocol. so i've soem problems : 
  1. first OLSR isn't contained on the 2.29 version of ns, so i'm asking if someone know a link to downlaod it.
2. the second problem is how to compute collision rate (packet loss and packet errors) made on node.
  3. and finally, i've used ./setdest command generate nodes movement file but it give errors in setdest.cc file when running the setdest script (the command ./setdest). the error is something like this :
   
  error in setdest.cc at line 560
   
  Node::RandomSpeed()
 {
         speed = uniform() * MAXSPEED;
 
        assert(speed != 0.0);       // the problem is here
 }

  thank u in advance.
  sincerly siad


 __________________________________________________
Do You Yahoo!?
En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les messages non sollicités 
http://mail.yahoo.fr Yahoo! Mail 


More information about the Ns-users mailing list