Template Function tf2::doTransform
Defined in File convert.h
Function Documentation
-
template<class T>
void tf2::doTransform(const T &data_in, T &data_out, const geometry_msgs::msg::TransformStamped &transform) The templated function expected to be able to do a transform.
This is the method which tf2
will use to try to apply a transform for any given datatype.
This method needs to be implemented by client library developers
- Parameters:
data_in[in] – The data to be transformed.
data_out[inout] – A reference to the output data. Note this can point to data in and the method should be mutation safe.
transform[in] – The transform to apply to data_in to fill data_out.