Tesseract 0.28.4
Loading...
Searching...
No Matches
tesseract::collision::ContinuousContactManager Class Referenceabstract
Inheritance diagram for tesseract::collision::ContinuousContactManager:

Public Types

using Ptr = std::shared_ptr<ContinuousContactManager>
using ConstPtr = std::shared_ptr<const ContinuousContactManager>
using UPtr = std::unique_ptr<ContinuousContactManager>
using ConstUPtr = std::unique_ptr<const ContinuousContactManager>

Public Member Functions

 ContinuousContactManager (const ContinuousContactManager &)=delete
ContinuousContactManager & operator= (const ContinuousContactManager &)=delete
 ContinuousContactManager (ContinuousContactManager &&)=delete
ContinuousContactManager & operator= (ContinuousContactManager &&)=delete
virtual std::string getName () const =0
 Get the name of the contact manager.
virtual ContinuousContactManager::UPtr clone () const =0
 Clone the manager.
virtual bool addCollisionObject (const tesseract::common::LinkId &id, const int &mask_id, const CollisionShapesConst &shapes, const tesseract::common::VectorIsometry3d &shape_poses, bool enabled=true)=0
 Add a collision object to the checker.
virtual bool addCollisionObjects (const std::vector< CollisionObjectSpec > &objects)
 Add a batch of collision objects, applying one broadphase update per batch where the backend supports it.
virtual const CollisionShapesConst & getCollisionObjectGeometries (const tesseract::common::LinkId &id) const =0
 Get a collision objects collision geometries.
virtual const tesseract::common::VectorIsometry3d & getCollisionObjectGeometriesTransforms (const tesseract::common::LinkId &id) const =0
 Get a collision objects collision geometries transforms.
virtual bool hasCollisionObject (const tesseract::common::LinkId &id) const =0
 Find if a collision object already exists.
virtual bool removeCollisionObject (const tesseract::common::LinkId &id)=0
 Remove an object from the checker.
virtual bool removeCollisionObjects (const std::vector< tesseract::common::LinkId > &ids)
 Remove a batch of collision objects, applying one broadphase and cache update per batch where the backend supports it.
virtual bool enableCollisionObject (const tesseract::common::LinkId &id)=0
 Enable an object.
virtual bool disableCollisionObject (const tesseract::common::LinkId &id)=0
 Disable an object.
virtual bool isCollisionObjectEnabled (const tesseract::common::LinkId &id) const =0
 Check if collision object is enabled.
virtual bool setCollisionObjectsEnabled (const std::unordered_map< tesseract::common::LinkId, bool > &enabled)
 Enable or disable a batch of collision objects, applying one broadphase update per batch where the backend supports it.
bool setCollisionObjectsEnabled (const std::vector< tesseract::common::LinkId > &ids, bool enabled)
 Enable or disable a batch of collision objects that all take the same state.
virtual void setCollisionObjectsTransform (const tesseract::common::LinkId &id, const Eigen::Isometry3d &pose)=0
 Set a single collision object's transform.
virtual Eigen::Isometry3d getCollisionObjectsTransform (const tesseract::common::LinkId &id) const =0
 Get the world transform of a single collision object.
virtual void setCollisionObjectsTransform (const tesseract::common::LinkIdTransformMap &transforms)=0
 Set a series of collision object's transforms using integer link IDs.
virtual void setCollisionObjectsTransform (const std::vector< tesseract::common::LinkId > &ids, const tesseract::common::VectorIsometry3d &poses)
 Set a series of collision object's transforms.
virtual void setCollisionObjectsTransform (const std::unordered_set< tesseract::common::LinkId > &ids, const tesseract::common::LinkIdTransformMap &state)
 Set the transforms of a set of collision objects from a transform map.
virtual void setCollisionObjectsTransform (const std::vector< tesseract::common::LinkId > &ids, const tesseract::common::LinkIdTransformMap &state)
 Set the transforms of a list of collision objects from a transform map.
