Artificial intelligent assistant

Expression transformation using quaternion Sorry for boring you. I am haunted by a problem of quaternion. Here's my question: First, an initial triad is denoted $\textbf{e}_1^0$, $\textbf{e}_2^0$ and $\textbf{e}_3^0$ in a Cartesian coordinate system. I would like to formulate the transformation (by quaternion) which rotates the initial triad into the new one denoted as $\tilde{\textbf{e}}_1^0$, $\tilde{\textbf{e}}_2^0$ and $\tilde{\textbf{e}}_3^0$. (All the vectors are parametrized). Thank you in advance for taking a look.

From what I understand, you have two triads and want to calculate the quaternion which rotates the first into the second.

(1) calculate the direction cosine matrix( aka rotation matrix). This is the matrix with components $DCM_{ij} = \tilde{e}_i^0\cdot e^0_j$. You can calculate this because you know the components of the triads.

(2) Compute the quaternion from the DCM. This is covered here and can be found on most books concerning attitude dynamics, rotation theory, etc.

A more complicated alternative is to use the QUEST algorithm (or $q$-method, or TRIAD). See here, here, and here for instance.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 499a3b9af8deb9b632ae701e14dbf59f