moveit2
The MoveIt Motion Planning Framework for ROS 2.
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
collision_detection::CollisionDetectorAllocatorTemplate< CollisionEnvType, CollisionDetectorAllocatorType > Class Template Reference

Template class to make it easy to create an allocator for a specific CollisionWorld/CollisionRobot pair. More...

#include <collision_detector_allocator.h>

Inheritance diagram for collision_detection::CollisionDetectorAllocatorTemplate< CollisionEnvType, CollisionDetectorAllocatorType >:
Inheritance graph
[legend]
Collaboration diagram for collision_detection::CollisionDetectorAllocatorTemplate< CollisionEnvType, CollisionDetectorAllocatorType >:
Collaboration graph
[legend]

Public Member Functions

const std::string & getName () const override
 
CollisionEnvPtr allocateEnv (const WorldPtr &world, const moveit::core::RobotModelConstPtr &robot_model) const override
 
CollisionEnvPtr allocateEnv (const CollisionEnvConstPtr &orig, const WorldPtr &world) const override
 
CollisionEnvPtr allocateEnv (const moveit::core::RobotModelConstPtr &robot_model) const override
 
- Public Member Functions inherited from collision_detection::CollisionDetectorAllocator
virtual ~CollisionDetectorAllocator ()
 

Static Public Member Functions

static CollisionDetectorAllocatorPtr create ()
 

Detailed Description

template<class CollisionEnvType, class CollisionDetectorAllocatorType>
class collision_detection::CollisionDetectorAllocatorTemplate< CollisionEnvType, CollisionDetectorAllocatorType >

Template class to make it easy to create an allocator for a specific CollisionWorld/CollisionRobot pair.

Definition at line 72 of file collision_detector_allocator.h.

Member Function Documentation

◆ allocateEnv() [1/3]

template<class CollisionEnvType , class CollisionDetectorAllocatorType >
CollisionEnvPtr collision_detection::CollisionDetectorAllocatorTemplate< CollisionEnvType, CollisionDetectorAllocatorType >::allocateEnv ( const CollisionEnvConstPtr &  orig,
const WorldPtr &  world 
) const
inlineoverridevirtual

create a new CollisionWorld by copying an existing CollisionWorld of the same type.s The world must be either the same world as used by \orig or a copy of that world which has not yet been modified.

Implements collision_detection::CollisionDetectorAllocator.

Definition at line 85 of file collision_detector_allocator.h.

◆ allocateEnv() [2/3]

template<class CollisionEnvType , class CollisionDetectorAllocatorType >
CollisionEnvPtr collision_detection::CollisionDetectorAllocatorTemplate< CollisionEnvType, CollisionDetectorAllocatorType >::allocateEnv ( const moveit::core::RobotModelConstPtr &  robot_model) const
inlineoverridevirtual

create a new CollisionEnv given a robot_model with a new empty world

Implements collision_detection::CollisionDetectorAllocator.

Definition at line 90 of file collision_detector_allocator.h.

◆ allocateEnv() [3/3]

template<class CollisionEnvType , class CollisionDetectorAllocatorType >
CollisionEnvPtr collision_detection::CollisionDetectorAllocatorTemplate< CollisionEnvType, CollisionDetectorAllocatorType >::allocateEnv ( const WorldPtr &  world,
const moveit::core::RobotModelConstPtr &  robot_model 
) const
inlineoverridevirtual

create a new CollisionWorld for checking collisions with the supplied world.

Implements collision_detection::CollisionDetectorAllocator.

Definition at line 80 of file collision_detector_allocator.h.

◆ create()

template<class CollisionEnvType , class CollisionDetectorAllocatorType >
static CollisionDetectorAllocatorPtr collision_detection::CollisionDetectorAllocatorTemplate< CollisionEnvType, CollisionDetectorAllocatorType >::create ( )
inlinestatic

Create an allocator for collision detectors.

Definition at line 96 of file collision_detector_allocator.h.

◆ getName()

template<class CollisionEnvType , class CollisionDetectorAllocatorType >
const std::string & collision_detection::CollisionDetectorAllocatorTemplate< CollisionEnvType, CollisionDetectorAllocatorType >::getName ( ) const
inlineoverridevirtual

A unique name identifying the CollisionWorld/CollisionRobot pairing.

Implements collision_detection::CollisionDetectorAllocator.

Definition at line 75 of file collision_detector_allocator.h.


The documentation for this class was generated from the following file: