Path: FormationFlying/Transformation
% Rotate the Frenet frame state to the Hills frame, where x is radial -------------------------------------------------------------------------- Form: xH = Frenet2Hills( xF, e, nu, n ); Note: The number of columns of "nu" and "xF" must be equal if they both have more than ONE column. -------------------------------------------------------------------------- ------ Inputs ------ xF (M,:) Relative state in Frenet frame [km] (M = 3 or 6) e (1,1) Eccentricity nu (1,:) True anomaly [rad] n (1,1) Orbit rate [rad/s]. Optional. Uses time-derivatives if rate provided. Uses nu-derivatives is NOT provided. ------- Outputs ------- xH (M,N) Hills frame state N = number of columns of nu or xF, whichever is greater --------------------------------------------------------------------------
FormationFlying: Utility/NuDot Common: Transform/RotMat Math: Linear/Cross Math: Linear/DupVect
Back to the FormationFlying Module page