Function tf2::fromMsg(const geometry_msgs::msg::TwistStamped&, tf2::Stamped<KDL::Twist>&)

Function Documentation

inline void tf2::fromMsg(const geometry_msgs::msg::TwistStamped &msg, tf2::Stamped<KDL::Twist> &out)

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

Parameters:
  • msg – The TwistStamped message to convert.

  • out – The twist converted to a timestamped KDL Twist.