hpp-core
4.9.0
Implement basic classes for canonical path planning for kinematic chains.
|
#include <hpp/core/problem-target.hh>
Public Member Functions | |
virtual | ~ProblemTarget () |
virtual void | check (const RoadmapPtr_t &roadmap) const =0 |
Check if the problem target is well specified. More... | |
virtual bool | reached (const RoadmapPtr_t &roadmap) const =0 |
Check whether the problem is solved. More... | |
virtual PathVectorPtr_t | computePath (const RoadmapPtr_t &roadmap) const =0 |
void | problem (const ProblemPtr_t &problem) |
Set the problem. More... | |
Protected Member Functions | |
ProblemTarget (const ProblemPtr_t &problem) | |
Constructor. More... | |
void | init (const ProblemTargetWkPtr_t &weak) |
Store weak pointer to itself. More... | |
Protected Attributes | |
ProblemWkPtr_t | problem_ |
Reference to the planner for access to problem and roadmap. More... | |
ProblemTargetWkPtr_t | weakPtr_ |
Store weak pointer to itself. More... | |
Problem target
This abstract class defines the goal to be reached by a planning algorithm.
|
inlinevirtual |
|
inlineprotected |
Constructor.
|
pure virtual |
Check if the problem target is well specified.
Implemented in hpp::core::problemTarget::TaskTarget, and hpp::core::problemTarget::GoalConfigurations.
|
pure virtual |
Returns the solution path found. Should be called when reached() returns true.
Implemented in hpp::core::problemTarget::TaskTarget, and hpp::core::problemTarget::GoalConfigurations.
|
inlineprotected |
Store weak pointer to itself.
|
inline |
Set the problem.
|
pure virtual |
Check whether the problem is solved.
Implemented in hpp::core::problemTarget::TaskTarget, and hpp::core::problemTarget::GoalConfigurations.
|
protected |
Reference to the planner for access to problem and roadmap.
|
protected |
Store weak pointer to itself.