Public Member Functions | Protected Member Functions | Protected Attributes
gazebo::ObjectDisposalPlugin Class Reference

A plugin for a contact sensor attached to a model disposal unit. More...

#include <ObjectDisposalPlugin.hh>

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

List of all members.

Public Member Functions

virtual void Load (physics::ModelPtr _model, sdf::ElementPtr _sdf)
 Load the model plugin.
 ObjectDisposalPlugin ()
 Constructor.
virtual ~ObjectDisposalPlugin ()
 Destructor.

Protected Member Functions

void ActOnContactingModels ()
 Act on models that are ontop of the sensor's link.
void OnUpdate (const common::UpdateInfo &_info)
 Callback that receives the world update event.

Protected Attributes

bool centerOfGravityCheck
 If true, only delete models if their CoG is within the bounding box of the link.

Detailed Description

A plugin for a contact sensor attached to a model disposal unit.

Definition at line 34 of file ObjectDisposalPlugin.hh.


Constructor & Destructor Documentation

Constructor.

Definition at line 28 of file ObjectDisposalPlugin.cc.

Destructor.

Definition at line 33 of file ObjectDisposalPlugin.cc.


Member Function Documentation

Act on models that are ontop of the sensor's link.

Definition at line 59 of file ObjectDisposalPlugin.cc.

void ObjectDisposalPlugin::Load ( physics::ModelPtr  _model,
sdf::ElementPtr  _sdf 
) [virtual]

Load the model plugin.

Parameters:
[in]_modelPointer to the model that loaded this plugin.
[in]_sdfSDF element that describes the plugin.

Reimplemented from gazebo::SideContactPlugin.

Definition at line 41 of file ObjectDisposalPlugin.cc.

void ObjectDisposalPlugin::OnUpdate ( const common::UpdateInfo &  _info) [protected, virtual]

Callback that receives the world update event.

Reimplemented from gazebo::SideContactPlugin.

Definition at line 52 of file ObjectDisposalPlugin.cc.


Member Data Documentation

If true, only delete models if their CoG is within the bounding box of the link.

Definition at line 54 of file ObjectDisposalPlugin.hh.


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


osrf_gear
Author(s):
autogenerated on Mon Sep 5 2016 03:41:33