Function tf2::fromMsg(const geometry_msgs::msg::TransformStamped&, geometry_msgs::msg::TransformStamped&)

Function Documentation

inline void tf2::fromMsg(const geometry_msgs::msg::TransformStamped &msg, geometry_msgs::msg::TransformStamped &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.