Bug 461

Summary: RandomWaypointMobilityModel broken
Product: ns-3 Reporter: Mauro Tortonesi <mauro.tortonesi>
Component: mobility modelsAssignee: Mathieu Lacage <mathieu.lacage>
Status: RESOLVED FIXED    
Severity: major    
Priority: P1    
Version: ns-3-dev   
Hardware: All   
OS: All   
Attachments: patch from mailing list

Description Mauro Tortonesi 2009-01-07 12:38:21 UTC
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
Comment 1 Rajib Bhattacharjea 2009-01-07 15:43:32 UTC
Assigned to the maintainer for review and application.
Comment 2 Mathieu Lacage 2009-01-09 02:27:13 UTC
There is no attachement ?
Comment 3 Mathieu Lacage 2009-01-09 02:28:42 UTC
Created attachment 348 [details]
patch from mailing list
Comment 4 Mathieu Lacage 2009-01-09 02:34:45 UTC
thanks a lot ! 
changeset 752edcf2480b