KrisLibrary  1.0.0
Public Types | Public Member Functions | Public Attributes | List of all members
SBLPlanner Class Reference

The SBL motion planner. More...

#include <SBL.h>

Inheritance diagram for SBLPlanner:
SBLPlannerWithGrid

Public Types

typedef SBLTree::Node Node
 
typedef SBLTree::EdgeInfo EdgeInfo
 

Public Member Functions

 SBLPlanner (CSpace *)
 
virtual void Cleanup ()
 
virtual void Init (const Config &qStart, const Config &qGoal)
 
virtual bool Extend ()
 
virtual NodePickConnection (SBLTree *t, const Config &x)
 
bool IsDone () const
 
void CreatePath (MilestonePath &path) const
 
bool CheckPath (Node *nStart, Node *nGoal)
 

Public Attributes

CSpacespace
 
Real maxExtendDistance
 
int maxExtendIters
 
Real edgeConnectionThreshold
 
int numIters
 
SBLTreetStart
 
SBLTreetGoal
 
std::list< EdgeInfooutputPath
 

Detailed Description

The SBL motion planner.

Call Init() with the start and goal configuration. While IsDone() returns false, call Extend() . Retrieve the path with CreatePath().

Parameters are maxExtendDistance, maxExtendIters, edgeConnectionThreshold. maxExtendDistance is the radius of the neighborhood sampling. maxExtendIters is the number of iters of shrinking the neighborhood sampling radius until we quit. edgeConnectionThreshold is the minimum distance required for a connection between the two trees.


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