Path: FormationFlying/Transformation
% Transform geometric goals to hills-frame coordinates. Works for either circular or eccentric orbits. -------------------------------------------------------------------------- Usage: xH = TransformGeom2Hills( el, g, nu ); -------------------------------------------------------------------------- ------ Inputs ------ el (1,6) Reference orbital elements [a,i,W,w,e,M] g (.) Geometric goals data structure nu (1) Time step for the simulation [sec] (not used) ------- Outputs ------- xH (6,1) Relative position and velocity in Hills frame [km; km/s] --------------------------------------------------------------------------