#include <UmbilicalPlugin.hh>
Public Member Functions | |
UmbilicalPlugin () | |
Destructor. More... | |
~UmbilicalPlugin () | |
Constructor. More... | |
Protected Member Functions | |
virtual void | Load (physics::ModelPtr _model, sdf::ElementPtr _sdf) |
Load plugin and its configuration from sdf. More... | |
virtual void | OnUpdate (const common::UpdateInfo &) |
Update callback from simulation. More... | |
void | UpdateFlowVelocity (ConstVector3dPtr &_msg) |
Reads flow velocity topic. More... | |
Protected Attributes | |
gazebo::transport::SubscriberPtr | flowSubscriber |
Subcriber to flow message. More... | |
ignition::math::Vector3d | flowVelocity |
Flow velocity vector read from topic. More... | |
gazebo::physics::ModelPtr | model |
Pointer to the model structure. More... | |
gazebo::transport::NodePtr | node |
Gazebo node. More... | |
std::shared_ptr< UmbilicalModel > | umbilical |
Pointer to UmbilicalModel used in this plugin. More... | |
event::ConnectionPtr | updateConnection |
Pointer to the update event connection. More... | |
gazebo::physics::WorldPtr | world |
Pointer to the world plugin. More... | |
Definition at line 60 of file UmbilicalPlugin.hh.
gazebo::UmbilicalPlugin::UmbilicalPlugin | ( | ) |
Destructor.
Definition at line 21 of file UmbilicalPlugin.cc.
gazebo::UmbilicalPlugin::~UmbilicalPlugin | ( | ) |
Constructor.
Definition at line 27 of file UmbilicalPlugin.cc.
|
protectedvirtual |
Load plugin and its configuration from sdf.
Definition at line 40 of file UmbilicalPlugin.cc.
|
protectedvirtual |
Update callback from simulation.
Definition at line 88 of file UmbilicalPlugin.cc.
|
protected |
Reads flow velocity topic.
Definition at line 80 of file UmbilicalPlugin.cc.
|
protected |
Subcriber to flow message.
Definition at line 90 of file UmbilicalPlugin.hh.
|
protected |
Flow velocity vector read from topic.
Definition at line 93 of file UmbilicalPlugin.hh.
|
protected |
Pointer to the model structure.
Definition at line 81 of file UmbilicalPlugin.hh.
|
protected |
Gazebo node.
Definition at line 87 of file UmbilicalPlugin.hh.
|
protected |
Pointer to UmbilicalModel used in this plugin.
Definition at line 96 of file UmbilicalPlugin.hh.
|
protected |
Pointer to the update event connection.
Definition at line 78 of file UmbilicalPlugin.hh.
|
protected |
Pointer to the world plugin.
Definition at line 84 of file UmbilicalPlugin.hh.