Aikido
|
A meta planner that solves a problem using the sub planners one-by-one sequentially and returns the first successfully planned trajectory. More...
#include <aikido/planner/SequenceMetaPlanner.hpp>
Public Member Functions | |
trajectory::TrajectoryPtr | plan (const Problem &problem, Result *result=nullptr) override |
Solves problem returning the result to result . More... | |
CompositePlanner (statespace::ConstStateSpacePtr stateSpace, const std::vector< PlannerPtr > &planners=std::vector< PlannerPtr >()) | |
Constructs given list of planners. More... | |
![]() | |
CompositePlanner (statespace::ConstStateSpacePtr stateSpace, const std::vector< PlannerPtr > &planners=std::vector< PlannerPtr >()) | |
Constructs given list of planners. More... | |
bool | hasPlanner (const Planner &planner) const |
Returns true if this CompositePlanner contains planner . More... | |
bool | canSolve (const Problem &problem) const override |
Returns true if this planner can solve problem . More... | |
![]() | |
Planner (statespace::ConstStateSpacePtr stateSpace, common::RNG *rng=nullptr) | |
Constructs from a state space. More... | |
virtual | ~Planner ()=default |
Default destructor. More... | |
statespace::ConstStateSpacePtr | getStateSpace () const |
Returns const state space. More... | |
common::RNG * | getRng () |
Returns RNG. More... | |
Additional Inherited Members | |
![]() | |
const std::vector< PlannerPtr > | mPlanners |
Planners. More... | |
![]() | |
statespace::ConstStateSpacePtr | mStateSpace |
State space associated with this planner. More... | |
std::unique_ptr< common::RNG > | mRng |
RNG the planner uses. More... | |
A meta planner that solves a problem using the sub planners one-by-one sequentially and returns the first successfully planned trajectory.
aikido::planner::CompositePlanner::CompositePlanner |
Constructs given list of planners.
[in] | stateSpace | State space that this planner associated with. |
[in] | planners | Planners that this CompositePlanner will contain. |
If | any of planners are null. |
|
overridevirtual |
Solves problem
returning the result to result
.
[in] | problem | Planning problem to be solved by the planner. |
[out] | result | Result of planning procedure. |
Implements aikido::planner::Planner.