Specialized Template Function tf2::getCovarianceMatrix(const geometry_msgs::msg::PoseWithCovariance&)
Defined in File tf2_geometry_msgs.hpp
Function Documentation
-
template<>
inline std::array<std::array<double, 6>, 6> tf2::getCovarianceMatrix(const geometry_msgs::msg::PoseWithCovariance &t) Extract a covariance matrix from a PoseWithCovariance message. This function is a specialization of the getCovarianceMatrix template defined in tf2/convert.h.
PoseWithCovariance
- Parameters:
t – PoseWithCovariance message to extract the covariance matrix from.
- Returns:
A nested-array representation of the covariance matrix from the message.