SpinChange:

Path: Missions/Comsat

% Simulates a spin change.
--------------------------------------------------------------------------
   Form:
   [w, fuelUsed] = SpinChange( p, axis, w, wF, wait, inertia, cM, tId, eventName, database )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   p               (1,n)  Thruster pressure (psi)
   axis            (3,1)  Spin change axis
   w               (3,1)  Initial body rate (rad/sec)
   wF              (3,1)  Final body rate (rad/sec)
   wait            (n-1)  Delays between burns (sec)
   inertia         (3,3)  Inertia matrix
   cM              (3,1)  Center-of-mass
   tID             (1,n)  Thruster id's
   eventName       (1,:)  Event name
   database        (1,:)  Database name

   -------
   Outputs
   -------
   w               (3,1)  Final body rate
   fuelUsed        (1,m)  Fuel consumed per tank

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

Children:

Missions: Comsat/REA
SC: Actuator/MomArm
Common: Graphics/Plot2D
Math: Integration/RK4

Back to the Missions Module page