Template Function navtk::navutils::quat_to_rpy(const B&)
Defined in File navigation.hpp
Function Documentation
-
template<typename B = Matrix, IfTensorOfDim<B, 2>* = nullptr>
Matrix navtk::navutils::quat_to_rpy(const B &quat) This is a batched version of
quat_to_rpy.This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
See also
- Template Parameters
B – Type of quat, initializer list by default.
std::enable_if_t<> – Constrains B to be 2 dimensional.
- Parameters
quat – The input quaternions, shape (N, 4). Can accept initializer lists.
- Returns
The equivalent Euler angle vectors, shape (N, 3).