Function tf2::fromMsg(const geometry_msgs::msg::PoseStamped&, tf2::Stamped<Eigen::Affine3d>&)

Function Documentation

inline void tf2::fromMsg(const geometry_msgs::msg::PoseStamped &msg, tf2::Stamped<Eigen::Affine3d> &out)

Convert a Pose message transform type to a stamped Eigen Affine3d. This function is a specialization of the toMsg template defined in tf2/convert.h.

Parameters:
  • msg – The PoseStamped message to convert.

  • out – The pose converted to a timestamped Eigen Affine3d.