Tetrapod Project
|
A plugin for the contact sensors. More...
#include <contact_plugin.h>
Public Member Functions | |
ContactPlugin () | |
Constructor. More... | |
virtual | ~ContactPlugin () |
Destructor. More... | |
virtual void | Load (sensors::SensorPtr _sensor, sdf::ElementPtr _sdf) |
Load the sensor plugin. More... | |
Private Member Functions | |
virtual void | OnUpdate () |
Callback that receives the contact sensor's update signal. More... | |
Private Attributes | |
sensors::ContactSensorPtr | parentSensor |
Pointer to the contact sensor. More... | |
event::ConnectionPtr | updateConnection |
Connection that maintains a link between the contact sensor's updated signal and the OnUpdate callback. More... | |
A plugin for the contact sensors.
Definition at line 39 of file contact_plugin.h.
gazebo::ContactPlugin::ContactPlugin | ( | ) |
Constructor.
Definition at line 36 of file contact_plugin.cpp.
|
virtual |
Destructor.
Definition at line 40 of file contact_plugin.cpp.
|
virtual |
Load the sensor plugin.
[in] | _sensor | Pointer to the sensor that loaded this plugin. |
[in] | _sdf | SDF element that describes the plugin. |
Definition at line 44 of file contact_plugin.cpp.
|
privatevirtual |
Callback that receives the contact sensor's update signal.
Definition at line 66 of file contact_plugin.cpp.
|
private |
Pointer to the contact sensor.
Definition at line 56 of file contact_plugin.h.
|
private |
Connection that maintains a link between the contact sensor's updated signal and the OnUpdate callback.
Definition at line 60 of file contact_plugin.h.