Specialized Template Function tf2::doTransform(const tf2::Stamped<KDL::Twist>&, tf2::Stamped<KDL::Twist>&, const geometry_msgs::msg::TransformStamped&)

Function Documentation

template<>
inline void tf2::doTransform(const tf2::Stamped<KDL::Twist> &t_in, tf2::Stamped<KDL::Twist> &t_out, const geometry_msgs::msg::TransformStamped &transform)

Apply a geometry_msgs TransformStamped to an KDL-specific Twist type. This function is a specialization of the doTransform template defined in tf2/convert.h.

Parameters:
  • t_in – The twist to transform, as a timestamped KDL Twist data type.

  • t_out – The transformed Twist, as a timestamped KDL Frame data type.

  • transform – The timestamped transform to apply, as a TransformStamped message.