Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

ShapeSpacePlanner3DR< N > Class Template Reference

Plans a path in a n-dimensional angular space, uses forward kinematics for collision testing. More...

#include <ShapeSpacePlanner3DR.h>

Inheritance diagram for ShapeSpacePlanner3DR< N >:

Detailed Description

template<size_t N>
class ShapeSpacePlanner3DR< N >

Plans a path in a n-dimensional angular space, uses forward kinematics for collision testing.

Definition at line 428 of file ShapeSpacePlanner3DR.h.

List of all members.

Public Types

typedef RRTNode3DR< N > NodeType_t
typedef NodeType_t::NodeValue_t NodeValue_t
typedef
GenericRRTBase::PlannerResult< 3 > 
PlannerResult

Public Member Functions

 ShapeSpacePlanner3DR (DualCoding::ShapeSpace &shs, const DualCoding::Shape< DualCoding::PolygonData > &worldBounds, float inflation, unsigned int effectorOffset, AdmissibilityPredicate< NodeType_t > *predicate=NULL)
 ShapeSpacePlanner3DR (const ShapeSpacePlanner3DR &other)
ShapeSpacePlanner3DR operator= (const ShapeSpacePlanner3DR &other)
virtual ~ShapeSpacePlanner3DR ()
PlannerResult planPath (NodeValue_t start, NodeValue_t end, NodeValue_t interpolationStep, const fmat::Transform &_worldT, unsigned int _maxIterations=40000, std::vector< NodeValue_t > *pathResult=NULL, std::vector< NodeType_t > *treeStartResult=NULL, std::vector< NodeType_t > *treeEndResult=NULL)
void plotTree (const std::vector< NodeType_t > &tree, Shape< GraphicsData > &graphics, rgb color=rgb(255, 0, 0))
 Populates a Shape<GraphicsData> with BoundingBoxes.
void plotPath (const std::vector< NodeValue_t > &tree, Shape< GraphicsData > &graphics, rgb color=rgb(255, 0, 0))
 Populates a Shape<GraphicsData> with BoundingBoxes.
void getBoxes (std::vector< std::vector< std::pair< float, float > > > &boxes, const KinematicJoint &joint)
 Returns BoundingBox of each link, for plotTree().

Public Attributes

KinematicJointjoints [N]
fmat::Transform worldT

Member Typedef Documentation

template<size_t N>
typedef RRTNode3DR<N> ShapeSpacePlanner3DR< N >::NodeType_t

Definition at line 430 of file ShapeSpacePlanner3DR.h.

template<size_t N>
typedef NodeType_t::NodeValue_t ShapeSpacePlanner3DR< N >::NodeValue_t

Reimplemented from GenericRRT< RRTNode3DR< N >, 3 >.

Definition at line 431 of file ShapeSpacePlanner3DR.h.

Definition at line 432 of file ShapeSpacePlanner3DR.h.


Constructor & Destructor Documentation

template<size_t N>
ShapeSpacePlanner3DR< N >::ShapeSpacePlanner3DR ( DualCoding::ShapeSpace &  shs,
const DualCoding::Shape< DualCoding::PolygonData > &  worldBounds,
float  inflation,
unsigned int  effectorOffset,
AdmissibilityPredicate< NodeType_t > *  predicate = NULL 
)

Definition at line 485 of file ShapeSpacePlanner3DR.h.

template<size_t N>
ShapeSpacePlanner3DR< N >::ShapeSpacePlanner3DR ( const ShapeSpacePlanner3DR< N > &  other  ) 

Definition at line 440 of file ShapeSpacePlanner3DR.h.

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

Definition at line 456 of file ShapeSpacePlanner3DR.h.


Member Function Documentation

template<size_t N>
void ShapeSpacePlanner3DR< N >::getBoxes ( std::vector< std::vector< std::pair< float, float > > > &  boxes,
const KinematicJoint joint 
)

Returns BoundingBox of each link, for plotTree().

Definition at line 632 of file ShapeSpacePlanner3DR.h.

template<size_t N>
ShapeSpacePlanner3DR ShapeSpacePlanner3DR< N >::operator= ( const ShapeSpacePlanner3DR< N > &  other  ) 

Definition at line 446 of file ShapeSpacePlanner3DR.h.

template<size_t N>
ShapeSpacePlanner3DR< N >::PlannerResult ShapeSpacePlanner3DR< N >::planPath ( NodeValue_t  start,
NodeValue_t  end,
NodeValue_t  interpolationStep,
const fmat::Transform _worldT,
unsigned int  _maxIterations = 40000,
std::vector< NodeValue_t > *  pathResult = NULL,
std::vector< NodeType_t > *  treeStartResult = NULL,
std::vector< NodeType_t > *  treeEndResult = NULL 
)
template<size_t N>
void ShapeSpacePlanner3DR< N >::plotPath ( const std::vector< NodeValue_t > &  tree,
Shape< GraphicsData > &  graphics,
rgb  color = rgb(255,0,0) 
)

Populates a Shape<GraphicsData> with BoundingBoxes.

Definition at line 555 of file ShapeSpacePlanner3DR.h.

Referenced by Grasper::PathPlanToRest::doStart(), Grasper::PathPlanConstrained::doStart(), and Grasper::PlanArmApproach::doStart().

template<size_t N>
void ShapeSpacePlanner3DR< N >::plotTree ( const std::vector< NodeType_t > &  tree,
Shape< GraphicsData > &  graphics,
rgb  color = rgb(255,0,0) 
)

Populates a Shape<GraphicsData> with BoundingBoxes.

Definition at line 524 of file ShapeSpacePlanner3DR.h.

Referenced by Grasper::PathPlanToRest::doStart(), Grasper::PathPlanConstrained::doStart(), and Grasper::PlanArmApproach::doStart().


Member Data Documentation


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