The relative pose describes the frame with respect to the frame . is the reference coordinate frame and is the frame being described. It can be seen as some motion: first applying a displacement and then a rotation to frame .

Thus the point can be described with respect to each coordinate frame:

To describe a coordinate frame wrt a reference frame , it can be noticed that:

  1. Translation
  2. Rotation

Pose Transformation in 2D

Let be a new coordinate frame, centered in but rotated as .

Point in is: , where is the value of axis and is the unit vector.

Point in is: .

Rotation

And the unit vector of frame can be described in reference frame :

Thus,

And we call that matrix as rotation matrix .

Translation

Frame and have parallel coordinate axes:

The rotation-translation matrix is a homogenous transformation.

Thus,

\begin{gathered} F \tilde{\mathbf{P}}=F \mathbf{T}_R^R \tilde{\mathbf{P}} \\ { }^F \mathbf{T}_R=\left[\begin{array}{ccc} \cos (\theta) & -\sin (\theta) & \mathrm{x} \\ \sin (\theta) & \cos (\theta) & \mathrm{y} \\ 0 & 0 & 1 \end{array}\right] \end{gathered}

Pose Transformation in 3D