|
Robotics Library
0.7.0
|
Go to the documentation of this file.
31 #include <boost/graph/adjacency_list.hpp>
60 Rrt(const ::std::size_t& trees = 1);
64 virtual ::std::string
getName()
const;
98 typedef ::boost::adjacency_list<
101 ::boost::bidirectionalS,
102 ::std::shared_ptr<VertexBundle>,
103 ::boost::no_property,
107 typedef ::boost::adjacency_list_traits<
110 ::boost::bidirectionalS,
119 typedef ::boost::graph_traits<Tree>::edge_descriptor
Edge;
125 typedef ::std::pair< ::rl::math::Real, Vertex>
Neighbor;
149 ::std::vector<Vertex>
end;
159 #endif // RL_PLAN_RRT_H
::boost::graph_traits< Tree >::edge_descriptor Edge
Definition: Rrt.h:119
virtual Vertex addVertex(Tree &tree, const VectorPtr &q)
Definition: Rrt.cpp:68
virtual VectorList getPath()
Get solution path.
Definition: Rrt.cpp:247
::std::pair< EdgeIterator, EdgeIterator > EdgeIteratorPair
Definition: Rrt.h:123
::std::size_t index
Definition: Rrt.h:91
virtual ::std::string getName() const
Definition: Rrt.cpp:209
virtual ::rl::math::Vector choose()
Definition: Rrt.cpp:101
virtual Vertex connect(Tree &tree, const Neighbor &nearest, const ::rl::math::Vector &chosen)
Definition: Rrt.cpp:107
Rapidly-Exploring Random Trees.
Definition: Rrt.h:58
virtual void reset()
Reset planner.
Definition: Rrt.cpp:275
::std::list< ::rl::math::Vector > VectorList
Definition: VectorList.h:37
Definition: NearestNeighbors.h:42
::Eigen::Matrix< Real, ::Eigen::Dynamic, 1 > Vector
Definition: Vector.h:42
::rl::math::Real delta
Configuration step size.
Definition: Rrt.h:81
::boost::graph_traits< Tree >::vertex_iterator VertexIterator
Definition: Rrt.h:127
::boost::adjacency_list< ::boost::listS, ::boost::listS, ::boost::bidirectionalS, ::std::shared_ptr< VertexBundle >, ::boost::no_property, TreeBundle > Tree
Definition: Rrt.h:96
::std::vector< Tree > tree
Definition: Rrt.h:151
::boost::adjacency_list_traits< ::boost::listS, ::boost::listS, ::boost::bidirectionalS, ::boost::listS >::vertex_descriptor Vertex
Definition: Rrt.h:112
virtual Neighbor nearest(const Tree &tree, const ::rl::math::Vector &chosen)
Definition: Rrt.cpp:265
bool areEqual(const ::rl::math::Vector &lhs, const ::rl::math::Vector &rhs) const
Definition: Rrt.cpp:88
::rl::math::Real epsilon
Epsilon for configuration comparison.
Definition: Rrt.h:84
Sampler * sampler
Definition: Rrt.h:86
static VertexBundle * get(const Tree &tree, const Vertex &v)
Definition: Rrt.cpp:203
virtual ::std::size_t getNumVertices() const
Definition: Rrt.cpp:234
NearestNeighbors * nn
Definition: Rrt.h:116
::std::pair< ::rl::math::Real, Vertex > Neighbor
Definition: Rrt.h:125
virtual ::std::size_t getNumEdges() const
Definition: Rrt.cpp:221
NearestNeighbors * getNearestNeighbors(const ::std::size_t &i) const
Definition: Rrt.cpp:215
virtual Vertex extend(Tree &tree, const Neighbor &nearest, const ::rl::math::Vector &chosen)
Definition: Rrt.cpp:180
void setNearestNeighbors(NearestNeighbors *nearestNeighbors, const ::std::size_t &i)
Definition: Rrt.cpp:287
VectorPtr q
Definition: Rrt.h:93
::std::shared_ptr< ::rl::math::Vector > VectorPtr
Definition: VectorPtr.h:37
::std::vector< Vertex > end
Definition: Rrt.h:149
::boost::graph_traits< Tree >::edge_iterator EdgeIterator
Definition: Rrt.h:121
Rrt(const ::std::size_t &trees=1)
Definition: Rrt.cpp:39
double Real
Definition: Real.h:42
virtual Edge addEdge(const Vertex &u, const Vertex &v, Tree &tree)
Definition: Rrt.cpp:55
::std::pair< VertexIterator, VertexIterator > VertexIteratorPair
Definition: Rrt.h:129
virtual ~Rrt()
Definition: Rrt.cpp:50
::std::vector< Vertex > begin
Definition: Rrt.h:147
virtual bool solve()
Find collision free path.
Definition: Rrt.cpp:293
Robotics Library.
Definition: AnalogInput.cpp:30