20 #ifndef HPP_CONSTRAINTS_RELATIVE_COM_HH 21 # define HPP_CONSTRAINTS_RELATIVE_COM_HH 23 # include <boost/assign/list_of.hpp> 29 namespace constraints {
60 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
65 std::vector <bool> mask = std::vector<bool>(3,
true))
66 {
return create (
"RelativeCom", robot, joint, reference, mask); }
71 std::vector <bool> mask = std::vector<bool>(3,
true));
76 std::vector <bool> mask = std::vector<bool>(3,
true));
82 std::vector <bool> mask = std::vector<bool> (3,
true));
87 std::vector <bool> mask,
88 const std::string& name);
90 virtual std::ostream& print (std::ostream& o)
const;
106 std::vector <bool> mask_;
116 #endif // HPP_CONSTRAINTS_RELATIVE_COM_HH
Definition: active-set-differentiable-function.hh:24
pinocchio::DevicePtr_t DevicePtr_t
Definition: fwd.hh:97
pinocchio::ComJacobian_t ComJacobian_t
Definition: fwd.hh:50
pinocchio::vector3_t vector3_t
Definition: fwd.hh:40
pinocchio::ConfigurationIn_t ConfigurationIn_t
Definition: fwd.hh:94
pinocchio::JointPtr_t JointPtr_t
Definition: fwd.hh:38
Definition: differentiable-function.hh:52
virtual ~RelativeCom()
Definition: relative-com.hh:83
Definition: relative-com.hh:57
#define HPP_CONSTRAINTS_DLLAPI
Definition: config.hh:64
pinocchio::LiegroupElementRef LiegroupElementRef
Definition: fwd.hh:54
Eigen::Ref< matrix_t > matrixOut_t
Definition: fwd.hh:46
boost::shared_ptr< RelativeCom > RelativeComPtr_t
Definition: fwd.hh:112
static EIGEN_MAKE_ALIGNED_OPERATOR_NEW RelativeComPtr_t create(const DevicePtr_t &robot, const JointPtr_t &joint, const vector3_t reference, std::vector< bool > mask=std::vector< bool >(3, true))
Return a shared pointer to a new instance.
Definition: relative-com.hh:62
pinocchio::CenterOfMassComputationPtr_t CenterOfMassComputationPtr_t
Definition: fwd.hh:99