FPlanetControl:

--------------------------------------------------------------------------
   Sail planet-centered RHS with rho/z control via sail pitch angle. 
   Theta is uncontrolled.
   See also FRotatingPlanet.

   Since version 7.
--------------------------------------------------------------------------
   Form:
   xDot = FPlanetControl( t, x, theta, accel, x0, k )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   t                (1,1) Time
   x                (6,1) state [rho;theta;z;drho/dt;dtheta/dt;dz/dt]
   theta            (1,1) Sail nominal angle
   accel            (1,1) Sail acceleration
   x0               (2,1) Desired rho and z coordinates
   k                (1,4) Control gains [rho;z;drho;dz]

   -------
   Outputs
   -------
   xDot             (6,1) state derivative

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

Children:

Sail: OrbitDynamics/FRotatingPlanet