FFEccShapes:

Path: FormationFlying/Visual

% Compute the shape of the relative motion in the orbital plane.
   
   Requires an initial Hills state, true anomaly, and eccentricity.
   
   The motion is forced to be periodic by using the FFEccDMatPeriodic function.
   This keeps the same initial position and the same initial cross-track
   velocity. The along-track velocity and/or radial velocity is changed to
   ensure periodic relative motion.

   A vector of nu0 values can be provided, causing the shapes that correspond 
   to each nu0 to be animated.

   Since version 7.
--------------------------------------------------------------------------
   Form:
   [x,y] = FFEccShapes( xH0, nu0, e, method, n, animate );
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   xH0             (6,1)  Initial state in Hills frame. Velocity terms
                             are expressed as derivatives with respect to
                             true anomaly, rather than time.
   nu0             (1,m)  True anomaly (at initial state) [rad]
   e                (1)   Eccentricity
   method           (1)   Indicate which method to use
                             1 - symmetric 
                             2 - fuel optimization
                             3 - velocity constraint
   n                (1)   Number of samples to use when computing trajectory
   animate          (1)   Flag indicating whether to animate (1) or not (0)

   -------
   Outputs
   -------
   x               (m,n)   m 1xn vectors of x (radial offset)
   y               (m,n)   n 1xn vectors of y (along-track offset)

--------------------------------------------------------------------------
   References: Inalhan, Tillerson, How, "Relative Dynamics and Control of
   Spacecraft Formations in Eccentric Orbits", Journal of Guidance,
   Control & Dynamics, Vol.25, No.1, Jan-Feb 2002.
--------------------------------------------------------------------------
	  Copyright 2004 Princeton Satellite Systems, Inc.
   All rights reserved.
--------------------------------------------------------------------------

Children:

FormationFlying: EccDynamics/FFEccDH
FormationFlying: EccDynamics/FFEccDMatPeriodic
FormationFlying: EccDynamics/FFEccIntConst
FormationFlying: EccDynamics/FFEccRMat
Common: CommonData/SwooshWatermark
Common: General/CellToMat
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle

Back to the FormationFlying Module page