joint/constraint: add static constructor

parent 79c938f5
......@@ -74,6 +74,11 @@ namespace pinocchio
YOU_CALLED_A_FIXED_SIZE_METHOD_ON_A_DYNAMIC_SIZE_MATRIX_OR_VECTOR)
}
static ConstraintTpl Zero(const int dim)
{
return ConstraintTpl(dim);
}
template<typename VectorLike>
JointMotion __mult__(const Eigen::MatrixBase<VectorLike> & vj) const
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment