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

Function Documentation

template<typename B, IfTensorOfDim<B, 3>* = nullptr>
Matrix navtk::navutils::dcm_to_rpy(const B &dcm)

This is a batched version of dcm_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

dcm_to_rpy

Template Parameters
  • B – Type of input.

  • std::enable_if_t<> – Constrains B to be 3 dimensional.

Parameters

dcm – Direction cosine matrices, shape (N, 3, 3).

Returns

The equivalent Euler angle vectors, shape (N, 3).