RHSNSpacecraft:

Path: SCPro/DynamicalModels

% Computes the time derivative of n spacecraft.
   Employs a simple central force model for gravity.
   The first state vector is the reference point

--------------------------------------------------------------------------
   Form:
   xDot = RHSNSpacecraft( x, t, d )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x              (13*n,1) [R;V;Q;W;r0;v0;q0;w0;...rk;vk;qk;wk]
   t              (1,1)    Time (not used)
   d              (1,1)    Data structure
                          .mu     (1,1)   Gravitational parameter
                          .f      (3,n)   Force vectors in ECI frame
                          .t      (3,n)   Torque vectors in body frame
                          .lambda (3,n-1) Hinge vectors on body k
                          .kappa  (3,n-1) Hinge vectors on body 1
                          .inr    {n}     Inertia matrices

   -------
   Outputs
   -------
   xDot           (13*n,1) d[R;V;Q;W;r0;v0;q0;w0;...rk;vk;qk;wk]/dt

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

Children:

AC: ACData/ACTConstants
AerospaceUtils: Coord/QIToBDot
SC: BasicOrbit/Period
SC: SCData/sCTConstants
SCPro: DynamicalModels/ConstraintForceAndTorque
Common: CommonData/Constants
Common: CommonData/SwooshWatermark
Common: CommonData/xSplashSmall
Common: Control/C2DZOH
Common: Database/Constant
Common: General/CellToMat
Common: General/DeleteCell
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle
Common: Graphics/TimeLabl
Common: Quaternion/Mat2Q
Common: Quaternion/Q2Mat
Common: Quaternion/QForm
Common: Quaternion/QTForm
Math: Integration/RK4
Math: Linear/Cross
Math: Linear/DupVect
Math: Linear/Mag
Math: Linear/Skew
Math: Linear/SkewSq
Math: Linear/SkewSymm

Back to the SCPro Module page