Rigid Transform Composition and Inversion
Track the origin and basis of each frame so a chain of translations and rotations applies every offset in the intended coordinates.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
Translate after expressing the vector in the target frame
For a map from coordinates in B to coordinates in A, write \(p_A=R_{AB}p_B+t_{AB}\). To compose with a map from C to B, substitute its expression for \(p_B\). The combined translation is \(R_{AB}t_{BC}+t_{AB}\). Adding offsets directly would be correct only when their coordinates already agree.
Inverting negates the offset in the new coordinates
Rearrange the same equation to obtain \(p_B=R_{AB}^\top(p_A-t_{AB})\). The inverse translation is therefore \(-R_{AB}^\top t_{AB}\), not just a componentwise negation in the original frame. A round-trip test on both an origin and a nonzero point can expose order mistakes. Rotation conventions explain the transpose. Forward kinematics composes many such maps along a robot mechanism.[1][2]