Function tf2::toMsg(const tf2::Stamped<KDL::Vector>&)

Function Documentation

inline geometry_msgs::msg::PointStamped tf2::toMsg(const tf2::Stamped<KDL::Vector> &in)

Convert a stamped KDL Vector type to a PointStamped message. This function is a specialization of the toMsg template defined in tf2/convert.h.

Parameters:

in – The timestamped KDL Vector to convert.

Returns:

The vector converted to a PointStamped message.