virtual void setCollisionObjectsTransform (const tesseract::common::LinkId &id, const Eigen::Isometry3d &pose1, const Eigen::Isometry3d &pose2)=0
 Set a single cast(moving) collision object's transforms.
virtual void setCollisionObjectsTransform (const tesseract::common::LinkIdTransformMap &pose1, const tesseract::common::LinkIdTransformMap &pose2)=0
 Set a series of cast(moving) collision object's transforms.
virtual void setCollisionObjectsTransform (const std::vector< tesseract::common::LinkId > &ids, const tesseract::common::VectorIsometry3d &pose1, const tesseract::common::VectorIsometry3d &pose2)
 Set a series of cast(moving) collision object's transforms.
virtual void setCollisionObjectsTransform (const std::unordered_set< tesseract::common::LinkId > &ids, const tesseract::common::LinkIdTransformMap &state0, const tesseract::common::LinkIdTransformMap &state1)
 Set the start and end transforms of a set of collision objects from two transform maps.
virtual void setCollisionObjectsTransform (const std::vector< tesseract::common::LinkId > &ids, const tesseract::common::LinkIdTransformMap &state0, const tesseract::common::LinkIdTransformMap &state1)
 Set the start and end transforms of a list of collision objects from two transform maps.
virtual const std::vector< tesseract::common::LinkId > & getCollisionObjects () const =0
 Get all collision objects.
virtual void setActiveCollisionObjects (const std::unordered_set< tesseract::common::LinkId > &ids)=0
 Set which collision objects can move.
virtual void setActiveCollisionObjects (const std::vector< tesseract::common::LinkId > &ids)
 Set which collision objects can move by vector (delegates to set overload).
virtual void setActiveCollisionObjects (std::initializer_list< tesseract::common::LinkId > ids)
 Set which collision objects can move by initializer list (delegates to set overload).
virtual const std::unordered_set< tesseract::common::LinkId > & getActiveCollisionObjects () const =0
 Get which collision objects can move.
virtual void setCollisionMarginData (CollisionMarginData collision_margin_data)=0
 Set the contact distance threshold.
virtual const CollisionMarginData & getCollisionMarginData () const =0
 Get the contact distance threshold.
virtual void setCollisionMarginPairData (const CollisionMarginPairData &pair_margin_data, CollisionMarginPairOverrideType override_type=CollisionMarginPairOverrideType::REPLACE)=0
 Set the pair contact distance thresholds for which collision should be considered on a per pair basis.
virtual void setDefaultCollisionMargin (double default_collision_margin)=0
 Set the default collision margin.
virtual void setCollisionMarginPair (const tesseract::common::LinkId &id1, const tesseract::common::LinkId &id2, double collision_margin)=0
 Set the margin for a given contact pair.
virtual void incrementCollisionMargin (double increment)=0
 Increment the collision margin data by some value.
virtual void setContactAllowedValidator (std::shared_ptr< const tesseract::common::ContactAllowedValidator > validator)=0
 Set the active function for determining if two links are allowed to be in collision.
virtual std::shared_ptr< const tesseract::common::ContactAllowedValidator > getContactAllowedValidator () const =0
 Get the active function for determining if two links are allowed to be in collision.
virtual void contactTest (ContactResultMap &collisions, const ContactRequest &request)=0
 Perform a contact test for all objects based.
virtual void applyContactManagerConfig (const ContactManagerConfig &config)
 Applies settings in the config.

Member Function Documentation

◆ getName()

virtual std::string tesseract::collision::ContinuousContactManager::getName ( ) const
pure virtual

Get the name of the contact manager.

Returns
The name

Implemented in tesseract::collision::BulletCastBVHManager, and tesseract::collision::BulletCastSimpleManager.

◆ clone()

virtual ContinuousContactManager::UPtr tesseract::collision::ContinuousContactManager::clone ( ) const
pure virtual

