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
Math: Linear/Dot
Math: Linear/Mag

Back to the FormationFlying Module page