PositionDeltaV:

Path: FormationFlying/SafeGuidance

% Compute delta-v required to reach a target position, given pos. and vel.
 Note: do not supply a time of t = 2*pi/n, as it results in a singularity!

--------------------------------------------------------------------------
   Form:
   dV = PositionDeltaV( r0, v0, rDes, n, t )

   ------
   Inputs
   ------
   r0    (3,1)  initial relative position Hills
   v0    (3,1)  initial relative velocity Hills
   rDes  (3,1)  desired relative position Hills
   n     (1,1)  mean orbit rate
   t     (1,1)  time span from now until desired position

   -------
   Outputs
   -------
   dV   (3,1)   required delta-V

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

Children:

FormationFlying: Dynamics/HillsEqns

Back to the FormationFlying Module page