DiscreteHills:

Path: FormationFlying/Dynamics

% Compute a trajectory from discretized Hills equations
 Computes the state trajectory (xS) of a satellite given the initial state (x0)
 and the commanded accelerations (aC). Uses a discretized state space model of
 Hills equations, which is defined by the orbit rate (w0). "LinOrb.m" is called
 with w0 to generate the plant, and the discretization is done using "CDZOH.m".

--------------------------------------------------------------------------
   Form:
   xS = DiscreteHills( x0, w0, aC, dT );
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x0                (6,1)   Initial state
   w0                 (1)    Reference orbit rate (rad/sec)
   aC                (3,n)   Commanded accelerations
   dT                 (1)    Sampling time for zero-order hold 

   -------
   Outputs
   -------
   xS                (6,n+1)  State trajectory of the satellite in Hill's frame

--------------------------------------------------------------------------
  See also LinOrb, CDZOH
--------------------------------------------------------------------------

Children:

Orbit: RHSOrbit/LinOrb

Back to the FormationFlying Module page