Contains parameters used to configure a contact manager before a series of contact checks. More...
#include <types.h>
Public Member Functions | |
ContactManagerConfig ()=default | |
ContactManagerConfig (double default_margin) | |
void | incrementMargins (double increment) |
Increment all margins by input amount. Useful for inflating or reducing margins. More... | |
bool | operator!= (const ContactManagerConfig &rhs) const |
bool | operator== (const ContactManagerConfig &rhs) const |
void | scaleMargins (double scale) |
Scale all margins by input value. More... | |
void | validate () const |
Check for errors and throw exception if they exist. More... | |
Public Attributes | |
tesseract_common::AllowedCollisionMatrix | acm |
Additional AllowedCollisionMatrix to consider for this collision check. More... | |
ACMOverrideType | acm_override_type { ACMOverrideType::NONE } |
Specifies how to combine the ContactAllowedValidator from acm with the one preset in the contact manager. More... | |
std::optional< double > | default_margin |
override the default contact margin More... | |
std::unordered_map< std::string, bool > | modify_object_enabled |
Each key is an object name. Objects will be enabled/disabled based on the value. Objects that aren't in the map are unmodified from the defaults. More... | |
CollisionMarginPairData | pair_margin_data |
Stores collision margin pair data. More... | |
CollisionMarginPairOverrideType | pair_margin_override_type { CollisionMarginPairOverrideType::NONE } |
Identify how the collision margin pair data should be applied to the contact manager. More... | |
Contains parameters used to configure a contact manager before a series of contact checks.
It should not contain information that is usually specific to a single contactTest such as CollisionObjectTransforms or specific to the way contactTests are carried out such as LVS parameters
|
default |
tesseract_collision::ContactManagerConfig::ContactManagerConfig | ( | double | default_margin | ) |
void tesseract_collision::ContactManagerConfig::incrementMargins | ( | double | increment | ) |
bool tesseract_collision::ContactManagerConfig::operator!= | ( | const ContactManagerConfig & | rhs | ) | const |
bool tesseract_collision::ContactManagerConfig::operator== | ( | const ContactManagerConfig & | rhs | ) | const |
void tesseract_collision::ContactManagerConfig::scaleMargins | ( | double | scale | ) |
void tesseract_collision::ContactManagerConfig::validate | ( | ) | const |
tesseract_common::AllowedCollisionMatrix tesseract_collision::ContactManagerConfig::acm |
ACMOverrideType tesseract_collision::ContactManagerConfig::acm_override_type { ACMOverrideType::NONE } |
std::optional<double> tesseract_collision::ContactManagerConfig::default_margin |
std::unordered_map<std::string, bool> tesseract_collision::ContactManagerConfig::modify_object_enabled |
CollisionMarginPairData tesseract_collision::ContactManagerConfig::pair_margin_data |
CollisionMarginPairOverrideType tesseract_collision::ContactManagerConfig::pair_margin_override_type { CollisionMarginPairOverrideType::NONE } |