Path: Orbit/Demos/Interplanetary
% Set up and run a heliocentric trajectory simulation with two objects. Simulation in the gravity field of the Earth, moon, and sun. The spaceraft and asteroid are both treated as objects in the simulation. Both objects use GravityHelio as their default gravity function. The moon is treated as a point mass unless the gravitational harmonics are included in the data structure. In this demo the thrust vector is always along the Earth relative velocity vector. See also ForceSimple, PlanetPosJPL, RHSTrajectory, RK4, Plot2D, HelioPlot, GravityHelio %
Common: GUIs/Figui Common: General/StructToText Common: Graphics/Plot2D Common: Graphics/TimeLabl Math: Integration/RK4 Math: Linear/Mag Math: Linear/Unit Orbit: Interplanetary/RHSTrajectory Orbit: OrbitCoord/SEMIToSEMR Orbit: Visualization/EarthMoon Orbit: Visualization/EarthMoonRotFrame Orbit: Visualization/PlotSEMTraj SC: BasicOrbit/El2RV SC: Ephem/PlanetPosJPL SC: Visualization/HelioPlot
Back to the Orbit Module page