Bugzilla – Bug 2166
SteadyStateRandomWaypointMobilityModel directs the node to the ground
Last modified: 2015-08-22 11:10:07 EDT
Created attachment 2114 [details] patch SteadyStateRandomWaypointMobilityModel is turning the nodes down. To the ground to be precise. The culprit is that the node's z position is not considered, and the model is ignoring it when calculating the new point to be reached. Since the new point is derived from RandomRectanglePositionAllocator (2D model), the Z axis value for the new point is zero. The alternatives are: 1) use a RandomBoxPositionAllocator (as in the attached patch), or 2) force the z position of the destination point to be the same as the one of the original point. The bug was reported here by Ziyi He. https://groups.google.com/forum/#!topic/ns-3-users/Z3I1aajP7RU
Fixed in changeset: 11612:47c1048095f0