SafeGuidanceSimInit:

Path: FormationFlying/SafeGuidance

% Returns input data for various test cases for SafeGuidanceSim
 Each case has specific data associated with it. You may add new cases
 with unique names to this function. This enables you to reproduce
 specific scenarios  easily as time goes on and the algorithms evolve.

 Use the output of this function as input to SafeGuidanceSim
--------------------------------------------------------------------------
  Form:
  simOptions = SafeGuidanceSimInit( name )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   name          (:)   Name of the stored test case

   -------
   Outputs
   -------
   simOptions    (.)   Data structure with the following fields:
     - el0            (1,6)  Initial reference orbital elements  (Alfriend)
     - dEl0           (1,6)  Initial orbital element differences (Alfriend)
     - xH0            (6,1)  Initial relative Hills-frame state [km; km/s]
     - params          (.)   Data structure defining the several maneuver parameters
     - noise          (1,4)  Standard deviation of noise for the following sources:
                          noise(1) - absolute position [m]
                          noise(2) - absolute velocity [m/s]
                          noise(3) - relative position [m]
                          noise(4) - relative velocity [m/s]
     - nOrbits         (1)   Number of orbits to simulate
     - nSPO            (1)   Number of simulation points per orbit
     - distOpt        (1,2)  Disturbance options (flags)
                          (1) solar:  whether to simulate with solar pressure or not
                          (2) drag:   whether to simulate with drag or not
     - harmonicOrder   (1)   Gravity perturbation harmonic (J0 - J36)
     - area           (1,2)  Area for solar or drag cases  [m^2]
                          (1) area(1) - Main spacecraft
                          (2) area(2) - Target spacecraft
--------------------------------------------------------------------------

Children:

FormationFlying: Coord/CirclePhase
FormationFlying: SafeGuidance/SafeGuidanceParameters
FormationFlying: Transformation/DeltaElem2Hills
FormationFlying: Transformation/Goals2DeltaElem
FormationFlying: Transformation/Goals2Hills
FormationFlying: Transformation/Hills2DeltaElem
Orbit: OrbitCoord/El2Alfriend
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