18 #ifndef __SWARM_TYPES_HH__
19 #define __SWARM_TYPES_HH__
26 #include <gazebo/common/Time.hh>
40 public: gazebo::physics::ModelPtr
model;
43 public: std::vector<std::pair<std::string, double> >
neighbors;
56 using SwarmMembership_M = std::map<std::string, std::shared_ptr<SwarmMember>>;
61 using SwarmMembershipPtr = std::shared_ptr<SwarmMembership_M>;
bool onOutage
Is this robot on outage?
Definition: SwarmTypes.hh:46
Definition: BooPlugin.hh:37
std::vector< std::pair< std::string, double > > neighbors
List of neighbors and comms probabilities for this robot.
Definition: SwarmTypes.hh:43
std::string name
Gazebo name used for this model.
Definition: SwarmTypes.hh:34
std::string address
Address of the robot. E.g.: 192.168.1.2.
Definition: SwarmTypes.hh:37
Class used to store information about a member of the Swarm.
Definition: SwarmTypes.hh:31
gazebo::physics::ModelPtr model
Model pointer.
Definition: SwarmTypes.hh:40
gazebo::common::Time onOutageUntil
When will the last outage finish?
Definition: SwarmTypes.hh:49