ViewRelativeMotion:

Path: FormationFlying/Visual

% View the relative motion for geometric goals
 View the relative motion associated with a set of geometric goals and a given
 reference orbit.

 Alternatively, the second input may be provided as a set of N orbital
 element vectors (Alfriend format) rather than geometric goals. (size Nx6)
--------------------------------------------------------------------------
   sc = ViewRelativeMotion( el0, goals, nOrbits );
               -or-
   sc = ViewRelativeMotion( el0, el, nOrbits );
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   el0             (1,6)     Reference orbital elements (Alfriend format) [a,th,i,q1,q2,W]
   g                (.)      Geometric goals data structure with following fields:
                                - y0     along-track offset                       [km]
                                - aE     semi-major axis of relative ellipse      [km]
                                - beta   angle on ellipse at perigee              [rad]
                                - zInc   cross-track amp. due to inc. diff        [km]
                                - zLan   cross-track amp. due to right ascen diff [km]
   nOrbits          (1)      Number of orbits to simulate  [orbits]

   -------
   Outputs
   -------
   sc               (.)      Data structure array of position, velocity, time data
                               for each spacecraft
     - r           (3,:)     Relative Hills frame position [km]
     - v           (3,:)     Relative Hills frame velocity [km/s]
     - t           (1,:)     Time [sec]

--------------------------------------------------------------------------
  See also AnimationGUI
--------------------------------------------------------------------------

Children:

AerospaceUtils: Coord/ECIToEF
FormationFlying: Coord/CirclePhase
FormationFlying: Coord/GetHillsMats
FormationFlying: DataStructures/Geometry_Structure
FormationFlying: Transformation/AbsRelECI2Hills
FormationFlying: Transformation/DeltaElem2Hills
FormationFlying: Transformation/Goals2DeltaElem
FormationFlying: Transformation/Goals2Hills
FormationFlying: Transformation/Hills2DeltaElem
Orbit: OrbitCoord/Alfriend2El
Orbit: OrbitCoord/El2Alfriend
Orbit: OrbitCoord/SLR
Orbit: OrbitMechanics/RVOrbGen
Plotting: GUI/AnimationGUI
Plotting: Help/HelpSystem
Plotting: Utilities/InitializeAxes
SC: BasicOrbit/CP2I
SC: BasicOrbit/E2M
SC: BasicOrbit/E2Nu
SC: BasicOrbit/M2E
SC: BasicOrbit/M2EApp
SC: BasicOrbit/M2EEl
SC: BasicOrbit/M2EHy
SC: BasicOrbit/M2Nu
SC: BasicOrbit/M2NuPb
SC: BasicOrbit/Nu2E
SC: BasicOrbit/Nu2M
SC: BasicOrbit/OrbRate
SC: BasicOrbit/RV2El
SC: Ephem/SunV1
Common: CommonData/SwooshWatermark
Common: ComponentModels/Box
Common: ComponentModels/Cone
Common: ComponentModels/Frustrum
Common: General/CellToMat
Common: General/CloseFigure
Common: General/DeBlankLT
Common: General/GetNewTag
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/AddView
Common: Graphics/AddZoom
Common: Graphics/Axis3D
Common: Graphics/CameraControls
Common: Graphics/DrawVertices
Common: Graphics/Ellipsd
Common: Graphics/Map
Common: Graphics/Mesh2
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle
Common: Graphics/SliderBar
Common: Graphics/TimeLabl
Common: Graphics/TitleS
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Graphics/ZLabelS
Common: Quaternion/QForm
Common: Quaternion/QTForm
Common: Quaternion/U2Q
Common: Time/DTSToDTA
Common: Time/Date2JD
Common: Time/JD2000
Common: Time/JD2T
Common: Time/T2JD
Common: Transform/RotMat
Math: Geometry/Perpendicular
Math: Linear/Cross
Math: Linear/Dot
Math: Linear/DupVect
Math: Linear/Mag
Math: Linear/Unit
Math: Trigonometry/CosD
Math: Trigonometry/SinD
Math: Trigonometry/WrapPhase

Back to the FormationFlying Module page