Template Function navtk::navutils::rpy_to_quat(const B&)
Defined in File navigation.hpp
Function Documentation
-
template<typename B = Matrix, IfTensorOfDim<B, 2>* = nullptr>
Matrix navtk::navutils::rpy_to_quat(const B &rpy) This is a batched version of
rpy_to_quat.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 rpy, initializer list by default.
std::enable_if_t<> – Constrains B to be 2 dimensional.
- Parameters
rpy – The Euler angle vectors, shape (N, 3). Can accept initializer lists.
- Returns
The equivalent quaternions, shape (N, 4).