Aikido
|
Base class for various planning problems. More...
#include <aikido/planner/Problem.hpp>
Public Member Functions | |
Problem (statespace::ConstStateSpacePtr stateSpace, constraint::ConstTestablePtr constraint=nullptr) | |
Constructor. More... | |
virtual | ~Problem ()=default |
Destructor. More... | |
virtual const std::string & | getType () const =0 |
Returns type of this planning problem. More... | |
statespace::ConstStateSpacePtr | getStateSpace () const |
Returns const state space. More... | |
constraint::ConstTestablePtr | getConstraint () const |
Returns the constraint that must be satisfied throughout the trajectory. More... | |
Protected Attributes | |
statespace::ConstStateSpacePtr | mStateSpace |
State space associated with this problem. More... | |
constraint::ConstTestablePtr | mConstraint |
Trajectory-wide constraint that must be satisfied. More... | |
Base class for various planning problems.
aikido::planner::Problem::Problem | ( | statespace::ConstStateSpacePtr | stateSpace, |
constraint::ConstTestablePtr | constraint = nullptr |
||
) |
Constructor.
[in] | stateSpace | State space that this problem associated with. |
[in] | constraint | Trajectory-wide constraint that must be satisfied. If null is passed, constraint::Satisfied is created by default where constraint::Satisfied always returns true for the satisfaction query. |
If | stateSpace is null. |
If | The state space of constraint doesn't agree with statespace . |
|
virtualdefault |
Destructor.
constraint::ConstTestablePtr aikido::planner::Problem::getConstraint | ( | ) | const |
Returns the constraint that must be satisfied throughout the trajectory.
statespace::ConstStateSpacePtr aikido::planner::Problem::getStateSpace | ( | ) | const |
Returns const state space.
|
pure virtual |
Returns type of this planning problem.
Implemented in aikido::planner::dart::ConfigurationToEndEffectorOffset, aikido::planner::dart::ConfigurationToTSR, aikido::planner::dart::ConfigurationToEndEffectorPose, aikido::planner::dart::ConfigurationToConfiguration, aikido::planner::ConfigurationToConfigurations, and aikido::planner::ConfigurationToConfiguration.
|
protected |
Trajectory-wide constraint that must be satisfied.
|
protected |
State space associated with this problem.