Clone the manager.

This is to be used for multi threaded application. A user should make a clone for each thread.

Implemented in tesseract::collision::BulletCastBVHManager, and tesseract::collision::BulletCastSimpleManager.

◆ addCollisionObject()

virtual bool tesseract::collision::ContinuousContactManager::addCollisionObject ( const tesseract::common::LinkId & id,
const int & mask_id,
const CollisionShapesConst & shapes,
const tesseract::common::VectorIsometry3d & shape_poses,
bool enabled = true )
pure virtual

Add a collision object to the checker.

All objects are added should initially be added as static objects. Use the setContactRequest method of defining which collision objects are moving.

Parameters
idThe LinkId of the object, must be unique.
mask_idUser defined id which gets stored in the results structure.
shapesA vector of shapes that make up the collision object.
shape_posesA vector of poses for each shape, must be same length as shapes
enabledIndicate if the object is enabled for collision checking.
Returns
true if successfully added, otherwise false.

Implemented in tesseract::collision::BulletCastBVHManager, and tesseract::collision::BulletCastSimpleManager.

◆ addCollisionObjects()

bool tesseract::collision::ContinuousContactManager::addCollisionObjects ( const std::vector< CollisionObjectSpec > & objects)
virtual

Add a batch of collision objects, applying one broadphase update per batch where the backend supports it.

Observably equivalent to calling addCollisionObject once per entry, in order. A false return still leaves every object that was added registered; only the failing ones are absent. Within one batch a repeated id behaves as the repeated single calls do: the last entry naming that id decides both the object and its position in getCollisionObjects(), and if that last entry fails the id is left unregistered even when an earlier entry for it succeeded. Equivalence covers returns, not throws: building an object may throw, and a backend that builds the whole batch before it mutates anything then leaves the manager untouched where the repeated single calls would have left the earlier entries applied.

Parameters
objectsThe objects to add
Returns
False if any object failed to be added

◆ getCollisionObjectGeometries()

virtual const CollisionShapesConst & tesseract::collision::ContinuousContactManager::getCollisionObjectGeometries ( const tesseract::common::LinkId & id) const
pure virtual

Get a collision objects collision geometries.

Parameters
idThe collision object's LinkId
Returns
A vector of collision geometries. The vector will be empty if the collision object is not found.

Implemented in tesseract::collision::BulletCastBVHManager, and tesseract::collision::BulletCastSimpleManager.

◆ getCollisionObjectGeometriesTransforms()

virtual const tesseract::common::VectorIsometry3d & tesseract::collision::ContinuousContactManager::getCollisionObjectGeometriesTransforms ( const tesseract::common::LinkId & id) const
pure virtual

Get a collision objects collision geometries transforms.

Parameters
idThe collision object's LinkId
Returns
A vector of collision geometries transforms. The vector will be empty if the collision object is not found.

Implemented in tesseract::collision::BulletCastBVHManager, and tesseract::collision::BulletCastSimpleManager.

◆ hasCollisionObject()

virtual bool tesseract::collision::ContinuousContactManager::hasCollisionObject ( const tesseract::common::LinkId & id) const
pure virtual

Find if a collision object already exists.

Parameters
idThe LinkId of the collision object
Returns
true if it exists, otherwise false.

Implemented in tesseract::collision::BulletCastBVHManager, and tesseract::collision::BulletCastSimpleManager.

◆ removeCollisionObject()

virtual bool tesseract::collision::ContinuousContactManager::removeCollisionObject ( const tesseract::common::LinkId & id)
pure virtual

Remove an object from the checker.

Parameters
idThe LinkId of the object
Returns
true if successfully removed, otherwise false.

Implemented in tesseract::collision::BulletCastBVHManager, and tesseract::collision::BulletCastSimpleManager.

◆ removeCollisionObjects()

