Bug 2382

Summary: Non-uniform behaviour in bounded mobility models
Product: ns-3 Reporter: Tommaso Pecorella <tommaso.pecorella>
Component: mobility modelsAssignee: ns-bugs <ns-bugs>
Status: PATCH WANTED ---    
Severity: trivial    
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   

Description Tommaso Pecorella 2016-04-21 19:52:30 EDT
As an example, RandomWalk2dMobilityModel and RandomDirection2dMobilityModel behaviour is completely different.

If you place a node outside the bounds of RandomDirection2dMobilityModel, it will move the node inside the bounds.
RandomWalk2dMobilityModel will thrown an assert.

We should have an uniform behaviour, users may get confused (and document the default behaviour)