RHSGyroWithOrbit:

Path: SCPro/DynamicalModels

% Computes the right hand side for a spacecraft with a gyro.
--------------------------------------------------------------------------
 Angular rate is an input.

--------------------------------------------------------------------------
   Form:
   d    = RHSGyroWithOrbit; % To get the data structure
   xDot = RHSGyroWithOrbit( x, t, d )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x     (16,1)    State vector [r;v;q;imuAng;imuBias]
   t     (1,1)     Time (unused)
   d      (.)      Data structure 
                   .mu        (1,1) Gravitational constant
                   .b1Sig     (1,1) Bias random walk
                   .ang1Sig   (1,1) Angle noise
                   .omega     (3,1) Angular rate

   -------
   Outputs
   -------
   xDot	(16,1)    State vector derivative d[r;v;q;imuAng;imuBias]/dt

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

Children:

AerospaceUtils: Coord/QIToBDot
Math: Linear/Mag

Back to the SCPro Module page