21 #ifndef _GAZEBO_OBJECT_DISPOSAL_PLUGIN_HH_ 22 #define _GAZEBO_OBJECT_DISPOSAL_PLUGIN_HH_ 27 #include <gazebo/common/Plugin.hh> 28 #include <gazebo/sensors/sensors.hh> 29 #include <gazebo/util/system.hh> 45 public:
virtual void Load(physics::ModelPtr _model, sdf::ElementPtr _sdf);
48 protected:
void OnUpdate(
const common::UpdateInfo &_info);
51 protected:
void ActOnContactingModels();
A plugin for a contact sensor attached to a model disposal unit.
bool centerOfGravityCheck
If true, only delete models if their CoG is within the bounding box of the link.