#include <ContactHandler.h>
Public Member Functions | |
ContactHandler () | |
bool | endOfSimulation () |
unsigned int | getObjectType () const |
void | handleSimulation () |
void | synchronize () |
~ContactHandler () | |
Protected Member Functions | |
void | _initialize () |
Protected Attributes | |
double | _acquisitionFrequency |
simFloat | _lastPublishedContact |
ros::Publisher | _pub |
The contact handler.
It reports the dynamic-engine-reported contacts between all scene objects on a topic called "contacts".
Definition at line 12 of file ContactHandler.h.
Definition at line 14 of file ContactHandler.cpp.
Definition at line 20 of file ContactHandler.cpp.
void ContactHandler::_initialize | ( | ) | [protected, virtual] |
Implements GenericObjectHandler.
Definition at line 85 of file ContactHandler.cpp.
bool ContactHandler::endOfSimulation | ( | ) | [virtual] |
Reimplemented from GenericObjectHandler.
Definition at line 119 of file ContactHandler.cpp.
unsigned int ContactHandler::getObjectType | ( | ) | const [virtual] |
Implements GenericObjectHandler.
Definition at line 23 of file ContactHandler.cpp.
void ContactHandler::handleSimulation | ( | ) | [virtual] |
Implements GenericObjectHandler.
Definition at line 31 of file ContactHandler.cpp.
void ContactHandler::synchronize | ( | ) | [virtual] |
Reimplemented from GenericObjectHandler.
Definition at line 27 of file ContactHandler.cpp.
double ContactHandler::_acquisitionFrequency [protected] |
Publisher frequency
Definition at line 53 of file ContactHandler.h.
simFloat ContactHandler::_lastPublishedContact [protected] |
Time of the last published contact.
Definition at line 58 of file ContactHandler.h.
ros::Publisher ContactHandler::_pub [protected] |
Publisher for the contact readings.
Definition at line 48 of file ContactHandler.h.