Class used to store information about the communication model. More...
#include <CommsModel.hh>
Public Member Functions | |
| CommsModel (SwarmMembershipPtr _swarm, gazebo::physics::WorldPtr _world, sdf::ElementPtr _sdf) | |
| Class constructor. More... | |
| virtual | ~CommsModel ()=default |
| Class destructor. More... | |
| void | Update () |
| Update the state of the communication model (outages, visibility between nodes and neighbors). More... | |
Class used to store information about the communication model.
| swarm::CommsModel::CommsModel | ( | SwarmMembershipPtr | _swarm, |
| gazebo::physics::WorldPtr | _world, | ||
| sdf::ElementPtr | _sdf | ||
| ) |
Class constructor.
| [in] | _swarm | Pointer to the swarm. |
| [in] | _world | Pointer to the Gazebo world. |
| [in] | _sdf | Pointer to the SDF element of the plugin. |
|
virtualdefault |
Class destructor.
| void swarm::CommsModel::Update | ( | ) |
Update the state of the communication model (outages, visibility between nodes and neighbors).