RelativeOrbitRHS:

Path: FormationFlying/Dynamics

% Continuous-time linear model of Hills equations in the Hills frame.
 Valid for circular orbits only.
 x - radial, aligned with position vector;
 y - in the direction of the velocity vector;
 z - normal to the orbit plane.
 This frame is consistent with Kaplan's convention.
	 Note: Previously named "HillsPropagationH". Renamed for clarity.

--------------------------------------------------------------------------
   Form:
   xDot = RelativeOrbitRHS( x, t, w, u )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x     (6,1)     [r;v] Spacecraft state in the Hills frame
   t     (1,1)     Current time (unused) (sec)
   w     (1,1)     Orbital Rate (rad/s)
   u     (3,1)     Thrust vector

   -------
   Outputs
   -------
   xDot	(6,1)     d[r;v]/dt

--------------------------------------------------------------------------
   Reference: Vallado, D.A. "Fundamentals of Astrodynamics and 
              Applications", pp. 372-377, 2nd Edition.
--------------------------------------------------------------------------

Back to the FormationFlying Module page