bool tesseract::collision::ContinuousContactManager::removeCollisionObjects ( const std::vector< tesseract::common::LinkId > & ids)
virtual

Remove a batch of collision objects, applying one broadphase and cache update per batch where the backend supports it.

Observably equivalent to calling removeCollisionObject once per id, in order. Within one batch a repeated id behaves as the repeated single calls do: the first occurrence removes it and the second reports it absent.

Parameters
idsThe LinkIds to remove; ids the manager does not hold are skipped
Returns
False if any id was absent; every id that was present is still removed

Reimplemented in tesseract::collision::BulletCastBVHManager.

◆ enableCollisionObject()

virtual bool tesseract::collision::ContinuousContactManager::enableCollisionObject ( const tesseract::common::LinkId & id)
pure virtual

Enable an object.

Parameters
idThe LinkId of the object

Implemented in tesseract::collision::BulletCastBVHManager, and tesseract::collision::BulletCastSimpleManager.

◆ disableCollisionObject()

virtual bool tesseract::collision::ContinuousContactManager::disableCollisionObject ( const tesseract::common::LinkId & id)
pure virtual

Disable an object.

Parameters
idThe LinkId of the object

Implemented in tesseract::collision::BulletCastBVHManager, and tesseract::collision::BulletCastSimpleManager.

◆ isCollisionObjectEnabled()

virtual bool tesseract::collision::ContinuousContactManager::isCollisionObjectEnabled ( const tesseract::common::LinkId & id) const
pure virtual

Check if collision object is enabled.

Parameters
idThe LinkId of the object
Returns
True if enabled, otherwise false

Implemented in tesseract::collision::BulletCastBVHManager, and tesseract::collision::BulletCastSimpleManager.

◆ setCollisionObjectsEnabled() [1/2]

bool tesseract::collision::ContinuousContactManager::setCollisionObjectsEnabled ( const std::unordered_map< tesseract::common::LinkId, bool > & enabled)
virtual

Enable or disable a batch of collision objects, applying one broadphase update per batch where the backend supports it.

Observably equivalent to calling enableCollisionObject or disableCollisionObject once per entry. A map key occurs at most once, so there is no duplicate-id case.

Parameters
enabledMap of [link id] to true (enable) or false (disable); ids the manager does not hold are skipped
Returns
False if any id was absent; every id that was present is still applied

Reimplemented in tesseract::collision::BulletCastBVHManager.

◆ setCollisionObjectsEnabled() [2/2]

bool tesseract::collision::ContinuousContactManager::setCollisionObjectsEnabled ( const std::vector< tesseract::common::LinkId > & ids,
bool enabled )

Enable or disable a batch of collision objects that all take the same state.

Builds the map form's argument and forwards to it, so it carries that overload's contract exactly. It is not virtual: a backend customises the batch by overriding the map overload.

Parameters
idsThe link ids to enable or disable; ids the manager does not hold are skipped
enabledTrue to enable every named object, false to disable every named object
Returns
False if any id was absent; every id that was present is still applied

◆ setCollisionObjectsTransform() [1/10]

virtual void tesseract::collision::ContinuousContactManager::setCollisionObjectsTransform ( const tesseract::common::LinkId & id,
const Eigen::Isometry3d & pose )
pure virtual

Set a single collision object's transform.

Parameters
idThe LinkId of the object
poseThe transformation in world

Implemented in tesseract::collision::BulletCastBVHManager, and tesseract::collision::BulletCastSimpleManager.

◆ getCollisionObjectsTransform()

virtual Eigen::Isometry3d tesseract::collision::ContinuousContactManager::getCollisionObjectsTransform ( const tesseract::common::LinkId & id) const
pure virtual

Get the world transform of a single collision object.

For continuous (cast) backends, this returns the start pose (pose1) — the same pose passed to setCollisionObjectsTransform(LinkId, pose1, pose2). The end pose is encoded in the cast hull and is not retrievable from this getter.

Parameters
idThe LinkId of the object
Returns
The world transform
Exceptions
std::out_of_rangeif the LinkId is not registered with the manager

Implemented in tesseract::collision::BulletCastBVHManager, and tesseract::collision::BulletCastSimpleManager.

◆ setCollisionObjectsTransform() [2/10]

virtual void tesseract::collision::ContinuousContactManager::setCollisionObjectsTransform ( const tesseract::common::LinkIdTransformMap & transforms)
pure virtual

Set a series of collision object's transforms using integer link IDs.

Parameters
transformsA transform map <LinkId, pose>

Implemented in tesseract::collision::BulletCastBVHManager, and tesseract::collision::BulletCastSimpleManager.

◆ setCollisionObjectsTransform() [3/10]

void tesseract::collision::ContinuousContactManager::setCollisionObjectsTransform ( const std::vector< tesseract::common::LinkId > & ids,
const tesseract::common::VectorIsometry3d & poses )
virtual

Set a series of collision object's transforms.

Parameters
idsThe LinkIds of the objects
posesThe poses, one per id
Exceptions
std::runtime_errorif ids and poses differ in size

Reimplemented in tesseract::collision::BulletCastBVHManager, and tesseract::collision::BulletCastSimpleManager.

◆ setCollisionObjectsTransform() [4/10]

void tesseract::collision::ContinuousContactManager::setCollisionObjectsTransform ( const std::unordered_set< tesseract::common::LinkId > & ids,
const tesseract::common::LinkIdTransformMap & state )
virtual

Set the transforms of a set of collision objects from a transform map.

Parameters
idsThe LinkIds of the objects to update
stateA transform map that must contain every id
Exceptions
std::out_of_rangeif an id is absent from state

Reimplemented in tesseract::collision::BulletCastBVHManager, and tesseract::collision::BulletCastSimpleManager.

◆ setCollisionObjectsTransform() [5/10]

void tesseract::collision::ContinuousContactManager::setCollisionObjectsTransform ( const std::vector< tesseract::common::LinkId > & ids,
const tesseract::common::LinkIdTransformMap & state )
virtual

Set the transforms of a list of collision objects from a transform map.

Exceptions
std::out_of_rangeif an id is absent from state

Reimplemented in tesseract::collision::BulletCastBVHManager, and tesseract::collision::BulletCastSimpleManager.

◆ setCollisionObjectsTransform() [6/10]

virtual void tesseract::collision::ContinuousContactManager::setCollisionObjectsTransform ( const tesseract::common::LinkId & id,
const Eigen::Isometry3d & pose1,
const Eigen::Isometry3d & pose2 )
pure virtual

Set a single cast(moving) collision object's transforms.

This should only be used for moving objects. Use the base class methods for static objects.

Parameters
idThe LinkId of the object
pose1The start transformation in world
pose2The end transformation in world

Implemented in tesseract::collision::BulletCastBVHManager, and tesseract::collision::BulletCastSimpleManager.

◆ setCollisionObjectsTransform() [7/10]

virtual void tesseract::collision::ContinuousContactManager::setCollisionObjectsTransform ( const tesseract::common::LinkIdTransformMap & pose1,
const tesseract::common::LinkIdTransformMap & pose2 )
pure virtual

Set a series of cast(moving) collision object's transforms.

Parameters
pose1A start transform map <LinkId, pose>
pose2An end transform map <LinkId, pose>
Note
pose1 and pose2 must cover the same objects — a swept hull needs both endpoints; backends assert this in debug builds. Objects absent from both maps are left unmoved (a legitimate partial update).

Implemented in tesseract::collision::BulletCastBVHManager, and tesseract::collision::BulletCastSimpleManager.

◆ setCollisionObjectsTransform() [8/10]

void tesseract::collision::ContinuousContactManager::setCollisionObjectsTransform ( const std::vector< tesseract::common::LinkId > & ids,
const tesseract::common::VectorIsometry3d & pose1,
const tesseract::common::VectorIsometry3d & pose2 )
virtual

