Path: LunarMissions/LunarMission
% 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 %