Function tf2::toMsg(const tf2::Transform&, geometry_msgs::msg::Pose&)

Function Documentation

inline void tf2::toMsg(const tf2::Transform &in, geometry_msgs::msg::Pose &out)

Convert a tf2 Transform type to an equivalent geometry_msgs Pose message.

Parameters:
  • in – A tf2 Transform object.

  • out – The Transform converted to a geometry_msgs Pose message type.