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 --------------------------------------------------------------------------