Function tf2::kdlToTransform

Function Documentation

inline geometry_msgs::msg::TransformStamped tf2::kdlToTransform(const KDL::Frame &k)

Convert an KDL Frame to the equivalent geometry_msgs message type.

Parameters:

k – The transform to convert, as an KDL Frame.

Returns:

The transform converted to a TransformStamped message.