Bug 461 - RandomWaypointMobilityModel broken
: RandomWaypointMobilityModel broken
Status: RESOLVED FIXED
: ns-3
mobility models
: ns-3-dev
: All All
: P1 major
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2009-01-07 12:38 EDT by
Modified: 2009-01-09 02:34 EDT (History)


Attachments
patch from mailing list (1.06 KB, patch)
2009-01-09 02:28 EDT, Mathieu Lacage
Details | Diff


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2009-01-07 12:38:21 EDT
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 From 2009-01-07 15:43:32 EDT -------
Assigned to the maintainer for review and application.
------- Comment #2 From 2009-01-09 02:27:13 EDT -------
There is no attachement ?
------- Comment #3 From 2009-01-09 02:28:42 EDT -------
Created an attachment (id=348) [details]
patch from mailing list
------- Comment #4 From 2009-01-09 02:34:45 EDT -------
thanks a lot ! 
changeset 752edcf2480b