Specialized Template Function tf2::fromMsg(const geometry_msgs::msg::PoseWithCovarianceStamped&, tf2::WithCovarianceStamped<tf2::Transform>&)

Function Documentation

template<>
inline void tf2::fromMsg(const geometry_msgs::msg::PoseWithCovarianceStamped &in, tf2::WithCovarianceStamped<tf2::Transform> &out)

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

Parameters:
  • in – A PoseWithCovarianceStamped message type.

  • out – The PoseWithCovarianceStamped converted to the equivalent tf2 type.