ApolloLunarDescentGuidance:
% Apollo lunar module landing guidance
If no inputs or outputs are specified it will simulate a lunar landing
using the guidance system. Three phases are implemented:
P63 Braking phase
P64 Approach phase
P66 Terminal descent phase
The land flag is used in P66 to tell it to land.
x is normal to the lunar surface and z is downrange
--------------------------------------------------------------------------
Form:
[aCG, d] = ApolloLunarDescentGuidance( x, t, d )
--------------------------------------------------------------------------
------
Inputs
------
x (6,1) State vector
t (1,1) Time (sec)
d (.) Data structure
-------
Outputs
-------
aCG (3,1) Command acceleration (m/sec^2)
d (.) Data structure
--------------------------------------------------------------------------
Reference: Klumpp, A. R. "Apollo Lunar Descent Guidance," Automatica,
Vol. 10, pp. 133-146, Pergamon Press, 1974.
--------------------------------------------------------------------------
Children:
Common: Database/Constant
Common: Graphics/Plot2D
Common: Graphics/TimeLabl
Math: Integration/RK4
Math: Linear/Mag
Math: Linear/Unit