AnimateOrbit:

Path: SC/Visualization

% Animate a spacecraft model in orbit
 This is a wrapper around DrawSCPlugIn and GroundTrack that uses a
 separate playback control window to create an animation. There will be
 four windows: the spacecraft in orbit, the ground track, a camera control
 window, and a playback window.
--------------------------------------------------------------------------
   Form:
   AnimateOrbit(g, r, v, q, jD, planet)
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   g       (.)  CAD data structure
   r      (3,:) Position array (ECI)
   v      (3,:) Velocity array (ECI)
   q      (4,:) Quaternion array, ECI to body
   jD     (1,:) Julian date array
   planet  ''   Planet model, ex. 'EarthHR', 'Mars'

   ------
   Output
   ------
   None

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

Children:

AerospaceUtils: CAD/SetCADQuaternion
AerospaceUtils: CAD/SetCADState
AerospaceUtils: Coord/CoordinateTransform
AerospaceUtils: Coord/QLVLH
AerospaceUtils: Coord/R2LatLon
Orbit: OrbitSim/RVFromKepler
SC: Ephem/ECIToPlanet
SC: Ephem/ISSOrbit
SC: Ephem/SunV2
SC: Ephem/TerminatorLine
SC: GUIPlugIn/DrawSCPlugIn
SC: SCModels/NanoSatModel
Common: Graphics/Map
Common: Graphics/NewFig
Common: Graphics/PlaybackControls
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Quaternion/Eul2Q
Common: Quaternion/QMult
Common: Time/JD2Array
Common: Time/JD2DN

Back to the SC Module page