Path: AerospaceUtils/CAD
% Set the inertial attitude of a CAD model. This helper function inserts the quaternion in the correct part of the data structure. Due to the successive hinge model, i.e. the hinge specifies the rotation to the PRIOR frame, the TRANSPOSE of the inertial to body quaternion is assigned to the first hinge. This is not intuitive but makes the model self-consistent. -------------------------------------------------------------------------- Form: g = SetCADQuaternion( g, qECIToBody ) -------------------------------------------------------------------------- ------ Inputs ------ g (.) CAD model qECIToBody (.) ECI to body quaternion ------- Outputs ------- g (.) Updated CAD model --------------------------------------------------------------------------
Common: Quaternion/QPose
Back to the AerospaceUtils Module page