buildings: Update documentation for group mobility changes

This commit is contained in:
Tom Henderson
2021-09-14 21:27:13 -07:00
parent 997f6969ac
commit 2301cdfc09
3 changed files with 22 additions and 1 deletions

View File

@@ -61,7 +61,7 @@ us a note on ns-developers mailing list.</p>
<li>In class <b>ConfigStore</b>, a new Attribue <b>SaveDeprecated</b> allows to not save DEPRECATED Attributes. The default value is <b>false</b> (save DEPRECATED Attributes).</li>
<li>In class <b>TracedCallback</b>, a new function <b>IsEmpty</b> allows to know if the TracedCallback will call any callback.</li>
<li>A new specialization of std::hash for Ptr allows to use seamlessly Ptrs as keys in unordered_map and unordered_set.</li>
<li>A new <b>GroupMobilityHelper</b> mobility helper has been added to ease the configuration of group mobility (a form of hierarchical mobility in which multiple child mobility models move with reference to an underlying parent mobility model). A new example program and animation script are also added.</li>
<li>A new <b>GroupMobilityHelper</b> mobility helper has been added to ease the configuration of group mobility (a form of hierarchical mobility in which multiple child mobility models move with reference to an underlying parent mobility model). New example programs and animation scripts are also added to both the buildings and mobility modules.</li>
</ul>
<h2>Changes to existing API:</h2>
<ul>

View File

@@ -39,6 +39,7 @@ New user-visible features
- (core) Add std::hash<ns3::Ptr<T>> to allow seamless use of Ptr as key in unordered_maps.
- (wifi) Add support for 11ax MU EDCA Parameter Set.
- (mobility) Add GroupMobilityHelper and demonstrate its use with a new program that configures the Reference Point Group Mobility model for a number of nodes.
- (buildings) Add example program demonstrating group mobility with the buildings-aware random walk mobility model, and a script to animate the group motion.
Bugs fixed
----------

View File

@@ -86,6 +86,26 @@ using a simple random mobility over the whole simulation area in
presence of buildings might easily results in node moving in and out
of buildings, regardless of the presence of walls.
One dedicated buildings-aware mobility model is the
``RandomWalk2dOutdoorMobilityModel``. This class is similar to the
``RandomWalk2dMobilityModel`` but avoids placing the trajectory
on a path that would intersect a building wall. If a boundary
is encountered (either the bounding box or a building wall), the
model rebounds with a random direction and speed that ensures that
the trajectory stays outside the buildings. An example program
that demonstrates the use of this model is the
``src/buildings/examples/outdoor-random-walk-example.cc`` which
has an associated shell script to plot the traces generated.
Another example program demonstrates how this outdoor mobility
model can be used as the basis of a group mobility model, with
the outdoor buildings-aware model serving as the parent or
reference mobility model, and with additional nodes defining a
child mobility model providing the offset from the reference
mobility model. This example,
``src/buildings/example/outdoor-group-mobility-example.cc``,
also has an associated shell script
(``outdoor-group-mobility-animate.sh``) that can be used to generate
an animated GIF of the group's movement.
Place some nodes
****************