A contact between two collisions.
More...
#include <physics/physics.hh>
A contact between two collisions.
Each contact can consist of a number of contact points
gazebo::physics::Contact::Contact |
( |
| ) |
|
gazebo::physics::Contact::Contact |
( |
const Contact & |
_contact | ) |
|
Copy constructor.
- Parameters
-
virtual gazebo::physics::Contact::~Contact |
( |
| ) |
|
|
virtual |
std::string gazebo::physics::Contact::DebugString |
( |
| ) |
const |
Produce a debug string.
- Returns
- A string that contains the values of the contact.
void gazebo::physics::Contact::FillMsg |
( |
msgs::Contact & |
_msg | ) |
const |
Populate a msgs::Contact with data from this.
- Parameters
-
[out] | _msg | Contact message the will hold the data. |
Contact& gazebo::physics::Contact::operator= |
( |
const Contact & |
_contact | ) |
|
Operator =.
- Parameters
-
- Returns
- Reference to this contact
Contact& gazebo::physics::Contact::operator= |
( |
const msgs::Contact & |
_contact | ) |
|
Operator =.
- Parameters
-
[in] | _contact | msgs::Contact to copy. |
- Returns
- Reference to this contact
void gazebo::physics::Contact::Reset |
( |
| ) |
|
std::string gazebo::physics::Contact::collision1 |
Name of the first collision object.
std::string gazebo::physics::Contact::collision2 |
Name of the second collision object.
int gazebo::physics::Contact::count |
Length of all the arrays.
double gazebo::physics::Contact::depths[32] |
Array of force positions.
Time at which the contact occured.
Array of forces for the contact.
All forces and torques are relative to the center of mass of the respective links that the collision elments are attached to.
The documentation for this class was generated from the following file: