Path: AC/ACCoord
% Compute ECI to body quaternion from ECI position and Euler angles. -------------------------------------------------------------------------- Form: qECIToB = QECI( r, e ) -------------------------------------------------------------------------- ------ Inputs ------ r (3,1) ECI Position vector e (3,1) Euler angles [phi;theta;psi] ------- Outputs ------- qECIToB (4,1) Quaternion from ECI to B -------------------------------------------------------------------------- See also ECIToNED -------------------------------------------------------------------------- Reference: Stevens, B.L., Lewis, F.L. , Aircraft Control and Simulation, John Wiley & Sons, 1992, p. 38. --------------------------------------------------------------------------
AC: ACCoord/ECIToNED Common: Quaternion/Mat2Q Common: Quaternion/QMult Common: Transform/Eul2Q
Back to the AC Module page