MeasSunSensorAnalog:

Path: SC/Sensor

% Returns analog sun sensor measurements.
   The output is modeled as

   m(1,1) + m(1,2)*cos(theta) + ... + m(1,n)*cos(theta)^(n-1)

   The field "kQ" selects the quaternion from the state vector x.

   If no inputs are given it will return the default data structure.

   Since version 11.
--------------------------------------------------------------------------
   Form:
   y = MeasSunSensorAnalog( x, d )
   d = MeasSunSensorAnalog
--------------------------------------------------------------------------

   ------
   Inputs    
   ------
   x         (:,1)  State vector
   d         (1,1)  Data structure
                    .kQ        (1,4) Quaternion state
                    .u         (3,n) Sun sensor eyes unit vectors
                    .m         (n,:) Sun sensor coefficients
                    .noise     (1,n) 1 sigma noise
                    .uSunECI	  (3,1) Sun unit vector

   -------
   Outputs
   -------
   y         (n,1)   Measurements

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

Children:

Common: Quaternion/QForm

Back to the SC Module page