Bug 2494 - documentation on mobility model
documentation on mobility model
Status: NEW
Product: ns-3
Classification: Unclassified
Component: mobility models
unspecified
All All
: P5 enhancement
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-09-08 13:39 EDT by Tom Henderson
Modified: 2016-09-08 13:39 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Henderson 2016-09-08 13:39:49 EDT
This is a reminder to document our mobility models chapter better, including why this type of GetObject call is necessary.

    mobility = wifiStaNode.GetObject (ns.mobility.MobilityModel.GetTypeId ())
    pos = mobility.GetPosition ()
    # set pos.x etc.
    mobility.SetPosition (pos)