Disagreement between TransformStamped comment and sendTransformMessage?
The comment in the TransformStamped message states:
This expresses a transform from coordinate frame header.frame_id to the coordinate frame child_frame_id
While the sendTransformMessage function documentation states:
Broadcast the transformation from tf frame child to parent on ROS topic "/tf".
In my experience the sendTransformMessage
documentation is correct, i.e. the transform is from the child frame to the parent frame, and it appears the comment in the TransformStamped
is backwards. This caused me a lot of confusion and I'm sure I'm not the only one. Is my interpretation correct? Should the TransformStamped
message comment be corrected?
Side note: I know the links above are from different versions of ROS. I'm using noetic but can't seem to find complete documentation for noetic's tf2 python implementation. I'm assuming the documentation given above is true for sendTransform
in noetic, and my own testing has confirmed this.