Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
gazebo::UmbilicalPlugin Class Reference

#include <UmbilicalPlugin.hh>

Inheritance diagram for gazebo::UmbilicalPlugin:
Inheritance graph
[legend]

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< UmbilicalModelumbilical
 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...
 

Detailed Description

Definition at line 60 of file UmbilicalPlugin.hh.

Constructor & Destructor Documentation

gazebo::UmbilicalPlugin::UmbilicalPlugin ( )

Destructor.

Definition at line 21 of file UmbilicalPlugin.cc.

gazebo::UmbilicalPlugin::~UmbilicalPlugin ( )

Constructor.

Definition at line 27 of file UmbilicalPlugin.cc.

Member Function Documentation

void gazebo::UmbilicalPlugin::Load ( physics::ModelPtr  _model,
sdf::ElementPtr  _sdf 
)
protectedvirtual

Load plugin and its configuration from sdf.

Definition at line 40 of file UmbilicalPlugin.cc.

void gazebo::UmbilicalPlugin::OnUpdate ( const common::UpdateInfo &  _info)
protectedvirtual

Update callback from simulation.

Definition at line 88 of file UmbilicalPlugin.cc.

void gazebo::UmbilicalPlugin::UpdateFlowVelocity ( ConstVector3dPtr &  _msg)
protected

Reads flow velocity topic.

Definition at line 80 of file UmbilicalPlugin.cc.

Member Data Documentation

gazebo::transport::SubscriberPtr gazebo::UmbilicalPlugin::flowSubscriber
protected

Subcriber to flow message.

Definition at line 90 of file UmbilicalPlugin.hh.

ignition::math::Vector3d gazebo::UmbilicalPlugin::flowVelocity
protected

Flow velocity vector read from topic.

Definition at line 93 of file UmbilicalPlugin.hh.

gazebo::physics::ModelPtr gazebo::UmbilicalPlugin::model
protected

Pointer to the model structure.

Definition at line 81 of file UmbilicalPlugin.hh.

gazebo::transport::NodePtr gazebo::UmbilicalPlugin::node
protected

Gazebo node.

Definition at line 87 of file UmbilicalPlugin.hh.

std::shared_ptr<UmbilicalModel> gazebo::UmbilicalPlugin::umbilical
protected

Pointer to UmbilicalModel used in this plugin.

Definition at line 96 of file UmbilicalPlugin.hh.

event::ConnectionPtr gazebo::UmbilicalPlugin::updateConnection
protected

Pointer to the update event connection.

Definition at line 78 of file UmbilicalPlugin.hh.

gazebo::physics::WorldPtr gazebo::UmbilicalPlugin::world
protected

Pointer to the world plugin.

Definition at line 84 of file UmbilicalPlugin.hh.


The documentation for this class was generated from the following files:


uuv_gazebo_plugins
Author(s): Musa Morena Marcusso Manhaes , Sebastian Scherer , Luiz Ricardo Douat
autogenerated on Thu Jun 18 2020 03:28:25