Template Function pinocchio::quaternion::isNormalized
Defined in File quaternion.hpp
Function Documentation
-
template<typename Quaternion>
inline bool pinocchio::quaternion::isNormalized(const Eigen::QuaternionBase<Quaternion> &quat, const typename Quaternion::Coefficients::RealScalar &prec = Eigen::NumTraits<typename Quaternion::Coefficients::RealScalar>::dummy_precision()) Check whether the input quaternion is Normalized within the given precision.
- Parameters:
quat – [in] Input quaternion
prec – [in] Required precision
- Returns:
true if quat is normalized within the precision prec.