TreeH:

Path: SC/Dynamics

% Computes the momentum for the topological tree dynamics.

   Since version 2.
--------------------------------------------------------------------------
   Form:
   [h, hI, hMag] = TreeH( x, t, treeDS, bodyData )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x               (:,1)   State vector [rCM;vCM;[q;w]]
   t               (1,1)   Time
   treeDS          (:,:)   Tree connection data structure
   bodyData        (:,:)   Body data structure

   ------
   Inputs
   ------
   h               (3,1)   Angular momentum in the body frame
   hI              (3,1)   Angular momentum in the inertial frame
   hMag            (1,1)   Magnitude of the angular momentum
            
--------------------------------------------------------------------------

Children:

Common: Quaternion/Q2Mat
Common: Quaternion/QForm
Common: Quaternion/QPose
Math: Linear/Cross
Math: Linear/Mag
Math: Linear/SkewSymm

Back to the SC Module page