Difference between revisions of "Realization of transformations"

From Robotics
Jump to: navigation, search
(Combination of transformations)
Line 24: Line 24:
 
=
 
=
 
\left[\begin{array}{cccc} & & & \\ & \mathbf{R}_c &  & \vec{\mathbf{p}}_c \\ & & & \\ 0 & 0 & 0 & 1\end{array}\right]
 
\left[\begin{array}{cccc} & & & \\ & \mathbf{R}_c &  & \vec{\mathbf{p}}_c \\ & & & \\ 0 & 0 & 0 & 1\end{array}\right]
 +
=
 +
\left\{e_c,p_c\right}
 
\end{align}
 
\end{align}
 
</math>
 
</math>
 +
But how can the two quaternions <math>e_c</math> and <math>p_c</math> of the quaternion notation be calculated based on the individual transformations?

Revision as of 16:06, 15 October 2015

← Back: Composition of rotations Overview: Quaternions Next: ???

Quaternion notation for general transformations

Up to now transformations have been defined by homogeneous matrices combining a rotation matrix \mathbf{R} and a translation vector \vec{\mathbf{p}}. Now a new notation is introduced to represent a transformation using two quaternions e and p:


\mathbf{T} = \left[\begin{array}{cccc} & & & \\ & \mathbf{R} &  & \vec{\mathbf{p}} \\ & & & \\ 0 & 0 & 0 & 1\end{array}\right] \equiv \left\{e,p\right\}

The quaternion e is equivalent to \mathbf{R} and describes the rotation while p is defined as 0 \oplus \vec{\mathbf{p}} and so equivalent to the translation.


e \equiv \mathbf{R} \qquad \quad p = 0 \oplus \vec{\mathbf{p}}

Applying such a transformation to a quaternion q is done by first rotating q with e corresponding to the rotation equation and then adding p:


q' = e\ q\ e^*+ p

Combination of transformations

It is known that a combination of transformations is defined as:

Failed to parse (syntax error): \begin{align} \mathbf{T}_c = \mathbf{T}_2\mathbf{T}_1 = \left[\begin{array}{cccc} & & & \\ & \mathbf{R}_2\mathbf{R}_1 & & \vec{\mathbf{p}}_2+\mathbf{R}_2\vec{\mathbf{p}}_1 \\ & & & \\ 0 & 0 & 0 & 1\end{array}\right] = \left[\begin{array}{cccc} & & & \\ & \mathbf{R}_c & & \vec{\mathbf{p}}_c \\ & & & \\ 0 & 0 & 0 & 1\end{array}\right] = \left\{e_c,p_c\right} \end{align}

But how can the two quaternions e_c and p_c of the quaternion notation be calculated based on the individual transformations?