Tesseract
Motion Planning Environment
|
This is a wrapper around FCL Collision Object Class which allows you to expand the AABB by the contact dist. More...
#include <fcl_collision_object_wrapper.h>
Public Member Functions | |
void | setContactDistanceThreshold (double contact_distance) |
Set the collision objects contact distance threshold. More... | |
double | getContactDistanceThreshold () const |
Get the collision objects contact distance threshold. More... | |
void | updateAABB () |
Update the internal AABB. This must be called instead of the base class computeAABB(). More... | |
Protected Attributes | |
double | contact_distance_ { 0 } |
The contact distance threshold. More... | |
This is a wrapper around FCL Collision Object Class which allows you to expand the AABB by the contact dist.
This significantly improves performance when making distance requests if performing a contact tests type FIRST.
double tesseract_collision::tesseract_collision_fcl::FCLCollisionObjectWrapper::getContactDistanceThreshold | ( | ) | const |
Get the collision objects contact distance threshold.
void tesseract_collision::tesseract_collision_fcl::FCLCollisionObjectWrapper::setContactDistanceThreshold | ( | double | contact_distance | ) |
Set the collision objects contact distance threshold.
This automatically calls updateAABB() which increases the AABB by the contact distance.
contact_distance | The contact distance threshold. |
void tesseract_collision::tesseract_collision_fcl::FCLCollisionObjectWrapper::updateAABB | ( | ) |
Update the internal AABB. This must be called instead of the base class computeAABB().
After setting the collision objects transform this must be called.
|
protected |
The contact distance threshold.