Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

ShapeSpaceCollisionCheckerBase< N > Class Template Reference

Base class for doing collision checking in world shape space. More...

#include <ShapeSpacePlannerBase.h>

Inheritance diagram for ShapeSpaceCollisionCheckerBase< N >:

Detailed Description

template<size_t N>
class ShapeSpaceCollisionCheckerBase< N >

Base class for doing collision checking in world shape space.

Definition at line 16 of file ShapeSpacePlannerBase.h.

List of all members.

Public Member Functions

 ShapeSpaceCollisionCheckerBase (ShapeSpace &shs, const Shape< PolygonData > &_worldBounds, float _inflation)
virtual ~ShapeSpaceCollisionCheckerBase ()
const Shape< PolygonData > getWorldBounds () const
BoundingBox< N > getObstacleBoundingBox () const
BoundingBox< N > getBodyBoundingBox () const
void addObstaclesToShapeSpace (DualCoding::ShapeSpace &shs, const fmat::Transform &t=fmat::Transform())
 Debugging tool to make obstacles visible.

Protected Member Functions

void addRobotObstacles (const KinematicJoint &j)
 Model the robot as a set of PlannerObstacles, based on its kinematic structure.
void createBodyObstacle (const LinkComponent &j, const fmat::Transform &robotT)
void addDisplayRobotObstacles (const KinematicJoint &j)

Protected Attributes

DualCoding::Shape
< DualCoding::PolygonData > 
worldBounds
 world bounds, must be closed to be used
float const inflation
 Amount in mm to add to obstacle bounding shape.
std::vector< PlannerObstacle
< N > * > 
obstacles
 world or local map obstacles
std::vector< PlannerObstacle
< N > * > 
displayWorldObstacles
 world map obstacles for display
std::vector< PlannerObstacle
< N > * > 
displayRobotObstacles
 robot obstacles for display

Constructor & Destructor Documentation

template<size_t N>
ShapeSpaceCollisionCheckerBase< N >::ShapeSpaceCollisionCheckerBase ( ShapeSpace &  shs,
const Shape< PolygonData > &  _worldBounds,
float  _inflation 
)

Definition at line 82 of file ShapeSpacePlannerBase.h.

template<size_t N>
ShapeSpaceCollisionCheckerBase< N >::~ShapeSpaceCollisionCheckerBase (  )  [virtual]

Definition at line 99 of file ShapeSpacePlannerBase.h.


Member Function Documentation

template<size_t N>
void ShapeSpaceCollisionCheckerBase< N >::addObstaclesToShapeSpace ( DualCoding::ShapeSpace &  shs,
const fmat::Transform t = fmat::Transform() 
)

Debugging tool to make obstacles visible.

template<size_t N>
void ShapeSpaceCollisionCheckerBase< N >::addRobotObstacles ( const KinematicJoint j  )  [protected]
template<size_t N>
void ShapeSpaceCollisionCheckerBase< N >::createBodyObstacle ( const LinkComponent j,
const fmat::Transform robotT 
) [protected]
template<size_t N>
BoundingBox< N > ShapeSpaceCollisionCheckerBase< N >::getBodyBoundingBox (  )  const

Definition at line 69 of file ShapeSpacePlannerBase.h.

Referenced by ShapeSpacePlannerXYTheta::planPath().

template<size_t N>
BoundingBox< N > ShapeSpaceCollisionCheckerBase< N >::getObstacleBoundingBox (  )  const
template<size_t N>
const Shape<PolygonData> ShapeSpaceCollisionCheckerBase< N >::getWorldBounds (  )  const

Member Data Documentation

template<size_t N>
std::vector<PlannerObstacle<N>*> ShapeSpaceCollisionCheckerBase< N >::displayWorldObstacles [protected]

world map obstacles for display

Definition at line 27 of file ShapeSpacePlannerBase.h.

Referenced by ShapeSpaceCollisionCheckerBase< N >::ShapeSpaceCollisionCheckerBase().

template<size_t N>
float const ShapeSpaceCollisionCheckerBase< N >::inflation [protected]

Amount in mm to add to obstacle bounding shape.

Definition at line 21 of file ShapeSpacePlannerBase.h.

Referenced by ShapeSpaceCollisionCheckerBase< N >::ShapeSpaceCollisionCheckerBase().

template<size_t N>
DualCoding::Shape<DualCoding::PolygonData> ShapeSpaceCollisionCheckerBase< N >::worldBounds [protected]

world bounds, must be closed to be used

Definition at line 19 of file ShapeSpacePlannerBase.h.

Referenced by ShapeSpaceCollisionCheckerBase< 3 >::getWorldBounds().


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

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:16 2016 by Doxygen 1.6.3