FHingeOrbit:

--------------------------------------------------------------------------
   Combined point-mass orbit and fixed-rate moving body dynamics model.
   Assumes two bodies with a single rotational hinge and no translation.
   FMovingBody must be called with new rates before this function is
   integrated. Designed to be called in a discrete integration with RK4.

   Since version 7.
--------------------------------------------------------------------------
   Form:
   xDot = FHingeOrbit( x, t, f, tq, d )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x             (26,1)   The state vector [ [r;v;q;w](0);  [r;v;q;w](1) ]
   t             (1,1)    Time
   f             (:)      Force structure
   tq            (:)      Torque structure
   d             (1,1)    Data structure
                          .g     (1,1) CAD model
                          .mu

   -------
   Outputs
   -------
   xDot          (26,1)  [ [rDot;vDot;...] [rDot;vDot;...] ]

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

Children:

OrbitMiniToolbox: Support/FOrbCart
Sail: AttitudeDynamics/FMovingBody