experience and innovation

Now Hiring!

-------------------------------------------------------------------------------
   Sun sensor attitude determination. 
   The sun sensors may be attached to the spacecraft solar array.
   See also SSEye.
-------------------------------------------------------------------------------
   Form:
   [yaw, sAPitch] = SSAD( mSS, eyeCoeff, uSun, roll )
-------------------------------------------------------------------------------

   ------
   Inputs
   ------
   mSS          (n)       Magnitude of each sun sensor output
   eyeCoeff     (m)       Eye coefficients where mSS = a[1]*x^0 + a[2]*x^1 +...
                          where x = cos(theta)
   uSun         (3,1)     Sun vector in the body frame
   roll         (1,1)     Measured roll angle

   -------
   Outputs
   -------
   yaw           (1,1)    Yaw Measurement
   sAPitch       (1,1)    Solar array pitch measurement

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