DeltaQToRate:

Path: Common/Quaternion

% Angular rate from small quaternion changes.
 This assumes small dT and small changes in q.

 Type DeltaQToRate for a test with a random quaternion.
--------------------------------------------------------------------------
   Form:
   omega = DeltaQToRate( q1, q2, dT )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   q1    (4,1) Old quaternion
   q2    (4,1) New quaternion
   dT    (1,1) Time step (s)

   -------
   Outputs
   -------
   omega   (3,1) Angular rate (rad/s)

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

Children:

AerospaceUtils: Coord/QIToBDot
Common: Control/C2DZOH
Common: General/DispWithTitle
Common: Quaternion/QMult
Common: Quaternion/QPose
Common: Quaternion/QRand
Common: Quaternion/QUnit
Math: Linear/DupVect
Math: Linear/Mag
Math: Linear/SkewSymm

Back to the Common Module page