Bugzilla – Bug 1916
RandomWalk2dMobilityMode default "Bounds" attribute is not a rectangle
Last modified: 2014-05-21 15:05:21 UTC
Reported by Nissa Wang here: https://groups.google.com/forum/?hl=en#!topic/ns-3-users/RJvwo-Uwx7s The Bounds attribute default value is: .AddAttribute ("Bounds", "Bounds of the area to cruise.", RectangleValue (Rectangle (0.0, 0.0, 100.0, 100.0)), MakeRectangleAccessor (&RandomWalk2dMobilityModel::m_bounds), MakeRectangleChecker ()) However, the rectangle constructor is: Rectangle::Rectangle (double _xMin, double _xMax, double _yMin, double _yMax) As a consequence, the default "Bounds" attribute is a *point* (and the node will stand still).
yes on pushing the fix to ns-3-dev now before the release, as long as you test that it is really fixed this time.
changeset: 10786:52c7ca5d181f