AccelToThrustAndQ:

Path: Orbit/OrbitManeuver

% Convert an acceleration vector into a thrust quaternion.
   Type AccelToThrustAndQ for a demo.
--------------------------------------------------------------------------
   Form:
   [thrust, q] = AccelToThrustAndQ( a, m, u )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   a            (3,:)     Acceleration vector(s)
   m            (1,1)     Mass (kg)
   u            (3,1)     Thruster unit force vector in the body frame

   -------
   Outputs
   -------
   thrust       (1,:)     Thrust
   q            (4,:)     Quaternion

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

Children:

Common: CommonData/SwooshWatermark
Common: General/CellToMat
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle
Common: Quaternion/QForm
Common: Quaternion/QTForm
Common: Quaternion/U2Q
Math: Geometry/Perpendicular
Math: Linear/Cross
Math: Linear/Dot
Math: Linear/DupVect
Math: Linear/Mag
Math: Linear/Unit

Back to the Orbit Module page