-
Notifications
You must be signed in to change notification settings - Fork 16
Mobility
Atis Elsts edited this page Oct 1, 2020
·
1 revision
Two mobility models are supported in TSCH-Sim:
- Random waypoint mobility model: a node generates a random point in the mobility range and moves towards that point. Once the point is reached, the mode repeats the process.
- Line based mobility model: a node moves along a single line segment. Once one end of the segment is reached, the node starts moving backwards, towards the other end, and so on.
Different mobility parameters can be enabled for different node types. For example, single simulation may combine static nodes, slow randomly moving nodes, fast randomly moving nodes, and nodes moving along multiple predefined lines.
-
MOBILITY_MODEL
- The name of the mobility model. Available options: "Static", "Line", "RandomWaypoint". Default: "Static". -
MOBILITY_UPDATE_PERIOD_SEC
- How often to update mobile node positions? Simulation performance is affected by this setting: the shorter the period, the better the accuracy, but the slower the simulation. Positive number, default: 10. -
MOBILITY_RANGE_X
- The nodes move in two dimensions, x \in [0, MOBILITY_RANGE_X], y \in [0, MOBILITY_RANGE_Y]. Non-negative number, default: 300. -
MOBILITY_RANGE_Y
- Non-negative number, default: 300. -
MOBILITY_SPEED
- Speed of mobile nodes in meters per second. A number, default: 0.1