QHillsToBody:

Path: FormationFlying/Coord

% Compute the Hills-to-Body quaternion
 Compute the Hills-to-Body quaternion given the ECI position and velocity, and
 the ECI-to-Body quaternion.

--------------------------------------------------------------------------
   Form:
   qHB = QHillsToBody( r, v, qEB )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   r                (3,:)     ECI position [km]
   v                (3,:)     ECI velocity [km/s]
   qEB              (4,:)     ECI-to-Body quaternion

   -------
   Outputs
   -------
   qHB              (4,:)     Hills-to-Body quaternion

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

Children:

AerospaceUtils: Coord/QHills
AerospaceUtils: Coord/QLVLH
Common: CommonData/SwooshWatermark
Common: General/CellToMat
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle
Common: Quaternion/Mat2Q
Common: Quaternion/QMult
Common: Quaternion/QPose
Math: Linear/Cross
Math: Linear/Unit

Back to the FormationFlying Module page