Breadcrumbs.hh
Go to the documentation of this file.
The EntityComponentManager constructs, deletes, and returns components and entities....
Definition: gz/sim/EntityComponentManager.hh:67
The EventManager is used to send/receive notifications of simulator events.
Definition: gz/sim/EventManager.hh:55
Interface for a system that implements optional configuration.
Definition: gz/sim/System.hh:90
Interface for a system that uses the PreUpdate phase.
Definition: gz/sim/System.hh:121
This class provides wrappers around entities and components which are more convenient and straight-fo...
Definition: gz/sim/Model.hh:60
A system for creating Breadcrumbs in the form of models that can get deployed/spawned at the location...
Definition: Breadcrumbs.hh:92
void PreUpdate(const gz::sim::UpdateInfo &_info, gz::sim::EntityComponentManager &_ecm) override
void Configure(const Entity &_entity, const std::shared_ptr< const sdf::Element > &_sdf, EntityComponentManager &_ecm, EventManager &_eventMgr) override
Configure the system.
std::string topic
Name of the deploy topic.
Definition: Breadcrumbs.hh:177
transport::Node::Publisher remainingPub
Publishes remaining deployments.
Definition: Breadcrumbs.hh:171
bool MakeStatic(Entity _entity, EntityComponentManager &_ecm)
Make an entity static.
Component< NoData, class ModelTag > Model
A component that identifies an entity as being a model.
Definition: gz/sim/components/Model.hh:125
const Entity kNullEntity
Indicates a non-existant or invalid Entity.
Definition: gz/sim/Entity.hh:61
Entity worldEntity(const Entity &_entity, const EntityComponentManager &_ecm)
Get the world to which the given entity belongs.
uint64_t Entity
An Entity identifies a single object in simulation such as a model, link, or light....
Definition: gz/sim/Entity.hh:58
Information passed to systems on the update callback.
Definition: include/gz/sim/Types.hh:39