Path: Orbit/Visualization
% Displays spacecraft and moon in a trajectory about the Earth in real time.
This function uses persistent variables.
Type TwoObjectTrajectoryViewer for a demo.
--------------------------------------------------------------------------
Form:
TwoObjectTrajectoryViewer( 'initialize', n, s, gP, gM )
TwoObjectTrajectoryViewer( 'update', r1, r2, k, t )
--------------------------------------------------------------------------
------
Inputs
------
action (1,:) 'initialize', 'update'
-------
Outputs
-------
None
--------------------------------------------------------------------------
Orbit: OrbitCoord/RPRA2AE Orbit: OrbitMechanics/RVOrbGen SC: BasicOrbit/Period SC: Ephem/MoonV1 SC: SCMat/EarthMR SC: SCMat/Moon SC: Visualization/PlotPlanet Common: Graphics/NewFig Common: Graphics/XLabelS Common: Graphics/YLabelS Common: Graphics/ZLabelS Common: Time/Date2JD Common: Time/SecToString
Back to the Orbit Module page