Plotting.hh
uint64_t Entity
An Entity identifies a single object in simulation such as a model, link, or light....
Definition: gz/sim/Entity.hh:58
This library is part of the Gazebo project.
STL class.
The EntityComponentManager constructs, deletes, and returns components and entities....
Definition: gz/sim/EntityComponentManager.hh:66
void RegisterChart(std::string _attribute, int _chart)
Add a registered chart to the attribute.
void LoadConfig(const tinyxml2::XMLElement *) override
void SetAttributeValue(std::string _attribute, const double &_value)
Set a value of specefic component attribute.
A container of the component data that keeps track of the registered attributes and update their valu...
Definition: Plotting.hh:43
void UnRegisterChartFromComponent(uint64_t _entity, uint64_t _typeId, std::string _attribute, int _chart)
Remove a chart from a specefic component attribute.
void Update(const ignition::gazebo::UpdateInfo &_info, ignition::gazebo::EntityComponentManager &_ecm) override
Update callback called every time the system is stepped. This is called at an Ignition transport thre...
Information passed to systems on the update callback.
Definition: include/gz/sim/Types.hh:38
PlotComponent(const std::string &_type, ignition::gazebo::Entity _entity, ComponentTypeId _typeId)
Constructor.
Physics data plotting handler that keeps track of the registered components, update them and update t...
Definition: Plotting.hh:98
STL class.
ignition::gazebo::Entity Entity()
Get the Component entity ID.
void UnRegisterChart(std::string _attribute, int _chart)
Remove a registered chart from the attribute.
std::string ComponentName(const uint64_t &_typeId)
Get Component Name based on its type Id.
bool HasCharts()
Check if any of the component attributes has any chart.
void RegisterChartToComponent(uint64_t _entity, uint64_t _typeId, std::string _type, std::string _attribute, int _chart)
Add a chart to a specefic component attribute.
void SetData(std::string _Id, const ignition::math::Vector3d &_vector)
Set the Component data of given id to the given vector.
std::map< std::string, std::shared_ptr< gz::gui::PlotData > > Data() const
Get all attributes of the component.
uint64_t ComponentTypeId
A unique identifier for a component type. A component type must be derived from components::BaseCompo...
Definition: include/gz/sim/Types.hh:90
Component< sdf::Physics, class PhysicsTag, serializers::PhysicsSerializer > Physics
A component type that contains the physics properties of the World entity.
Definition: include/gz/sim/components/Physics.hh:50