#include <sr_gazebo_virtual_tactile_sensor.hpp>
|
void | callback (const gazebo_msgs::ContactsState &msg) |
|
shadowrobot::SrGazeboVirtualTactileSensor::SrGazeboVirtualTactileSensor |
( |
std::string |
name, |
|
|
std::string |
gazebo_topic |
|
) |
| |
shadowrobot::SrGazeboVirtualTactileSensor::~SrGazeboVirtualTactileSensor |
( |
| ) |
|
|
virtual |
void shadowrobot::SrGazeboVirtualTactileSensor::callback |
( |
const gazebo_msgs::ContactsState & |
msg | ) |
|
|
private |
Callback function called when a msg is received on the gazebo bumper topic.
- Parameters
-
msg | the message containing the contact data |
Definition at line 52 of file sr_gazebo_virtual_tactile_sensor.cpp.
double shadowrobot::SrGazeboVirtualTactileSensor::get_touch_data |
( |
| ) |
|
|
protectedvirtual |
bool shadowrobot::SrGazeboVirtualTactileSensor::touch_freshdata |
|
private |
boost::mutex shadowrobot::SrGazeboVirtualTactileSensor::touch_mutex |
|
private |
double shadowrobot::SrGazeboVirtualTactileSensor::touch_value |
|
private |
The documentation for this class was generated from the following files: