AlongTrackMotion:

% Compute attributes of along-track motion from relative state vector

-------------------------------------------------------------------------------

   ------
   Inputs
   ------
   xSLO      (6,1)   Relative position and velocity vector
   n         (1,1)   Mean orbit rate (rad/s)
   makePlot  (1,1)   Flag to make a plot of results
   

   -------
   Outputs
   -------
   offset    (1,1)   Along-track offset
   drift     (1,1)   Along-track drift rate
   amp       (1,1)   Amplitude of along-track oscillation
   
--------------------------------------------------------------------------

Children:

Common: Graphics/Plot2D
FormationFlying: SafeGuidance/HillsEqnsSLO