Function tf2::fromMsg(const geometry_msgs::msg::QuaternionStamped&, Stamped<Eigen::Quaterniond>&)

Function Documentation

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

Convert a QuaternionStamped message type to a stamped Eigen-specific Quaterniond type. This function is a specialization of the fromMsg template defined in tf2/convert.h.

Parameters:
  • msg – The QuaternionStamped message to convert.

  • out – The quaternion converted to a timestamped Eigen Quaterniond.