Set a series of cast(moving) collision object's transforms.

Parameters
idsThe LinkIds of the objects
pose1The start poses, one per id
pose2The end poses, one per id
Exceptions
std::runtime_errorif ids, pose1, and pose2 differ in size

Reimplemented in tesseract::collision::BulletCastBVHManager, and tesseract::collision::BulletCastSimpleManager.

◆ setCollisionObjectsTransform() [9/10]

void tesseract::collision::ContinuousContactManager::setCollisionObjectsTransform ( const std::unordered_set< tesseract::common::LinkId > & ids,
const tesseract::common::LinkIdTransformMap & state0,
const tesseract::common::LinkIdTransformMap & state1 )
virtual

Set the start and end transforms of a set of collision objects from two transform maps.

Exceptions
std::out_of_rangeif an id is absent from either map

Reimplemented in tesseract::collision::BulletCastBVHManager, and tesseract::collision::BulletCastSimpleManager.

◆ setCollisionObjectsTransform() [10/10]

void tesseract::collision::ContinuousContactManager::setCollisionObjectsTransform ( const std::vector< tesseract::common::LinkId > & ids,
const tesseract::common::LinkIdTransformMap & state0,
const tesseract::common::LinkIdTransformMap & state1 )
virtual

Set the start and end transforms of a list of collision objects from two transform maps.

Exceptions
std::out_of_rangeif an id is absent from either map

Reimplemented in tesseract::collision::BulletCastBVHManager, and tesseract::collision::BulletCastSimpleManager.

◆ getCollisionObjects()

virtual const std::vector< tesseract::common::LinkId > & tesseract::collision::ContinuousContactManager::getCollisionObjects ( ) const
pure virtual

Get all collision objects.

Returns
A list of collision object IDs

Implemented in tesseract::collision::BulletCastBVHManager, and tesseract::collision::BulletCastSimpleManager.

◆ setActiveCollisionObjects() [1/3]

virtual void tesseract::collision::ContinuousContactManager::setActiveCollisionObjects ( const std::unordered_set< tesseract::common::LinkId > & ids)
pure virtual

Set which collision objects can move.

Parameters
idsA set of LinkIds identifying the active collision objects

Implemented in tesseract::collision::BulletCastBVHManager, and tesseract::collision::BulletCastSimpleManager.

◆ setActiveCollisionObjects() [2/3]

void tesseract::collision::ContinuousContactManager::setActiveCollisionObjects ( const std::vector< tesseract::common::LinkId > & ids)
virtual

Set which collision objects can move by vector (delegates to set overload).

Reimplemented in tesseract::collision::BulletCastBVHManager, and tesseract::collision::BulletCastSimpleManager.

◆ setActiveCollisionObjects() [3/3]

void tesseract::collision::ContinuousContactManager::setActiveCollisionObjects ( std::initializer_list< tesseract::common::LinkId > ids)
virtual

Set which collision objects can move by initializer list (delegates to set overload).

Reimplemented in tesseract::collision::BulletCastBVHManager, and tesseract::collision::BulletCastSimpleManager.

◆ getActiveCollisionObjects()

virtual const std::unordered_set< tesseract::common::LinkId > & tesseract::collision::ContinuousContactManager::getActiveCollisionObjects ( ) const
pure virtual

Get which collision objects can move.

Returns
A set of active collision object LinkIds

Implemented in tesseract::collision::BulletCastBVHManager, and tesseract::collision::BulletCastSimpleManager.

◆ setCollisionMarginData()

virtual void tesseract::collision::ContinuousContactManager::setCollisionMarginData ( CollisionMarginData collision_margin_data)
pure virtual

Set the contact distance threshold.

Parameters
collision_margin_dataThe contact distance

Implemented in tesseract::collision::BulletCastBVHManager, and tesseract::collision::BulletCastSimpleManager.

