Template Function pinocchio::isEqual(const JointModelTpl<Scalar, Options, JointCollectionTpl>&, const JointModelBase<JointModelDerived>&)
Defined in File joint-basic-visitors.hpp
Function Documentation
-
template<typename Scalar, int Options, template<typename S, int O> class JointCollectionTpl, typename JointModelDerived>
bool pinocchio::isEqual(const JointModelTpl<Scalar, Options, JointCollectionTpl> &jmodel_generic, const JointModelBase<JointModelDerived> &jmodel) Visit a JointModelTpl<Scalar,…> to compare it to JointModelDerived.
- Parameters:
jmodel_generic – [in] The generic joint model containing a variant.
jmodel – [in] The other joint model for the comparison.
- Returns:
True if the two joint models are equal.