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

#include <gazebo_model_attachment_plugin.h>

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

Public Member Functions

 ModelAttachmentPlugin ()
 
virtual ~ModelAttachmentPlugin ()
 

Protected Member Functions

void Load (physics::WorldPtr world, sdf::ElementPtr sdf)
 

Private Member Functions

void attach (const std::string &joint_name, physics::ModelPtr m1, physics::ModelPtr m2, physics::LinkPtr l1, physics::LinkPtr l2)
 
bool attachCallback (gazebo_model_attachment_plugin::Attach::Request &req, gazebo_model_attachment_plugin::Attach::Response &res)
 
void detach (const std::string &joint_name, physics::ModelPtr m1, physics::ModelPtr m2)
 
bool detachCallback (gazebo_model_attachment_plugin::Detach::Request &req, gazebo_model_attachment_plugin::Detach::Response &res)
 

Private Attributes

ros::ServiceServer attach_srv_
 
ros::ServiceServer detach_srv_
 
ros::NodeHandle nh_
 
physics::WorldPtr world_
 

Detailed Description

Definition at line 23 of file gazebo_model_attachment_plugin.h.

Constructor & Destructor Documentation

◆ ModelAttachmentPlugin()

gazebo::ModelAttachmentPlugin::ModelAttachmentPlugin ( )

Definition at line 12 of file gazebo_model_attachment_plugin.cpp.

◆ ~ModelAttachmentPlugin()

gazebo::ModelAttachmentPlugin::~ModelAttachmentPlugin ( )
virtual

Definition at line 16 of file gazebo_model_attachment_plugin.cpp.

Member Function Documentation

◆ attach()

void gazebo::ModelAttachmentPlugin::attach ( const std::string &  joint_name,
physics::ModelPtr  m1,
physics::ModelPtr  m2,
physics::LinkPtr  l1,
physics::LinkPtr  l2 
)
private

Definition at line 155 of file gazebo_model_attachment_plugin.cpp.

◆ attachCallback()

bool gazebo::ModelAttachmentPlugin::attachCallback ( gazebo_model_attachment_plugin::Attach::Request &  req,
gazebo_model_attachment_plugin::Attach::Response &  res 
)
private

Definition at line 31 of file gazebo_model_attachment_plugin.cpp.

◆ detach()

void gazebo::ModelAttachmentPlugin::detach ( const std::string &  joint_name,
physics::ModelPtr  m1,
physics::ModelPtr  m2 
)
private

Definition at line 185 of file gazebo_model_attachment_plugin.cpp.

◆ detachCallback()

bool gazebo::ModelAttachmentPlugin::detachCallback ( gazebo_model_attachment_plugin::Detach::Request &  req,
gazebo_model_attachment_plugin::Detach::Response &  res 
)
private

Definition at line 105 of file gazebo_model_attachment_plugin.cpp.

◆ Load()

void gazebo::ModelAttachmentPlugin::Load ( physics::WorldPtr  world,
sdf::ElementPtr  sdf 
)
protected

Definition at line 21 of file gazebo_model_attachment_plugin.cpp.

Member Data Documentation

◆ attach_srv_

ros::ServiceServer gazebo::ModelAttachmentPlugin::attach_srv_
private

Definition at line 46 of file gazebo_model_attachment_plugin.h.

◆ detach_srv_

ros::ServiceServer gazebo::ModelAttachmentPlugin::detach_srv_
private

Definition at line 47 of file gazebo_model_attachment_plugin.h.

◆ nh_

ros::NodeHandle gazebo::ModelAttachmentPlugin::nh_
private

Definition at line 45 of file gazebo_model_attachment_plugin.h.

◆ world_

physics::WorldPtr gazebo::ModelAttachmentPlugin::world_
private

Definition at line 34 of file gazebo_model_attachment_plugin.h.


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


boeing_gazebo_model_attachment_plugin
Author(s): Boeing
autogenerated on Fri Dec 15 2023 03:43:22