Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
tesseract_collision::ContactRequest Struct Reference

The ContactRequest struct. More...

#include <types.h>

Public Member Functions

 ContactRequest (ContactTestType type=ContactTestType::ALL)
 

Public Attributes

ContactTestType type = ContactTestType::ALL
 This controls the exit condition for the contact test type. More...
 
bool calculate_penetration = true
 This enables the calculation of penetration contact data if two objects are in collision. More...
 
bool calculate_distance = true
 This enables the calculation of distance data if two objects are within the contact threshold. More...
 
long contact_limit = 0
 This is used if the ContactTestType is set to LIMITED, where the test will exit when number of contacts reach this limit. More...
 
IsContactResultValidFn is_valid = nullptr
 This provides a user defined function approve/reject contact results. More...
 

Detailed Description

The ContactRequest struct.

Constructor & Destructor Documentation

◆ ContactRequest()

tesseract_collision::ContactRequest::ContactRequest ( ContactTestType  type = ContactTestType::ALL)

Member Data Documentation

◆ calculate_distance

bool tesseract_collision::ContactRequest::calculate_distance = true

This enables the calculation of distance data if two objects are within the contact threshold.

◆ calculate_penetration

bool tesseract_collision::ContactRequest::calculate_penetration = true

This enables the calculation of penetration contact data if two objects are in collision.

◆ contact_limit

long tesseract_collision::ContactRequest::contact_limit = 0

This is used if the ContactTestType is set to LIMITED, where the test will exit when number of contacts reach this limit.

◆ is_valid

IsContactResultValidFn tesseract_collision::ContactRequest::is_valid = nullptr

This provides a user defined function approve/reject contact results.

◆ type

ContactTestType tesseract_collision::ContactRequest::type = ContactTestType::ALL

This controls the exit condition for the contact test type.


The documentation for this struct was generated from the following files: