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

Function Documentation

inline geometry_msgs::msg::TwistStamped tf2::toMsg(const tf2::Stamped<KDL::Twist> &in)

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

Parameters:

in – The timestamped KDL Twist to convert.

Returns:

The twist converted to a TwistStamped message.