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

Function Documentation

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

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

Parameters:
  • in – A QuaternionStamped message type.

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