Aikido
ConfigurationToConfigurations.hpp
Go to the documentation of this file.
1 #ifndef AIKIDO_PLANNER_DART_CONFIGURATIONTOCONFIGURATIONS_HPP_
2 #define AIKIDO_PLANNER_DART_CONFIGURATIONTOCONFIGURATIONS_HPP_
3 
4 #include <dart/dart.hpp>
5 
9 
10 namespace aikido {
11 namespace planner {
12 namespace dart {
13 
16 {
17 public:
18  using GoalStates
19  = std::vector<const statespace::dart::MetaSkeletonStateSpace::State*>;
20 
31  ::dart::dynamics::ConstMetaSkeletonPtr metaSkeleton,
32  const GoalStates& goalStates,
33  constraint::ConstTestablePtr constraint = nullptr);
34 
45  const GoalStates& goalStates,
46  constraint::ConstTestablePtr constraint = nullptr);
47 
48  // Documentation inherited.
49  const std::string& getType() const override;
50 
52  static const std::string& getStaticType();
53 
56 
58  std::size_t getNumGoalStates() const;
59 
61  GoalStates getGoalStates() const;
62 
63 protected:
67 
69  ::dart::dynamics::ConstMetaSkeletonPtr mMetaSkeleton;
70 
73 
75  std::vector<statespace::dart::MetaSkeletonStateSpace::ScopedState>
77 };
78 
79 } // namespace dart
80 } // namespace planner
81 } // namespace aikido
82 
83 #endif // AIKIDO_PLANNER_DART_CONFIGURATIONTOCONFIGURATIONS_HPP_
aikido::planner::dart::ConfigurationToConfigurations::mGoalStates
std::vector< statespace::dart::MetaSkeletonStateSpace::ScopedState > mGoalStates
Goal States.
Definition: ConfigurationToConfigurations.hpp:76
aikido::statespace::dart::ConstMetaSkeletonStateSpacePtr
std::shared_ptr< const MetaSkeletonStateSpace > ConstMetaSkeletonStateSpacePtr
Definition: MetaSkeletonStateSpace.hpp:17
aikido::planner::dart::ConfigurationToConfigurations
Planning problem to plan to multiple goal configurations.
Definition: ConfigurationToConfigurations.hpp:15
aikido::planner::dart::ConfigurationToConfigurations::GoalStates
std::vector< const statespace::dart::MetaSkeletonStateSpace::State * > GoalStates
Definition: ConfigurationToConfigurations.hpp:19
aikido::planner::dart::ConfigurationToConfigurations::mMetaSkeleton
::dart::dynamics::ConstMetaSkeletonPtr mMetaSkeleton
MetaSkeleton, if given.
Definition: ConfigurationToConfigurations.hpp:69
aikido
Format of serialized trajectory in YAML.
Definition: algorithm.hpp:4
aikido::planner::dart::ConfigurationToConfigurations::mMetaSkeletonStateSpace
statespace::dart::ConstMetaSkeletonStateSpacePtr mMetaSkeletonStateSpace
MetaSkeletonStateSpace.
Definition: ConfigurationToConfigurations.hpp:66
aikido::planner::dart::ConfigurationToConfigurations::getType
const std::string & getType() const override
Returns type of this planning problem.
Problem.hpp
aikido::planner::dart::ConfigurationToConfigurations::getStartState
const statespace::dart::MetaSkeletonStateSpace::State * getStartState() const
Returns the start state.
aikido::planner::dart::ConfigurationToConfigurations::getStaticType
static const std::string & getStaticType()
Returns the type of the planning problem.
aikido::planner::Problem
Base class for various planning problems.
Definition: Problem.hpp:13
aikido::statespace::ScopedState< StateHandle >
aikido::statespace::CartesianProduct::State
A tuple of states where the i-th state is from the i-th subspace.
Definition: CartesianProduct.hpp:162
aikido::planner::dart::ConfigurationToConfigurations::getNumGoalStates
std::size_t getNumGoalStates() const
Returns the number of the goal states.
Testable.hpp
MetaSkeletonStateSpace.hpp
aikido::planner::dart::ConfigurationToConfigurations::ConfigurationToConfigurations
ConfigurationToConfigurations(statespace::dart::ConstMetaSkeletonStateSpacePtr stateSpace, ::dart::dynamics::ConstMetaSkeletonPtr metaSkeleton, const GoalStates &goalStates, constraint::ConstTestablePtr constraint=nullptr)
Constructor.
dart
Definition: FrameMarker.hpp:11
aikido::planner::dart::ConfigurationToConfigurations::mStartState
statespace::dart::MetaSkeletonStateSpace::ScopedState mStartState
Start state.
Definition: ConfigurationToConfigurations.hpp:72
aikido::planner::dart::ConfigurationToConfigurations::getGoalStates
GoalStates getGoalStates() const
Returns goal states.
aikido::constraint::ConstTestablePtr
std::shared_ptr< const Testable > ConstTestablePtr
Definition: Testable.hpp:13