Breadcrumbs.hh
uint64_t Entity
An Entity identifies a single object in simulation such as a model, link, or light....
Definition: gz/sim/Entity.hh:59
This library is part of the Ignition Robotics project.
The EntityComponentManager constructs, deletes, and returns components and entities....
Definition: gz/sim/EntityComponentManager.hh:65
This class provides wrappers around entities and components which are more convenient and straight-fo...
Definition: gz/sim/Model.hh:60
Breadcrumbs()=default
Constructor.
bool MakeStatic(Entity _entity, EntityComponentManager &_ecm)
Make an entity static.
The EventManager is used to send/receive notifications of simulator events.
Definition: gz/sim/EventManager.hh:50
Information passed to systems on the update callback.
Definition: include/gz/sim/Types.hh:37
const Entity kNullEntity
Indicates a non-existant or invalid Entity.
Definition: gz/sim/Entity.hh:62
A system for creating Breadcrumbs in the form of models that can get deployed/spawned at the location...
Definition: Breadcrumbs.hh:84
Interface for a system that uses the PreUpdate phase.
Definition: gz/sim/System.hh:105
Component< NoData, class ModelTag > Model
A component that identifies an entity as being a model.
Definition: gz/sim/components/Model.hh:35
Interface for a system that implements optional configuration.
Definition: gz/sim/System.hh:88
Entity worldEntity(const Entity &_entity, const EntityComponentManager &_ecm)
Get the world to which the given entity belongs.
std::unique_ptr< SdfEntityCreator > creator
Creator interface.
Definition: Breadcrumbs.hh:125
transport::Node::Publisher remainingPub
Publishes remaining deployments.
Definition: Breadcrumbs.hh:167
STL class.
STL class.
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.