DeltaQTarget:

Path: SC/Attitude

% Generate a target quaternion by limiting the total angular change.
--------------------------------------------------------------------------
   Form:
   [qTargetToBody,qOld] = DeltaQTarget(qCommand,qIToB,qOld,deltaAngle)
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   qCommand    (4,1)   Commanded inertial quaternion
   qIToB       (4,1)   Current body quaternion
   qOld        (4,1)   Previous inertial target
   deltaAngle  (1,1)   Maximum angular change for new target

   -------
   Outputs
   -------
   qTargetToBody (4,1) Target to body quaternion
   qOld          (4,1) Memory of inertial target

--------------------------------------------------------------------------

Children:

Common: Quaternion/AU2Q
Common: Quaternion/Q2AU
Common: Quaternion/QMult
Common: Quaternion/QPose
Math: Trigonometry/DeltCirc

Back to the SC Module page