Public Member Functions | |
CollidingPoint () | |
CollidingPoint (const CollidingPoint &o) | |
Public Attributes | |
physics::CollisionPtr | collLink |
physics::CollisionPtr | collObj |
GzVector3 | force |
std::string | gripperName |
GzVector3 | objPos |
GzVector3 | pos |
int | sum |
Helper class to encapsulate a collision information. One contact has two bodies, and only the ones where one of the bodies is a gripper link are considered. Each contact consists of a *list* of forces with their own origin/position each (e.g. when the object and gripper are colliding at several places). The averages of each contact's force vectors along with their origins are *accumulated* in the given Vector3 pos and objects. The number of additions is stored in sum. This is to get the average force application over time between link and object.
Definition at line 386 of file GazeboGraspFix.cpp.
Definition at line 389 of file GazeboGraspFix.cpp.
gazebo::GazeboGraspFix::CollidingPoint::CollidingPoint | ( | const CollidingPoint & | o | ) | [inline] |
Definition at line 390 of file GazeboGraspFix.cpp.
physics::CollisionPtr gazebo::GazeboGraspFix::CollidingPoint::collLink |
Definition at line 405 of file GazeboGraspFix.cpp.
physics::CollisionPtr gazebo::GazeboGraspFix::CollidingPoint::collObj |
Definition at line 405 of file GazeboGraspFix.cpp.
Definition at line 408 of file GazeboGraspFix.cpp.
Definition at line 402 of file GazeboGraspFix.cpp.
Definition at line 416 of file GazeboGraspFix.cpp.
Definition at line 412 of file GazeboGraspFix.cpp.
Definition at line 421 of file GazeboGraspFix.cpp.