Ask Your Question
2

Relative pose between two tf::Transforms

asked 2012-01-16 06:10:56 -0600

ph4nt0m gravatar image

Hello,

how can I get the relative pose between two tf::Transforms? I know that tf::TransformListener can do this if you call lookupTransform with identical target- and source-frame, but with different target- and source-times, but how can I achieve this without any messages if I only have two tf::Transforms (each representing a different point in time) of an odometry-source for example?

Thanks in advance!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
5

answered 2012-01-16 06:41:02 -0600

dornhege gravatar image

Basically invert one and multiply the other.

tf1.inverseTimes(tf2) should do that.

edit flag offensive delete link more

Comments

Is it tf1 wrt tf2 or tf2 wrt tf1?

hc gravatar imagehc ( 2017-08-18 05:07:57 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2012-01-16 06:10:56 -0600

Seen: 2,920 times

Last updated: Jan 16 '12