Aikido
JointStateSpaceHelpers.hpp
Go to the documentation of this file.
1 #ifndef AIKIDO_CONSTRAINT_DART_JOINTSTATESPACEHELPERS_HPP_
2 #define AIKIDO_CONSTRAINT_DART_JOINTSTATESPACEHELPERS_HPP_
3 
10 
11 namespace aikido {
12 namespace constraint {
13 namespace dart {
14 
17 template <class Space>
18 std::unique_ptr<Differentiable> createDifferentiableBoundsFor(
19  std::shared_ptr<Space> _stateSpace);
20 
26 std::unique_ptr<Differentiable> createDifferentiableBounds(
27  std::shared_ptr<const statespace::dart::JointStateSpace> _stateSpace);
28 
35 std::unique_ptr<Differentiable> createDifferentiableBounds(
37 
41 template <class Space>
42 std::unique_ptr<Projectable> createProjectableBoundsFor(
43  std::shared_ptr<Space> _stateSpace);
44 
50 std::unique_ptr<Projectable> createProjectableBounds(
51  std::shared_ptr<const statespace::dart::JointStateSpace> _stateSpace);
52 
58 std::unique_ptr<Projectable> createProjectableBounds(
60 
64 template <class Space>
65 std::unique_ptr<Testable> createTestableBoundsFor(
66  std::shared_ptr<Space> _stateSpace);
67 
72 std::unique_ptr<Testable> createTestableBounds(
73  std::shared_ptr<const statespace::dart::JointStateSpace> _stateSpace);
74 
80 std::unique_ptr<Testable> createTestableBounds(
82 
87 template <class Space>
88 std::unique_ptr<Sampleable> createSampleableBoundsFor(
89  std::shared_ptr<Space> _stateSpace, std::unique_ptr<common::RNG> _rng);
90 
97 std::unique_ptr<Sampleable> createSampleableBounds(
98  std::shared_ptr<const statespace::dart::JointStateSpace> _stateSpace,
99  std::unique_ptr<common::RNG> _rng);
100 
107 std::unique_ptr<Sampleable> createSampleableBounds(
109  std::unique_ptr<common::RNG> _rng);
110 
111 } // namespace dart
112 } // namespace constraint
113 } // namespace aikido
114 
115 #include "detail/JointStateSpaceHelpers-impl.hpp"
116 
117 #endif // AIKIDO_CONSTRAINT_DART_JOINTSTATESPACEHELPERS_HPP_
aikido::statespace::dart::ConstMetaSkeletonStateSpacePtr
std::shared_ptr< const MetaSkeletonStateSpace > ConstMetaSkeletonStateSpacePtr
Definition: MetaSkeletonStateSpace.hpp:17
aikido::constraint::dart::createSampleableBounds
std::unique_ptr< Sampleable > createSampleableBounds(std::shared_ptr< const statespace::dart::JointStateSpace > _stateSpace, std::unique_ptr< common::RNG > _rng)
Create a Sampleabe constraint that can be used to sample values for the joint that are guarenteed to ...
aikido
Format of serialized trajectory in YAML.
Definition: algorithm.hpp:4
Differentiable.hpp
aikido::constraint::dart::createSampleableBoundsFor
std::unique_ptr< Sampleable > createSampleableBoundsFor(std::shared_ptr< Space > _stateSpace, std::unique_ptr< common::RNG > _rng)
Create a Sampleable constraint that can be used to sample a state that is guarenteed to lie within bo...
Definition: JointStateSpaceHelpers-impl.hpp:544
aikido::constraint::dart::createProjectableBoundsFor
std::unique_ptr< Projectable > createProjectableBoundsFor(std::shared_ptr< Space > _stateSpace)
Create a Projectable that can be used to project a state from the given StateSpace back within bounds...
Definition: JointStateSpaceHelpers-impl.hpp:526
Sampleable.hpp
aikido::constraint::dart::createDifferentiableBounds
std::unique_ptr< Differentiable > createDifferentiableBounds(std::shared_ptr< const statespace::dart::JointStateSpace > _stateSpace)
Create differentiable bounds that can be applied to the given StateSpace The differentiable bounds ar...
JointStateSpace.hpp
Projectable.hpp
aikido::constraint::dart::createTestableBoundsFor
std::unique_ptr< Testable > createTestableBoundsFor(std::shared_ptr< Space > _stateSpace)
Create a Testable constraint that can be used to determine if a given state lies within bounds set on...
Definition: JointStateSpaceHelpers-impl.hpp:535
aikido::constraint::dart::createDifferentiableBoundsFor
std::unique_ptr< Differentiable > createDifferentiableBoundsFor(std::shared_ptr< Space > _stateSpace)
Create differentiable bounds that can be applied to the given StateSpace.
Definition: JointStateSpaceHelpers-impl.hpp:517
aikido::constraint::dart::createTestableBounds
std::unique_ptr< Testable > createTestableBounds(std::shared_ptr< const statespace::dart::JointStateSpace > _stateSpace)
Create a Testable constraint that can be used to determine if the value of a joint is within the join...
Testable.hpp
MetaSkeletonStateSpace.hpp
dart
Definition: FrameMarker.hpp:11
aikido::constraint::dart::createProjectableBounds
std::unique_ptr< Projectable > createProjectableBounds(std::shared_ptr< const statespace::dart::JointStateSpace > _stateSpace)
Create a Projectable that can be used to project the value of a joint back within joint limits.