InitializeFormation:

Path: FormationFlying/Coord

% Initialize formation orbital states from geometric goals
 Generate the initial orbital elements for a cluster of spacecraft given  the
 geometric goals and the reference orbital elements.

--------------------------------------------------------------------------
   Form:
   [el, dEl, xH] = InitializeFormation( el0, goals )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   el0              (1)      Initial  elments of the reference [Alfriend format]
   goals            (.)      Geometric goals data structure of all relative
                              spacecraft with the following fields:
     - y0          (1,N)        along-track offset                             [km]
     - aE          (1,N)        semi-major axis of relative ellipse            [km]
     - beta0       (1,N)        angle on ellipse at perigee                   [rad]
     - zInc        (1,N)        cross-track amplitude due to inclination diff  [km]
     - zLan        (1,N)        cross-track amplitude due to right ascen diff  [km]

   -------
   Outputs
   -------
   el           (N+1,6)    Orbital elements of all spacecraft [Alfriend format]
                            NOTE: First row is the reference element set
   dEl           (N,6)     Orbital element differences of all relative spacecraft
   xH            (6,N)     Hill's frame position and velocity of all relative
                            spacecraft [x;y;z; Vx;Vy;Vz]      [km; km/s]

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

Children:

FormationFlying: Coord/CirclePhase
FormationFlying: Transformation/DeltaElem2Hills
FormationFlying: Transformation/Goals2Hills
FormationFlying: Transformation/Hills2DeltaElem
Orbit: OrbitCoord/El2Alfriend
Orbit: OrbitCoord/OrbElemDiff
SC: BasicOrbit/E2Nu
SC: BasicOrbit/M2E
SC: BasicOrbit/M2EApp
SC: BasicOrbit/M2EEl
SC: BasicOrbit/M2EHy
SC: BasicOrbit/M2Nu
SC: BasicOrbit/M2NuPb
SC: BasicOrbit/OrbRate
Common: CommonData/SwooshWatermark
Common: General/CellToMat
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle
Math: Linear/DupVect
Math: Trigonometry/WrapPhase

Back to the FormationFlying Module page