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: General/DispWithTitle
Common: Quaternion/QMult
Common: Quaternion/QPose
Common: Quaternion/QRand
Common: Quaternion/QUnit

Back to the Common Module page