Robotics Library  0.6.2
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
rl::plan::RrtGoalBias Class Reference

#include <RrtGoalBias.h>

Inheritance diagram for rl::plan::RrtGoalBias:
Inheritance graph
[legend]

Public Member Functions

 RrtGoalBias ()
 
virtual ~RrtGoalBias ()
 
virtual ::std::string getName () const
 
virtual void seed (const ::boost::mt19937::result_type &value)
 
- Public Member Functions inherited from rl::plan::Rrt
 Rrt (const ::std::size_t &trees=1)
 
virtual ~Rrt ()
 
virtual ::std::size_t getNumEdges () const
 
virtual ::std::size_t getNumVertices () const
 
virtual void getPath (VectorList &path)
 Get solution path. More...
 
virtual void reset ()
 Reset planner. More...
 
virtual bool solve ()
 Find collision free path. More...
 
- Public Member Functions inherited from rl::plan::Planner
 Planner ()
 
virtual ~Planner ()
 
bool verify ()
 Vertify that start and goal configuration are within joint limits and collision free. More...
 

Public Attributes

::rl::math::Real probability
 Probability of choosing goal configuration. More...
 
- Public Attributes inherited from rl::plan::Rrt
::rl::math::Real delta
 Configuration step size. More...
 
::rl::math::Real epsilon
 Epsilon for configuration comparison. More...
 
bool kd
 Use kd-tree for nearest neighbor search instead of brute-force. More...
 
Samplersampler
 
- Public Attributes inherited from rl::plan::Planner
::rl::math::Real duration
 Upper bound for search [s]. More...
 
::rl::math::Vectorgoal
 Goal configuration. More...
 
SimpleModelmodel
 
::rl::math::Vectorstart
 Start configuration. More...
 
Viewerviewer
 

Protected Member Functions

virtual void choose (::rl::math::Vector &chosen)
 
- Protected Member Functions inherited from rl::plan::Rrt
virtual Edge addEdge (const Vertex &u, const Vertex &v, Tree &tree)
 
void addPoint (NearestNeighbors &nn, const QueryItem &p)
 
Vertex addVertex (Tree &tree, const VectorPtr &q)
 
bool areEqual (const ::rl::math::Vector &lhs, const ::rl::math::Vector &rhs) const
 
virtual Vertex connect (Tree &tree, const Neighbor &nearest, const ::rl::math::Vector &chosen)
 
virtual Vertex extend (Tree &tree, const Neighbor &nearest, const ::rl::math::Vector &chosen)
 
virtual Neighbor nearest (const Tree &tree, const ::rl::math::Vector &chosen)
 

Protected Attributes

::boost::variate_generator< ::boost::mt19937, ::boost::uniform_real< ::rl::math::Real > > rand
 
- Protected Attributes inherited from rl::plan::Rrt
::std::vector< Vertexbegin
 
::std::vector< Vertexend
 
::std::vector< Treetree
 
- Protected Attributes inherited from rl::plan::Planner
::rl::util::Timer timer
 

Additional Inherited Members

- Protected Types inherited from rl::plan::Rrt
typedef ::boost::adjacency_list< ::boost::listS, ::boost::listS, ::boost::bidirectionalS, VertexBundle, ::boost::no_property, TreeBundleTree
 
typedef ::boost::adjacency_list_traits< ::boost::listS, ::boost::listS, ::boost::bidirectionalS, ::boost::listS >::vertex_descriptor Vertex
 
typedef ::std::pair< const ::rl::math::Vector *, VertexQueryItem
 
typedef ::CGAL::Search_traits< ::rl::math::Real, QueryItem, const ::rl::math::Real *, CartesianIteratorSearchTraits
 
typedef Orthogonal_k_neighbor_search< SearchTraits, DistanceNeighborSearch
 
typedef NeighborSearch::Tree NeighborSearchTree
 
typedef ::boost::shared_ptr< NeighborSearchTreeNeighborSearchTreePtr
 
typedef ::std::vector< NeighborSearchTreePtrNearestNeighbors
 
typedef ::boost::graph_traits< Tree >::edge_descriptor Edge
 
typedef ::boost::graph_traits< Tree >::edge_iterator EdgeIterator
 
typedef ::std::pair< EdgeIterator, EdgeIteratorEdgeIteratorPair
 
typedef ::boost::graph_traits< Tree >::vertex_iterator VertexIterator
 
typedef ::std::pair< VertexIterator, VertexIteratorVertexIteratorPair
 
typedef ::std::pair< Vertex, ::rl::math::RealNeighbor
 

Constructor & Destructor Documentation

◆ RrtGoalBias()

rl::plan::RrtGoalBias::RrtGoalBias ( )

◆ ~RrtGoalBias()

rl::plan::RrtGoalBias::~RrtGoalBias ( )
virtual

Member Function Documentation

◆ choose()

void rl::plan::RrtGoalBias::choose ( ::rl::math::Vector chosen)
protectedvirtual

Reimplemented from rl::plan::Rrt.

◆ getName()

std::string rl::plan::RrtGoalBias::getName ( ) const
virtual

Reimplemented from rl::plan::Rrt.

◆ seed()

void rl::plan::RrtGoalBias::seed ( const ::boost::mt19937::result_type &  value)
virtual

Reimplemented in rl::plan::Eet.

Member Data Documentation

◆ probability

::rl::math::Real rl::plan::RrtGoalBias::probability

Probability of choosing goal configuration.

◆ rand

::boost::variate_generator< ::boost::mt19937, ::boost::uniform_real< ::rl::math::Real > > rl::plan::RrtGoalBias::rand
protected

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