Template Function navtk::navutils::rpy_to_dcm(const B&)

Function Documentation

template<typename B = Matrix, IfTensorOfDim<B, 2>* = nullptr>
Tensor<3> navtk::navutils::rpy_to_dcm(const B &rpy)

This is a batched version of rpy_to_dcm.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

See also

rpy_to_dcm

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 dcms, shape (N, 3, 3).