FGs:

Path: SC/Dynamics

% Gyrostat right-hand-side.
   See also GSModel.

--------------------------------------------------------------------------
   Form:
   xDot = FGs( x, t, inr, invInr, torque, inrWheel, uWheel, tWheel, cDamp )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x            (7+n,1)   The state vector
   t                      Time
   inr          (  3,3)   Inertia
   invInr       (  3,3)   Inverse inertia
   torque       (  3,1)   External torque
   inrWheel     (  1,n)   Wheel inertia
   uWheel       (  3,n)   Wheel unit vectors
   tWheel       (  1,n)   Wheel control torque
   cDamp        (  1,n)   Damping coefficient

   -------
   Outputs
   -------
   xDot         (7+n,1)     The derivative of the state vector

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

Children:

AerospaceUtils: Coord/QIToBDot
SC: Dynamics/GSModel
Common: Control/C2DZOH
Math: Linear/Cross
Math: Linear/SkewSymm

Back to the SC Module page