Specialized Template Function tf2::doTransform(const geometry_msgs::msg::TwistWithCovarianceStamped&, geometry_msgs::msg::TwistWithCovarianceStamped&, const geometry_msgs::msg::TransformStamped&)

Function Documentation

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

Apply a geometry_msgs TransformStamped to a geometry_msgs TwistWithCovarianceStamped 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 TwistWithCovarianceStamped message.

  • t_out – The transformed twist, as a timestamped TwistWithCovarianceStamped message.

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