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

Function Documentation

inline geometry_msgs::msg::WrenchStamped tf2::toMsg(const tf2::Stamped<KDL::Wrench> &in)

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

Parameters:

in – The timestamped KDL Wrench to convert.

Returns:

The wrench converted to a WrenchStamped message.