Template Function tf2::toMsg

Function Documentation

template<typename Derived>
inline void tf2::toMsg(const Eigen::MatrixBase<Derived> &covariance, std::array<double, 36> &msg)

Convert a 3x3 covariance matrix into a 6x6 covariance message.

Parameters:
  • covariance[in] 3x3 covariance matrix.

  • msg[out] 6x6 covariance message, which is stored as a plain array with 36 elements.