◆ getCollisionMarginData()

virtual const CollisionMarginData & tesseract::collision::ContinuousContactManager::getCollisionMarginData ( ) const
pure virtual

Get the contact distance threshold.

Returns
The contact distance

Implemented in tesseract::collision::BulletCastBVHManager, and tesseract::collision::BulletCastSimpleManager.

◆ setCollisionMarginPairData()

virtual void tesseract::collision::ContinuousContactManager::setCollisionMarginPairData ( const CollisionMarginPairData & pair_margin_data,
CollisionMarginPairOverrideType override_type = CollisionMarginPairOverrideType::REPLACE )
pure virtual

Set the pair contact distance thresholds for which collision should be considered on a per pair basis.

Parameters
pair_margin_dataContains the pair collision margins that will replace the current settings
override_typeThis determines how the provided CollisionMarginData is applied

Implemented in tesseract::collision::BulletCastBVHManager, and tesseract::collision::BulletCastSimpleManager.

◆ setDefaultCollisionMargin()

virtual void tesseract::collision::ContinuousContactManager::setDefaultCollisionMargin ( double default_collision_margin)
pure virtual

Set the default collision margin.

Parameters
default_collision_marginNew default collision margin

Implemented in tesseract::collision::BulletCastBVHManager, and tesseract::collision::BulletCastSimpleManager.

◆ setCollisionMarginPair()

virtual void tesseract::collision::ContinuousContactManager::setCollisionMarginPair ( const tesseract::common::LinkId & id1,
const tesseract::common::LinkId & id2,
double collision_margin )
pure virtual

Set the margin for a given contact pair.

The order of the object names does not matter, that is handled internal to the class.

Parameters
obj1The first object name. Order doesn't matter
obj2The Second object name. Order doesn't matter
collision_margincontacts with distance < collision_margin are considered in collision
Note
Each call re-evaluates the margin of every object in the manager. To set many pairs, build a CollisionMarginPairData and use setCollisionMarginPairData, which does that sweep once.

Implemented in tesseract::collision::BulletCastBVHManager, and tesseract::collision::BulletCastSimpleManager.

◆ incrementCollisionMargin()

virtual void tesseract::collision::ContinuousContactManager::incrementCollisionMargin ( double increment)
pure virtual

Increment the collision margin data by some value.

Parameters
incrementThe value to increment the collision margin value

Implemented in tesseract::collision::BulletCastBVHManager, and tesseract::collision::BulletCastSimpleManager.

◆ setContactAllowedValidator()

virtual void tesseract::collision::ContinuousContactManager::setContactAllowedValidator ( std::shared_ptr< const tesseract::common::ContactAllowedValidator > validator)
pure virtual

Set the active function for determining if two links are allowed to be in collision.

Implemented in tesseract::collision::BulletCastBVHManager, and tesseract::collision::BulletCastSimpleManager.

◆ getContactAllowedValidator()

virtual std::shared_ptr< const tesseract::common::ContactAllowedValidator > tesseract::collision::ContinuousContactManager::getContactAllowedValidator ( ) const
pure virtual

Get the active function for determining if two links are allowed to be in collision.

Implemented in tesseract::collision::BulletCastBVHManager, and tesseract::collision::BulletCastSimpleManager.

◆ contactTest()

virtual void tesseract::collision::ContinuousContactManager::contactTest ( ContactResultMap & collisions,
const ContactRequest & request )
pure virtual

Perform a contact test for all objects based.

Parameters
collisionsThe Contact results data
typeThe type of contact test

Implemented in tesseract::collision::BulletCastBVHManager, and tesseract::collision::BulletCastSimpleManager.

◆ applyContactManagerConfig()

void tesseract::collision::ContinuousContactManager::applyContactManagerConfig ( const ContactManagerConfig & config)
virtual

Applies settings in the config.

Parameters
configSettings to be applies