Path: Interplanetary/Mechanics
% Helps design patched conic trajectories.
Provide a demo in the Earth-Moon system.
--------------------------------------------------------------------------
Form:
PatchedConicPlanner; % demo
[vInf, b, el, r0] = PatchedConicPlanner( planet, r, v, t, muC, pPF )
--------------------------------------------------------------------------
------
Inputs
------
planet (1,:) Planet data structure
.mu (1,1) Gravitational parameter
.radius (1,1) Planet radius
.name (1,:) Planet name
r (3,:) Spacecraft position
v (3,:) Spacecraft velocity
t (1,:) Corresponding time vector
muC (1,1) Gravitational constant for the central body
pPF (1,1) Patch point fraction of sphere of influence
-------
Outputs
-------
vInf (1,1) Velocity at infinity for the planet centric hyperbola
b (1,1) Impact parameter
el (1,6) Hyperbola elements
r0 (1,1) Periapsis
--------------------------------------------------------------------------
Orbit: OrbitCoord/RPRA2AE Orbit: OrbitMechanics/RVOrbGen Orbit: OrbitMechanics/SphOI SC: BasicOrbit/Period SC: BasicOrbit/RV2El Common: Database/Constant Common: Graphics/Map Common: Graphics/NewFig Common: Graphics/TitleS Common: Graphics/XLabelS Common: Graphics/YLabelS Common: Graphics/ZLabelS Common: Quaternion/Mat2Q Common: Quaternion/QForm Math: Linear/Cross Math: Linear/Dot Math: Linear/Mag Math: Linear/Unit
Back to the Interplanetary Module page