experience and innovation

Now Hiring!

-------------------------------------------------------------------------------
   Runs the collision monitoring algorithm for n spacecraft relative
   to the self spacecraft (which is at [0;0;0]) when the spacecraft are
   maneuvering. Calls CollisionMonAlg.
   NOTE: nPts for GenerateTimeVector has been made an input in C++
-------------------------------------------------------------------------------
   Form:
   [prob, d, xhat, Shat, tProp] = CollisionSurvey( d, t0, y, mvr1, mvr2 );
--------------------------------------------------------------------------

   Inputs
   ------
   d        :     Algorithm data structure (see CollisionMonAlg)
   t0      (1)    Start time
   y       (6,n)  Spacecraft relative state in Hill's frame (km, km/s)
   mvr1    (1)    Maneuvers scheduled for self
   mvr2    (n)    Maneuver(s) scheduled for relative spacecraft
                  .iD
                  .achieve
                  .nBurns
                  .burnData (struct)
                  .t0        [s]
                  .tF        [s]


   Outputs
   --------
   prob   {n}(1,:)     probability of collision    
   d      {n}(1,:)     minimum distance between spacecraft position ellipsoids
   xhat   {n}(6,:)     xhat, ellipsoid centers
   Shat   {n}(6,6,:)   Shat, ellipsoid size matrices
   tProp     (1,:)     Propagated time vector
 
-------------------------------------------------------------------------------