AbsRelECI2Hills:

Path: FormationFlying/Transformation

% Compute a Hills state from a relative ECI state
 This function takes the absolute position and velocity in the ECI frame along
 with the relative position and velocity in the ECI frame, and computes the
 relative position and velocity in the curvilinear Hill's frame.
--------------------------------------------------------------------------
   Form:
   [rH,vH] = AbsRelECI2Hills( r0, v0, dr, dv );
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   r0              (3,1) Reference position in ECI frame
   r0              (3,1) Reference velocity in ECI frame
   dr              (3,n) Relative position in ECI frame
   dv              (3,n) Relative velocity in ECI frame

   -------
   Outputs
   -------
   rH              (3,n) Curvilinear Hills frame position [dR;    r1*dTheta;                   dZ   ]
   vH              (3,n) Curvilinear Hills frame velocity [dRDot; r1*dThetaDot + r1Dot*dTheta; dZDot]

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

Children:

FormationFlying: Coord/GetHillsMats
SC: BasicOrbit/E2M
SC: BasicOrbit/Nu2E
SC: BasicOrbit/Nu2M
SC: BasicOrbit/RV2El
Common: CommonData/SwooshWatermark
Common: General/CellToMat
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle
Math: Linear/Cross
Math: Linear/Dot
Math: Linear/DupVect
Math: Linear/Mag

Back to the FormationFlying Module page