Template Function pinocchio::hasSameIndexes
Defined in File joint-basic-visitors.hpp
Function Documentation
-
template<typename NewScalar, typename Scalar, int Options, template<typename S, int O> class JointCollectionTpl, typename JointModelDerived>
bool pinocchio::hasSameIndexes(const JointModelTpl<Scalar, Options, JointCollectionTpl> &jmodel_generic, const JointModelBase<JointModelDerived> &jmodel) Check whether JointModelTpl<Scalar,…> has the indexes than another JointModelDerived.
- Parameters:
jmodel_generic – [in] The generic joint model containing a variant.
jmodel – [in] The other joint modelto compare with
- Returns:
True if the two joints have the same indexes.