Classes | |
class | Object |
Class to store information about each object to be populated. More... | |
Public Attributes | |
transport::SubscriberPtr | activationSub |
Subscriber to the activation topic. | |
event::ConnectionPtr | connection |
Connection event. | |
common::Time | elapsedWhenPaused |
Elapsed time since "startTime" when the plugin is paused. | |
bool | enabled = false |
If true, the objects will start populating. | |
physics::EntityPtr | frame |
Link/model that the object poses use as their frame of reference. | |
std::vector< Object > | initialObjects |
Contains the entire collection of objects. This is used for inserting the objects in a cyclic way. | |
bool | loopForever = false |
When true, "objects" will be repopulated when the object queue is empty, creating an infinite supply of objects. | |
std::mutex | mutex |
Mutex to avoid race conditions. | |
transport::NodePtr | node |
Node for communication. | |
std::vector< Object > | objects |
Collection of objects to be spawned. | |
sdf::ElementPtr | sdf |
SDF pointer. | |
common::Time | startTime |
The time specified in the object is relative to this time. | |
physics::WorldPtr | world |
World pointer. |
Definition at line 41 of file PopulationPlugin.cc.
transport::SubscriberPtr gazebo::PopulationPluginPrivate::activationSub |
Subscriber to the activation topic.
Definition at line 107 of file PopulationPlugin.cc.
Connection event.
Definition at line 91 of file PopulationPlugin.cc.
common::Time gazebo::PopulationPluginPrivate::elapsedWhenPaused |
Elapsed time since "startTime" when the plugin is paused.
Definition at line 116 of file PopulationPlugin.cc.
bool gazebo::PopulationPluginPrivate::enabled = false |
If true, the objects will start populating.
Definition at line 110 of file PopulationPlugin.cc.
physics::EntityPtr gazebo::PopulationPluginPrivate::frame |
Link/model that the object poses use as their frame of reference.
Definition at line 101 of file PopulationPlugin.cc.
std::vector<Object> gazebo::PopulationPluginPrivate::initialObjects |
Contains the entire collection of objects. This is used for inserting the objects in a cyclic way.
Definition at line 88 of file PopulationPlugin.cc.
bool gazebo::PopulationPluginPrivate::loopForever = false |
When true, "objects" will be repopulated when the object queue is empty, creating an infinite supply of objects.
Definition at line 98 of file PopulationPlugin.cc.
std::mutex gazebo::PopulationPluginPrivate::mutex |
Mutex to avoid race conditions.
Definition at line 113 of file PopulationPlugin.cc.
transport::NodePtr gazebo::PopulationPluginPrivate::node |
Node for communication.
Definition at line 104 of file PopulationPlugin.cc.
std::vector<Object> gazebo::PopulationPluginPrivate::objects |
Collection of objects to be spawned.
Definition at line 84 of file PopulationPlugin.cc.
sdf::ElementPtr gazebo::PopulationPluginPrivate::sdf |
SDF pointer.
Definition at line 47 of file PopulationPlugin.cc.
common::Time gazebo::PopulationPluginPrivate::startTime |
The time specified in the object is relative to this time.
Definition at line 94 of file PopulationPlugin.cc.
physics::WorldPtr gazebo::PopulationPluginPrivate::world |
World pointer.
Definition at line 44 of file PopulationPlugin.cc.