Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
ShapeSpacePlanner3DR< N > Class Template ReferencePlans a path in a n-dimensional angular space, uses forward kinematics for collision testing. More...
Inheritance diagram for ShapeSpacePlanner3DR< N >:
Detailed Descriptiontemplate<size_t N>
|
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 | |
KinematicJoint * | joints [N] |
fmat::Transform | worldT |
typedef RRTNode3DR<N> ShapeSpacePlanner3DR< N >::NodeType_t |
Definition at line 430 of file ShapeSpacePlanner3DR.h.
typedef NodeType_t::NodeValue_t ShapeSpacePlanner3DR< N >::NodeValue_t |
Reimplemented from GenericRRT< RRTNode3DR< N >, 3 >.
Definition at line 431 of file ShapeSpacePlanner3DR.h.
typedef GenericRRTBase::PlannerResult<3> ShapeSpacePlanner3DR< N >::PlannerResult |
Definition at line 432 of file ShapeSpacePlanner3DR.h.
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.
ShapeSpacePlanner3DR< N >::ShapeSpacePlanner3DR | ( | const ShapeSpacePlanner3DR< N > & | other | ) |
Definition at line 440 of file ShapeSpacePlanner3DR.h.
virtual ShapeSpacePlanner3DR< N >::~ShapeSpacePlanner3DR | ( | ) | [virtual] |
Definition at line 456 of file ShapeSpacePlanner3DR.h.
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.
ShapeSpacePlanner3DR ShapeSpacePlanner3DR< N >::operator= | ( | const ShapeSpacePlanner3DR< N > & | other | ) |
Definition at line 446 of file ShapeSpacePlanner3DR.h.
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 | |||
) |
Definition at line 508 of file ShapeSpacePlanner3DR.h.
Referenced by Grasper::PathPlanToRest::doStart(), Grasper::PathPlanConstrained::doStart(), and Grasper::PlanArmApproach::doStart().
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().
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().
KinematicJoint* ShapeSpacePlanner3DR< N >::joints[N] |
Definition at line 453 of file ShapeSpacePlanner3DR.h.
Referenced by ShapeSpacePlanner3DR< N >::operator=(), ShapeSpacePlanner3DR< N >::plotPath(), ShapeSpacePlanner3DR< N >::plotTree(), and ShapeSpacePlanner3DR< N >::ShapeSpacePlanner3DR().
fmat::Transform ShapeSpacePlanner3DR< N >::worldT |
Definition at line 454 of file ShapeSpacePlanner3DR.h.
Referenced by ShapeSpacePlanner3DR< N >::getBoxes(), ShapeSpacePlanner3DR< N >::operator=(), ShapeSpacePlanner3DR< N >::planPath(), ShapeSpacePlanner3DR< N >::plotPath(), and ShapeSpacePlanner3DR< N >::ShapeSpacePlanner3DR().
Tekkotsu v5.1CVS |
Generated Mon May 9 04:59:16 2016 by Doxygen 1.6.3 |