ViewHills:

Path: FormationFlying/Visual

% Animation the relative motion in Hills frame.
 Given the reference orbital elements, a time span, and the spacecrafts'
 orbital elements, animate the relative motion. If a Hills state is available
 it may be input directly.
--------------------------------------------------------------------------
   Form:
   ViewHills( el0, el, timeSpan, method )
   ViewHills( w0, xH, timeSpan, 1 )        % relative via Hills
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   el0             (1,6) reference orbital elements [a i W w e M]
   el              (k,6) orbital elements of each spacecraft
   timeSpan         (1)  length of time to propagate
   method           (:)  method of propagation ('relative','keplerian','hi-fi')
                                               (    1           2         3   )

      - for method 1, first 3 inputs are: -

   w0              (1,1) orbital rate [rad/s]
   xH              (6,k) initial Hills state [km; km/s]
   timeSpan         (1)  

   -------
   Outputs
   -------
   sc               data structure of relative positions over time

--------------------------------------------------------------------------
  See also AnimationGUI, HillsEqns, RVOrbGen, ECI2Hills,
--------------------------------------------------------------------------

Children:

AerospaceUtils: Coord/ECIToEF
FormationFlying: Coord/GetHillsMats
FormationFlying: Dynamics/HillsEqns
FormationFlying: Transformation/ECI2Hills
Orbit: GravityModels/LoadGEM
Orbit: GravityModels/LoadGravityModel
Orbit: GravityModels/NormalizationMatrix
Orbit: OrbitCoord/SLR
Orbit: OrbitMechanics/AGravityC
Orbit: OrbitMechanics/J2OrbitEffects
Orbit: OrbitMechanics/J2Prop
Orbit: OrbitMechanics/RVOrbGen
Orbit: RHSOrbit/FOrbCartH
Plotting: GUI/AnimationGUI
Plotting: Help/HelpSystem
Plotting: Utilities/InitializeAxes
SC: BasicOrbit/CP2I
SC: BasicOrbit/E2M
SC: BasicOrbit/E2Nu
SC: BasicOrbit/El2RV
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/Period
SC: BasicOrbit/RV2El
SC: BasicOrbit/RVFromKepler
SC: Ephem/SunV1
SC: SCMat/GEMT1
Common: CommonData/SwooshWatermark
Common: ComponentModels/Box
Common: ComponentModels/Cone
Common: ComponentModels/Frustrum
Common: General/CellToMat
Common: General/CloseFigure
Common: General/DeBlankLT
Common: General/DispWithTitle
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/Plot3D
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: Integration/RK45
Math: Linear/Cross
Math: Linear/Dot
Math: Linear/DupVect
Math: Linear/Factorl
Math: Linear/Mag
Math: Linear/Unit
Math: Trigonometry/CosD
Math: Trigonometry/SinD

Back to the FormationFlying Module page