Go to the documentation of this file. 1 #ifndef AIKIDO_CONSTRAINT_DIFFERENTIABLEINTERSECTION_HPP_
2 #define AIKIDO_CONSTRAINT_DIFFERENTIABLEINTERSECTION_HPP_
12 namespace constraint {
20 std::vector<DifferentiablePtr> _constraints,
33 Eigen::MatrixXd& _out)
const override;
44 Eigen::VectorXd& _val,
45 Eigen::MatrixXd& _jac)
const override;
A differentiable constraint.
Definition: Differentiable.hpp:27
void getValueAndJacobian(const statespace::StateSpace::State *_s, Eigen::VectorXd &_val, Eigen::MatrixXd &_jac) const override
Get both Value and Jacobian.
Format of serialized trajectory in YAML.
Definition: algorithm.hpp:4
std::shared_ptr< const StateSpace > ConstStateSpacePtr
Definition: StateSpace.hpp:15
DifferentiableIntersection(std::vector< DifferentiablePtr > _constraints, statespace::ConstStateSpacePtr _stateSpace)
statespace::ConstStateSpacePtr getStateSpace() const override
Gets the StateSpace that this constraint operates on.
std::vector< DifferentiablePtr > mConstraints
Definition: DifferentiableIntersection.hpp:48
void getJacobian(const statespace::StateSpace::State *_s, Eigen::MatrixXd &_out) const override
Get the jacobian of constraints evaluated at _s, expressed in the frame each state space is expressed...
statespace::ConstStateSpacePtr mStateSpace
Definition: DifferentiableIntersection.hpp:49
std::vector< ConstraintType > getConstraintTypes() const override
Returns a vector of constraints' types, i-th element correspoinding to the type of i-th constraint.
std::size_t getConstraintDimension() const override
Size of constraints.
Contains n constraints that take the same statespace.
Definition: DifferentiableIntersection.hpp:16
void getValue(const statespace::StateSpace::State *_s, Eigen::VectorXd &_out) const override
Get the value of constraints at _s.
Definition: StateSpace.hpp:167