MeasSunSensorDigital:

Path: SC/Sensor

% Returns digital sun sensor measurements.
   The sensor frame assumes that z is normal to the focal plane.

   The field "kQ" selects the quaternion from the state vector x.
   The outputs are angle about x (roll) and y (pitch) in the sensor frame.
   The sun must be in the +z hemisphere.

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

--------------------------------------------------------------------------
   Form:
   y = MeasSunSensorDigital( x, d )
   d = MeasSunSensorDigital
--------------------------------------------------------------------------

   ------
   Inputs    
   ------
   x         (:,1)  State vector
   d         (1,1)  Data structure
                    .kQ            (1,4) Quaternion indices
                    .qBToS         (4,n) Body to sun sensor quaternion
                    .bias          (2,n) Bias
                    .scale         (2,n) Scale factor
                    .noise         (2,n) 1 sigma noise
                    .fOV           (1,1) Field of view
                    .quantization	(1,1) Least significant bit
                    .uSunECI       (3,1) Sun unit vector


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

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

Children:

Common: Quaternion/QForm

Back to the SC Module page