Aikido
|
Planning problem to plan to a desired end-effector pose. More...
#include <aikido/planner/dart/ConfigurationToEndEffectorPose.hpp>
Public Member Functions | |
ConfigurationToEndEffectorPose (statespace::dart::ConstMetaSkeletonStateSpacePtr stateSpace, ::dart::dynamics::ConstMetaSkeletonPtr metaSkeleton, ::dart::dynamics::ConstBodyNodePtr endEffectorBodyNode, const Eigen::Isometry3d &goalPose, constraint::ConstTestablePtr constraint=nullptr) | |
Constructor. More... | |
ConfigurationToEndEffectorPose (statespace::dart::ConstMetaSkeletonStateSpacePtr stateSpace, const statespace::dart::MetaSkeletonStateSpace::State *startState, ::dart::dynamics::ConstBodyNodePtr endEffectorBodyNode, const Eigen::Isometry3d &goalPose, constraint::ConstTestablePtr constraint=nullptr) | |
Constructor. More... | |
const std::string & | getType () const override |
Returns type of this planning problem. More... | |
::dart::dynamics::ConstBodyNodePtr | getEndEffectorBodyNode () const |
Returns the end-effector BodyNode to be planned to move to a desired pose. More... | |
const statespace::dart::MetaSkeletonStateSpace::State * | getStartState () const |
Return the start state to plan from, either set on construction or taken from the current state of the MetaSkeleton. More... | |
const Eigen::Isometry3d & | getGoalPose () const |
Returns the goal pose. More... | |
![]() | |
Problem (statespace::ConstStateSpacePtr stateSpace, constraint::ConstTestablePtr constraint=nullptr) | |
Constructor. More... | |
virtual | ~Problem ()=default |
Destructor. 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... | |
Static Public Member Functions | |
static const std::string & | getStaticType () |
Returns the type of the planning problem. More... | |
Protected Attributes | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW statespace::dart::ConstMetaSkeletonStateSpacePtr | mMetaSkeletonStateSpace |
MetaSkeletonStateSpace. More... | |
::dart::dynamics::ConstMetaSkeletonPtr | mMetaSkeleton |
MetaSkeleton, if given. More... | |
statespace::dart::MetaSkeletonStateSpace::ScopedState | mStartState |
Start state, if set on construction. More... | |
const ::dart::dynamics::ConstBodyNodePtr | mEndEffectorBodyNode |
End-effector body node. More... | |
const Eigen::Isometry3d | mGoalPose |
Goal pose. More... | |
![]() | |
statespace::ConstStateSpacePtr | mStateSpace |
State space associated with this problem. More... | |
constraint::ConstTestablePtr | mConstraint |
Trajectory-wide constraint that must be satisfied. More... | |
Planning problem to plan to a desired end-effector pose.
aikido::planner::dart::ConfigurationToEndEffectorPose::ConfigurationToEndEffectorPose | ( | statespace::dart::ConstMetaSkeletonStateSpacePtr | stateSpace, |
::dart::dynamics::ConstMetaSkeletonPtr | metaSkeleton, | ||
::dart::dynamics::ConstBodyNodePtr | endEffectorBodyNode, | ||
const Eigen::Isometry3d & | goalPose, | ||
constraint::ConstTestablePtr | constraint = nullptr |
||
) |
Constructor.
Note that this constructor takes the start state from the current state of the passed MetaSkeleton.
[in] | stateSpace | State space. |
[in] | metaSkeleton | MetaSkeleton that getStartState will return the current state of when called. |
[in] | endEffectorBodyNode | BodyNode to be planned to move to a desired pose. |
[in] | goalPose | Goal pose. |
If | stateSpace is not compatible with constraint's state space. |
aikido::planner::dart::ConfigurationToEndEffectorPose::ConfigurationToEndEffectorPose | ( | statespace::dart::ConstMetaSkeletonStateSpacePtr | stateSpace, |
const statespace::dart::MetaSkeletonStateSpace::State * | startState, | ||
::dart::dynamics::ConstBodyNodePtr | endEffectorBodyNode, | ||
const Eigen::Isometry3d & | goalPose, | ||
constraint::ConstTestablePtr | constraint = nullptr |
||
) |
Constructor.
Note that this constructor sets the start state on construction.
[in] | stateSpace | State space. |
[in] | startState | Start state to plan from. |
[in] | endEffectorBodyNode | BodyNode to be planned to move to a desired pose. |
[in] | goalPose | Goal pose. |
If | stateSpace is not compatible with constraint's state space. |
::dart::dynamics::ConstBodyNodePtr aikido::planner::dart::ConfigurationToEndEffectorPose::getEndEffectorBodyNode | ( | ) | const |
Returns the end-effector BodyNode to be planned to move to a desired pose.
const Eigen::Isometry3d& aikido::planner::dart::ConfigurationToEndEffectorPose::getGoalPose | ( | ) | const |
Returns the goal pose.
const statespace::dart::MetaSkeletonStateSpace::State* aikido::planner::dart::ConfigurationToEndEffectorPose::getStartState | ( | ) | const |
Return the start state to plan from, either set on construction or taken from the current state of the MetaSkeleton.
|
static |
Returns the type of the planning problem.
|
overridevirtual |
Returns type of this planning problem.
Implements aikido::planner::Problem.
|
protected |
End-effector body node.
|
protected |
Goal pose.
|
protected |
MetaSkeleton, if given.
|
protected |
MetaSkeletonStateSpace.
Prevents use of expensive dynamic cast on mStateSpace.
|
protected |
Start state, if set on construction.