Function tf2::fromMsg(const geometry_msgs::msg::TransformStamped&, tf2::Stamped<tf2::Transform>&)

Function Documentation

inline void tf2::fromMsg(const geometry_msgs::msg::TransformStamped &in, tf2::Stamped<tf2::Transform> &out)

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

Parameters:
  • msg – A TransformStamped message type.

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