[Ns-bugs] [Bug 461] New: RandomWaypointMobilityModel broken

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Wed Jan 7 09:38:21 PST 2009


http://www.nsnam.org/bugzilla/show_bug.cgi?id=461

           Summary: RandomWaypointMobilityModel broken
           Product: ns-3
           Version: ns-3-dev
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P5
         Component: mobility models
        AssignedTo: ns-bugs at isi.edu
        ReportedBy: mauro.tortonesi at unife.it
   Estimated Hours: 0.0


Dear NS3 developers,

my colleague Stefano Formaggi and I have found a couple of bugs in the
RandomWaypointMobilityModel code:

1) both the constructor and the DoSetPosition method forget to set m_event
2) the BeginWalk method forgets to call m_helper.Unpause ()

These bugs effectively break support for random waypoint mobility in ns3.

The patch in attachment fixes both problems. It applies on both ns-3.3 and
current ns-3-dev trunk.


Mauro Tortonesi


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Ns-bugs mailing list