Bugzilla – Bug 374
MobilityHelper::SetPositionAllocator overloading does not work ?
Last modified: 2008-10-10 05:26:02 UTC
I have not yet found a way to invoke the overloaded SetPositionAllocator method with multiple arguments from python. i.e., the following does not work: mobility.SetPositionAllocator ("ns3::RandomDiscPositionAllocator", "X", StringValue ("0.0"), "Y", StringValue ("0.0"), "Rho", StringValue ("Uniform:0:30")) Traceback (most recent call last): File "./examples/process-http-demo.py", line 120, in <module> main () File "./examples/process-http-demo.py", line 62, in main "Rho", StringValue ("Uniform:0:30")) TypeError: function takes exactly 1 argument (7 given)
*** This bug has been marked as a duplicate of bug 291 ***