Go to the documentation of this file. 1 #ifndef AIKIDO_PLANNER_DART_CONFIGURATIONTOTSR_HPP_
2 #define AIKIDO_PLANNER_DART_CONFIGURATIONTOTSR_HPP_
4 #include <dart/dart.hpp>
39 ::dart::dynamics::ConstMetaSkeletonPtr metaSkeleton,
40 ::dart::dynamics::ConstBodyNodePtr endEffectorBodyNode,
41 std::size_t maxSamplingTries,
42 std::size_t batchSize,
43 std::size_t maxBatches,
44 std::size_t numMaxIterations,
68 ::dart::dynamics::ConstBodyNodePtr endEffectorBodyNode,
69 std::size_t maxSamplingTries,
70 std::size_t batchSize,
71 std::size_t maxBatches,
72 std::size_t numMaxIterations,
77 const std::string&
getType()
const override;
138 #endif // AIKIDO_PLANNER_DART_CONFIGURATIONTOTSR_HPP_
std::shared_ptr< const MetaSkeletonStateSpace > ConstMetaSkeletonStateSpacePtr
Definition: MetaSkeletonStateSpace.hpp:17
ConfigurationToTSR(statespace::dart::ConstMetaSkeletonStateSpacePtr stateSpace, ::dart::dynamics::ConstMetaSkeletonPtr metaSkeleton, ::dart::dynamics::ConstBodyNodePtr endEffectorBodyNode, std::size_t maxSamplingTries, std::size_t batchSize, std::size_t maxBatches, std::size_t numMaxIterations, constraint::dart::ConstTSRPtr goalTSR, constraint::ConstTestablePtr constraint=nullptr)
Constructor.
std::size_t getMaxSamplingTries() const
Returns the maximum number of times to try when sampling from the TSR.
std::size_t getNumMaxIterations() const
Returns the maximum number of iterations for the IK Solver.
Planning problem to plan to a given single Task Space Region (TSR).
Definition: ConfigurationToTSR.hpp:16
::dart::dynamics::ConstMetaSkeletonPtr mMetaSkeleton
MetaSkeleton, if given.
Definition: ConfigurationToTSR.hpp:110
Format of serialized trajectory in YAML.
Definition: algorithm.hpp:4
statespace::dart::ConstMetaSkeletonStateSpacePtr mMetaSkeletonStateSpace
MetaSkeletonStateSpace.
Definition: ConfigurationToTSR.hpp:107
std::shared_ptr< const TSR > ConstTSRPtr
Definition: TSR.hpp:17
const std::string & getType() const override
Returns type of this planning problem.
std::size_t mMaxSamplingTries
Maximum number of times to try when sampling from the TSR.
Definition: ConfigurationToTSR.hpp:119
static const std::string & getStaticType()
Returns the type of the planning problem.
statespace::dart::MetaSkeletonStateSpace::ScopedState mStartState
Start state, if set on construction.
Definition: ConfigurationToTSR.hpp:113
Base class for various planning problems.
Definition: Problem.hpp:13
constraint::dart::ConstTSRPtr getGoalTSR() const
Returns the goal TSR.
std::size_t mBatchSize
Number of TSR samples to include per batch.
Definition: ConfigurationToTSR.hpp:122
std::size_t mNumMaxIterations
Maximum number of iterations for the IK Solver.
Definition: ConfigurationToTSR.hpp:128
::dart::dynamics::ConstBodyNodePtr getEndEffectorBodyNode() const
Returns the end-effector BodyNode to be planned to move to a desired TSR.
A tuple of states where the i-th state is from the i-th subspace.
Definition: CartesianProduct.hpp:162
std::size_t getBatchSize() const
Returns the number of samples from the TSR to include per batch.
const statespace::dart::MetaSkeletonStateSpace::State * getStartState() const
Returns the start state to plan from, either set on construction or taken from the current state of t...
Definition: FrameMarker.hpp:11
std::size_t mMaxBatches
Maximum number of batches to run when planning to TSR samples.
Definition: ConfigurationToTSR.hpp:125
const constraint::dart::ConstTSRPtr mGoalTSR
Goal TSR.
Definition: ConfigurationToTSR.hpp:131
const ::dart::dynamics::ConstBodyNodePtr mEndEffectorBodyNode
End-effector body node.
Definition: ConfigurationToTSR.hpp:116
std::size_t getMaxBatches() const
Returns the maximum number of batches to run when planning to TSR samples.
std::shared_ptr< const Testable > ConstTestablePtr
Definition: Testable.hpp:13