Template Function tf2::getCovarianceMatrix(const tf2::WithCovarianceStamped<P>&)

Function Documentation

template<class P>
std::array<std::array<double, 6>, 6> tf2::getCovarianceMatrix(const tf2::WithCovarianceStamped<P> &t)

Get the covariance matrix from data.

An implementation for WithCovarianceStamped

datatypes.

Parameters:

c[in] The data input.

Returns:

The covariance matrix associated with the data.