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

Gazebo model plugin class for underwater objects. More...

#include <AccelerationsTestPlugin.hh>

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

Public Member Functions

 AccelerationsTestPlugin ()
 Constructor. More...
 
virtual void Init ()
 
virtual void Load (gazebo::physics::ModelPtr _model, sdf::ElementPtr _sdf)
 
void Update (const gazebo::common::UpdateInfo &_info)
 Update the simulation state. More...
 
virtual ~AccelerationsTestPlugin ()
 Destructor. More...
 

Protected Member Functions

virtual void Connect ()
 Connects the update event callback. More...
 

Protected Attributes

Eigen::Vector6d last_w_v_w_b
 Velocity of link with respect to world frame in previous time step. More...
 
common::Time lastTime
 Time stamp of previous time step. More...
 
physics::LinkPtr link
 Link of test object. More...
 
gazebo::physics::ModelPtr model
 Pointer to the model structure. More...
 
gazebo::transport::NodePtr node
 Gazebo node. More...
 
ros::Publisher pub_accel_b_gazebo
 
ros::Publisher pub_accel_b_numeric
 
ros::Publisher pub_accel_w_gazebo
 
ros::Publisher pub_accel_w_numeric
 
gazebo::event::ConnectionPtr updateConnection
 Update event. More...
 
gazebo::physics::WorldPtr world
 Pointer to the world plugin. More...
 

Private Attributes

boost::scoped_ptr< ros::NodeHandlerosNode
 

Detailed Description

Gazebo model plugin class for underwater objects.

Definition at line 31 of file AccelerationsTestPlugin.hh.

Constructor & Destructor Documentation

gazebo::AccelerationsTestPlugin::AccelerationsTestPlugin ( )

Constructor.

Definition at line 37 of file AccelerationsTestPlugin.cc.

gazebo::AccelerationsTestPlugin::~AccelerationsTestPlugin ( )
virtual

Destructor.

Definition at line 42 of file AccelerationsTestPlugin.cc.

Member Function Documentation

void gazebo::AccelerationsTestPlugin::Connect ( )
protectedvirtual

Connects the update event callback.

Definition at line 213 of file AccelerationsTestPlugin.cc.

void gazebo::AccelerationsTestPlugin::Init ( )
virtual

Definition at line 105 of file AccelerationsTestPlugin.cc.

void gazebo::AccelerationsTestPlugin::Load ( gazebo::physics::ModelPtr  _model,
sdf::ElementPtr  _sdf 
)
virtual

Definition at line 52 of file AccelerationsTestPlugin.cc.

void gazebo::AccelerationsTestPlugin::Update ( const gazebo::common::UpdateInfo &  _info)

Update the simulation state.

Parameters
[in]_infoInformation used in the update event.

Definition at line 132 of file AccelerationsTestPlugin.cc.

Member Data Documentation

Eigen::Vector6d gazebo::AccelerationsTestPlugin::last_w_v_w_b
protected

Velocity of link with respect to world frame in previous time step.

Definition at line 78 of file AccelerationsTestPlugin.hh.

common::Time gazebo::AccelerationsTestPlugin::lastTime
protected

Time stamp of previous time step.

Definition at line 81 of file AccelerationsTestPlugin.hh.

physics::LinkPtr gazebo::AccelerationsTestPlugin::link
protected

Link of test object.

Definition at line 66 of file AccelerationsTestPlugin.hh.

gazebo::physics::ModelPtr gazebo::AccelerationsTestPlugin::model
protected

Pointer to the model structure.

Definition at line 60 of file AccelerationsTestPlugin.hh.

gazebo::transport::NodePtr gazebo::AccelerationsTestPlugin::node
protected

Gazebo node.

Definition at line 63 of file AccelerationsTestPlugin.hh.

ros::Publisher gazebo::AccelerationsTestPlugin::pub_accel_b_gazebo
protected

Definition at line 71 of file AccelerationsTestPlugin.hh.

ros::Publisher gazebo::AccelerationsTestPlugin::pub_accel_b_numeric
protected

Definition at line 72 of file AccelerationsTestPlugin.hh.

ros::Publisher gazebo::AccelerationsTestPlugin::pub_accel_w_gazebo
protected

Definition at line 74 of file AccelerationsTestPlugin.hh.

ros::Publisher gazebo::AccelerationsTestPlugin::pub_accel_w_numeric
protected

Definition at line 75 of file AccelerationsTestPlugin.hh.

boost::scoped_ptr<ros::NodeHandle> gazebo::AccelerationsTestPlugin::rosNode
private

Definition at line 69 of file AccelerationsTestPlugin.hh.

gazebo::event::ConnectionPtr gazebo::AccelerationsTestPlugin::updateConnection
protected

Update event.

Definition at line 54 of file AccelerationsTestPlugin.hh.

gazebo::physics::WorldPtr gazebo::AccelerationsTestPlugin::world
protected

Pointer to the world plugin.

Definition at line 57 of file AccelerationsTestPlugin.hh.


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


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