You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tf_echo takes two arguments, in order source and target, which gives the transformation from source to target, while the tf and tf2 API always gives the transformation from target to source (to transform coordinates in source frame to coordinates in target frame).
Echo is designed for debugging the publishing of transforms. lookupTransform is for transforming data. The transform from Frame A to B is the inverse of the transform to move data from A to B.
Same as with the equivalent issue on tf2:
tf_echo takes two arguments, in order source and target, which gives the transformation from source to target, while the tf and tf2 API always gives the transformation from target to source (to transform coordinates in source frame to coordinates in target frame).
Indeed, it calls
TransformListnener::lookupTransform
with the wrong argument names: it calls with source_frame, then the target_frame, whereas the function takes target_frame first.I suggest to rename the two arguments so the API remains compatible.
The text was updated successfully, but these errors were encountered: