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

Function Documentation

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

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

Parameters:
  • t_in – The frame to transform, as a timestamped Transform3 message.

  • t_out – The frame transform, as a timestamped Transform3 message.

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