Lr-wpan

25 views
Skip to first unread message

ayeesha...@gmail.com

unread,
May 25, 2021, 12:06:21 PM5/25/21
to ns-3-users
How to change the mobility model from constant position mobility model to random walk 2D model in lr-wpan data.cc.

Jack Higgins

unread,
Jun 21, 2023, 3:33:21 AM6/21/23
to ns-3-users
Hi Ayeesha,

A good way to start is too read the documentation.
Check the documentation on mobility :

If you are still unsure in how to use the mobility module,
I recommend you to compare the mobility of different examples.
Mobility can be set either using helpers or without them.

You can see an example of a gridMobility and 2 nodes set with a constant mobility (without helpers) in the
src/lr-wpan/examples/lr-wpan-bootstrap.cc

I hope this helps
Reply all
Reply to author
Forward
0 new messages