Template Function pinocchio::idx_q

Function Documentation

template<typename Scalar, int Options, template<typename S, int O> class JointCollectionTpl>
inline int pinocchio::idx_q(const JointModelTpl<Scalar, Options, JointCollectionTpl> &jmodel)

Visit a JointModelTpl through JointIdxQVisitor to get the index in the full model configuration space corresponding to the first degree of freedom of the Joint.

Parameters:

jmodel[in] The JointModelVariant

Returns:

The index in the full model configuration space corresponding to the first degree of freedom of jmodel