Contact sensor plugin.
More...
#include <ContactSensorPlugin.hh>
|
| bool | inContact (std::string &name) |
| | Returns if sensor is in contact with given collision model. More...
|
| |
| bool inContact |
( |
std::string & |
name | ) |
|
|
private |
Returns if sensor is in contact with given collision model.
- Parameters
-
| name | Name of collision to test |
- Returns
- Whether sensor is in contact with collision model
| void Load |
( |
sensors::SensorPtr |
_sensor, |
|
|
sdf::ElementPtr |
_sdf |
|
) |
| |
|
virtual |
Loads the plugin.
- Parameters
-
| _sensor | The sensor pointer |
| _sdf | The sdf element pointer |
Callback function for handling incoming requests.
- Parameters
-
Updates model on world update.
Class with private attributes.
| sensors::ContactSensorPtr sensor |
|
private |
Sensor to which the plugin is attached.
| event::ConnectionPtr update_connection |
|
private |
Connection to world update event.
The documentation for this class was generated from the following files: