Tree:

Path: SC/Dynamics

% Right hand side of the equations of motion for a topological tree.
   No closed loops are permitted. All the bodies are rigid.

   Since version 2.
--------------------------------------------------------------------------
   Form:
   [xDot, gInertia, body, rHS] = Tree( x, t, treeDS, bodyData, mu )
--------------------------------------------------------------------------

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

   ------
   Outputs
   ------
   xDot            (:,1)   State derivative vector
   gInertia        (:,:)   Generalized inertia matrix
   body            (:)     Internal data structure
   rHS             (:,:).v Right hand side of the equations of motion
            
--------------------------------------------------------------------------

Children:

AerospaceUtils: Coord/QIToBDot
Common: Control/C2DZOH
Common: Quaternion/Q2Mat
Common: Quaternion/QForm
Common: Quaternion/QPose
Common: Quaternion/QTForm
Math: Linear/Cross
Math: Linear/Mag
Math: Linear/SkewSq
Math: Linear/SkewSymm

Back to the SC Module page