![]() |
Tesseract 0.28.4
|
Tesseract Collision utils. More...
#include <tesseract/collision/types.h>#include <tesseract/collision/contact_result_validator.h>#include <tesseract/common/contact_allowed_validator.h>Functions | |
| tesseract::common::ContactAllowedValidator::ConstPtr | tesseract::collision::combineContactAllowedValidators (tesseract::common::ContactAllowedValidator::ConstPtr original, tesseract::common::ContactAllowedValidator::ConstPtr override, ACMOverrideType type=ACMOverrideType::OR) |
| Combines two ContactAllowedValidator using the override type. | |
| template<typename ManagerType > | |
| void | tesseract::collision::applyContactAllowedValidatorOverride (ManagerType &manager, const tesseract::common::AllowedCollisionMatrix &acm, ACMOverrideType type) |
| Applies ACM to contact manager using override type. | |
| template<typename ManagerType > | |
| void | tesseract::collision::applyModifyObjectEnabled (ManagerType &manager, const std::unordered_map< std::string, bool > &modify_object_enabled) |
| Loops over the map and for every object string either enables or disables it based on the value (true=enable, false=disable) | |
Tesseract Collision utils.
| tesseract::common::ContactAllowedValidator::ConstPtr tesseract::collision::combineContactAllowedValidators | ( | tesseract::common::ContactAllowedValidator::ConstPtr | original, |
| tesseract::common::ContactAllowedValidator::ConstPtr | override, | ||
| ACMOverrideType | type = ACMOverrideType::OR |
||
| ) |
Combines two ContactAllowedValidator using the override type.
| original | Original ContactAllowedValidator. This will be returned if ACMOverrideType is None |
| override | Overriding ContactAllowedValidator. This will be returned if ACMOverrideType is ASSIGN |
| type | Override type used to combine the ContactAllowedValidator |
|
inline |
Applies ACM to contact manager using override type.
| manager | Manager whose ContactAllowedValidator will be overwritten |
| acm | ACM used to create ContactAllowedValidator |
| type | Determines how the two ContactAllowedValidator are combined |
|
inline |
Loops over the map and for every object string either enables or disables it based on the value (true=enable, false=disable)
| manager | Manager that will be modified |
| modify_object_enabled | Map of [key]:value = [object name]:disable or enable |