Function tf2::toMsg(const tf2::Quaternion&)
Defined in File tf2_geometry_msgs.hpp
Function Documentation
-
inline geometry_msgs::msg::Quaternion tf2::toMsg(const tf2::Quaternion &in)
Convert a tf2 Quaternion type to its equivalent geometry_msgs representation. This function is a specialization of the toMsg template defined in tf2/convert.h.
- Parameters:
in – A tf2 Quaternion object.
- Returns:
The Quaternion converted to a geometry_msgs message type.