Robotics Library
0.7.0
|
Rapidly-Exploring Random Trees. More...
#include <Rrt.h>
Classes | |
struct | TreeBundle |
struct | VertexBundle |
Public Member Functions | |
Rrt (const ::std::size_t &trees=1) | |
virtual | ~Rrt () |
virtual ::std::string | getName () const |
NearestNeighbors * | getNearestNeighbors (const ::std::size_t &i) const |
virtual ::std::size_t | getNumEdges () const |
virtual ::std::size_t | getNumVertices () const |
virtual VectorList | getPath () |
Get solution path. More... | |
virtual void | reset () |
Reset planner. More... | |
void | setNearestNeighbors (NearestNeighbors *nearestNeighbors, const ::std::size_t &i) |
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 | delta |
Configuration step size. More... | |
::rl::math::Real | epsilon |
Epsilon for configuration comparison. More... | |
Sampler * | sampler |
Public Attributes inherited from rl::plan::Planner | |
::std::chrono::steady_clock::duration | duration |
Upper bound for search. More... | |
::rl::math::Vector * | goal |
Goal configuration. More... | |
SimpleModel * | model |
::rl::math::Vector * | start |
Start configuration. More... | |
Viewer * | viewer |
Protected Types | |
typedef ::boost::adjacency_list< ::boost::listS, ::boost::listS, ::boost::bidirectionalS, ::std::shared_ptr< VertexBundle >, ::boost::no_property, TreeBundle > | Tree |
typedef ::boost::adjacency_list_traits< ::boost::listS, ::boost::listS, ::boost::bidirectionalS, ::boost::listS >::vertex_descriptor | Vertex |
typedef ::boost::graph_traits< Tree >::edge_descriptor | Edge |
typedef ::boost::graph_traits< Tree >::edge_iterator | EdgeIterator |
typedef ::std::pair< EdgeIterator, EdgeIterator > | EdgeIteratorPair |
typedef ::std::pair< ::rl::math::Real, Vertex > | Neighbor |
typedef ::boost::graph_traits< Tree >::vertex_iterator | VertexIterator |
typedef ::std::pair< VertexIterator, VertexIterator > | VertexIteratorPair |
Protected Member Functions | |
virtual Edge | addEdge (const Vertex &u, const Vertex &v, Tree &tree) |
virtual Vertex | addVertex (Tree &tree, const VectorPtr &q) |
bool | areEqual (const ::rl::math::Vector &lhs, const ::rl::math::Vector &rhs) const |
virtual ::rl::math::Vector | choose () |
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) |
Static Protected Member Functions | |
static VertexBundle * | get (const Tree &tree, const Vertex &v) |
Protected Attributes | |
::std::vector< Vertex > | begin |
::std::vector< Vertex > | end |
::std::vector< Tree > | tree |
Protected Attributes inherited from rl::plan::Planner | |
::std::chrono::steady_clock::time_point | time |
Rapidly-Exploring Random Trees.
Steven M. LaValle. Rapidly-exploring random trees: A new tool for path planning. Technical Report TR 98-11, Iowa State University, Ames, IA, USA, October 1998.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
rl::plan::Rrt::Rrt | ( | const ::std::size_t & | trees = 1 | ) |
|
virtual |
|
protectedvirtual |
Reimplemented in rl::plan::Eet.
|
protectedvirtual |
Reimplemented in rl::plan::Eet, and rl::plan::AddRrtConCon.
|
protected |
|
protected |
|
protectedvirtual |
|
protectedvirtual |
|
staticprotected |
|
virtual |
Implements rl::plan::Planner.
Reimplemented in rl::plan::RrtGoalBias, rl::plan::RrtExtExt, rl::plan::RrtExtCon, rl::plan::RrtDual, rl::plan::RrtConCon, and rl::plan::RrtCon.
NearestNeighbors * rl::plan::Rrt::getNearestNeighbors | ( | const ::std::size_t & | i | ) | const |
std::size_t rl::plan::Rrt::getNumEdges | ( | ) | const |
std::size_t rl::plan::Rrt::getNumVertices | ( | ) | const |
|
virtual |
Get solution path.
Implements rl::plan::Planner.
Reimplemented in rl::plan::RrtDual, and rl::plan::Eet.
|
protectedvirtual |
|
virtual |
void rl::plan::Rrt::setNearestNeighbors | ( | NearestNeighbors * | nearestNeighbors, |
const ::std::size_t & | i | ||
) |
|
virtual |
Find collision free path.
Implements rl::plan::Planner.
Reimplemented in rl::plan::RrtExtExt, rl::plan::RrtExtCon, rl::plan::RrtDual, rl::plan::RrtConCon, rl::plan::RrtCon, rl::plan::Eet, and rl::plan::AddRrtConCon.
|
protected |
::rl::math::Real rl::plan::Rrt::delta |
Configuration step size.
|
protected |
::rl::math::Real rl::plan::Rrt::epsilon |
Epsilon for configuration comparison.
Sampler* rl::plan::Rrt::sampler |
|
protected |