31 #ifndef HPP_CONSTRAINTS_COM_BETWEEN_FEET_HH
32 #define HPP_CONSTRAINTS_COM_BETWEEN_FEET_HH
41 namespace constraints {
69 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
77 std::vector<bool> mask = {
true,
true,
true,
true});
86 std::vector<bool> mask = {
true,
true,
true,
true});
95 std::vector<bool> mask);
112 if (robot_ != castother.robot_)
return false;
113 if (com_->centerOfMassComputation() !=
114 castother.com_->centerOfMassComputation())
116 if (left_->joint() != castother.left_->joint())
return false;
117 if (right_->joint() != castother.right_->joint())
return false;
118 if (left_->local() != castother.left_->local())
return false;
119 if (right_->local() != castother.right_->local())
return false;
120 if (jointRef_ != castother.jointRef_)
return false;
121 if (pointRef_ != castother.pointRef_)
return false;
122 if (mask_ != castother.mask_)
return false;
145 std::vector<bool> mask_;
Definition: com-between-feet.hh:67
static ComBetweenFeetPtr_t create(const std::string &name, const DevicePtr_t &robot, const CenterOfMassComputationPtr_t &comc, const JointPtr_t &jointLeft, const JointPtr_t &jointRight, const vector3_t pointLeft, const vector3_t pointRight, const JointPtr_t &jointReference, const vector3_t pointRef, std::vector< bool > mask={true, true, true, true})
Return a shared pointer to a new instance.
virtual void impl_compute(LiegroupElementRef result, ConfigurationIn_t argument) const
virtual void impl_jacobian(matrixOut_t jacobian, ConfigurationIn_t arg) const
bool isEqual(const DifferentiableFunction &other) const
Definition: com-between-feet.hh:107
static EIGEN_MAKE_ALIGNED_OPERATOR_NEW ComBetweenFeetPtr_t create(const std::string &name, const DevicePtr_t &robot, const JointPtr_t &jointLeft, const JointPtr_t &jointRight, const vector3_t pointLeft, const vector3_t pointRight, const JointPtr_t &jointReference, const vector3_t pointRef, std::vector< bool > mask={true, true, true, true})
Return a shared pointer to a new instance.
ComBetweenFeet(const std::string &name, const DevicePtr_t &robot, const CenterOfMassComputationPtr_t &comc, const JointPtr_t &jointLeft, const JointPtr_t &jointRight, const vector3_t pointLeft, const vector3_t pointRight, const JointPtr_t &jointReference, const vector3_t pointRef, std::vector< bool > mask)
virtual ~ComBetweenFeet()
Definition: com-between-feet.hh:88
Cross product of two expressions.
Definition: symbolic-calculus.hh:294
Difference of two expressions.
Definition: symbolic-calculus.hh:387
Definition: differentiable-function.hh:63
virtual bool isEqual(const DifferentiableFunction &other) const
Definition: differentiable-function.hh:206
Sum of two expressions.
Definition: symbolic-calculus.hh:429
Definition: symbolic-calculus.hh:126
HPP_CONSTRAINTS_CB_REF< Class > Ptr_t
Definition: symbolic-calculus.hh:127
#define HPP_CONSTRAINTS_DLLAPI
Definition: config.hh:88
Eigen::Matrix< value_type, 3, 1 > vector3_t
Definition: fwd.hh:73
Eigen::Matrix< value_type, 3, 3 > matrix3_t
Definition: fwd.hh:72
shared_ptr< ComBetweenFeet > ComBetweenFeetPtr_t
Definition: fwd.hh:121
pinocchio::vector3_t vector3_t
Definition: fwd.hh:52
pinocchio::DevicePtr_t DevicePtr_t
Definition: fwd.hh:109
pinocchio::ConfigurationIn_t ConfigurationIn_t
Definition: fwd.hh:106
Eigen::Ref< matrix_t > matrixOut_t
Definition: fwd.hh:58
pinocchio::CenterOfMassComputationPtr_t CenterOfMassComputationPtr_t
Definition: fwd.hh:112
pinocchio::LiegroupElementRef LiegroupElementRef
Definition: fwd.hh:66
pinocchio::JointPtr_t JointPtr_t
Definition: fwd.hh:49
Definition: active-set-differentiable-function.hh:36