Aikido
CartesianProductProjectable.hpp
Go to the documentation of this file.
1 #ifndef AIKIDO_CONSTRAINT_CARTESIANPRODUCTPROJECTABLE_HPP_
2 #define AIKIDO_CONSTRAINT_CARTESIANPRODUCTPROJECTABLE_HPP_
3 
6 
7 namespace aikido {
8 namespace constraint {
9 
14 {
15 public:
22  std::shared_ptr<const statespace::CartesianProduct> _stateSpace,
23  std::vector<ProjectablePtr> _constraints);
24 
25  // Documentation inherited.
27 
28  // Documentation inherited.
29  bool project(
31  statespace::StateSpace::State* _out) const override;
32 
33 private:
34  std::shared_ptr<const statespace::CartesianProduct> mStateSpace;
35  std::vector<ProjectablePtr> mConstraints;
36 };
37 
38 } // namespace constraint
39 } // namespace aikido
40 
41 #endif // ifndef AIKIDO_CONSTRAINT_CARTESIANPRODUCTPROJECTABLE_HPP_
aikido::constraint::CartesianProductProjectable::project
bool project(const statespace::StateSpace::State *_s, statespace::StateSpace::State *_out) const override
Projection _s to _out.
aikido::constraint::CartesianProductProjectable::mConstraints
std::vector< ProjectablePtr > mConstraints
Definition: CartesianProductProjectable.hpp:35
aikido
Format of serialized trajectory in YAML.
Definition: algorithm.hpp:4
aikido::statespace::ConstStateSpacePtr
std::shared_ptr< const StateSpace > ConstStateSpacePtr
Definition: StateSpace.hpp:15
aikido::constraint::CartesianProductProjectable::getStateSpace
statespace::ConstStateSpacePtr getStateSpace() const override
Gets the StateSpace that this constraint operates on.
CartesianProduct.hpp
aikido::constraint::Projectable
A projectable constraint.
Definition: Projectable.hpp:12
Projectable.hpp
aikido::constraint::CartesianProductProjectable::mStateSpace
std::shared_ptr< const statespace::CartesianProduct > mStateSpace
Definition: CartesianProductProjectable.hpp:34
aikido::constraint::CartesianProductProjectable::CartesianProductProjectable
CartesianProductProjectable(std::shared_ptr< const statespace::CartesianProduct > _stateSpace, std::vector< ProjectablePtr > _constraints)
Constructor.
aikido::statespace::StateSpace::State
Definition: StateSpace.hpp:167
aikido::constraint::CartesianProductProjectable
A Projectable for CompoundStates.
Definition: CartesianProductProjectable.hpp:13