Specialized Template Function tf2::toMsg(const tf2::WithCovarianceStamped<tf2::Transform>&)

Function Documentation

template<>
inline geometry_msgs::msg::PoseWithCovarianceStamped tf2::toMsg(const tf2::WithCovarianceStamped<tf2::Transform> &in)

Convert a tf2 TransformWithCovarianceStamped type to its equivalent geometry_msgs representation. This function is a specialization of the toMsg template defined in tf2/convert.h.

Parameters:

in – A instance of the tf2::Transform specialization of the tf2::WithCovarianceStamped template.

Returns:

The TransformWithCovarianceStamped converted to a geometry_msgs PoseStamped message type.