StarMeasurement:

Path: SpacecraftEstimation/StellarAttDet

% Computes the measurement matrix, measurements and noise
 matrix given a pixel map from the star tracker. Will update
 q if it has three valid stars and the attitude error is large.

--------------------------------------------------------------------------
   Form:
   [h, dz, R, q] = StarMeasurement( r, starDataMeas, q, qBodyToCamera, starData, fScale )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   r             (1,1)    Measurement noise
   starDataMeas  (3,m)    m vectors of [intensity,xloc,yloc]
   q             (4,1)    Quaternion from ECI to body axes
   qBodyToCamera (4,1)    Quaternion from body to sensor axes
   starData               Star Data
                          .starMatrix (4,n)     Star catalog containing n stars stored as [intensity;u]
                          .starID     (1,m)     Identified stars
                          or just starMatrix (4,n)
   fScale        (1,1)    Sensor scale factor

   -------
   Outputs
   -------
   h            (n,6)     Linearized measurement matrix
   dz           (n)       The measurement residuals
   R            (n,n)     Measurement noise           
   q            (4,1)     Quaternion from ECI to body axes

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

Children:

SC: Sensor/U2Pix
SpacecraftEstimation: StellarAttDet/QFromU
Common: General/DeBlankLT
Common: Graphics/NewFig
Common: Graphics/PltStyle
Common: Graphics/TitleS
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Graphics/ZLabelS
Common: Quaternion/Mat2Q
Common: Quaternion/Q2Mat
Common: Quaternion/QForm
Common: Quaternion/QMult
Common: Quaternion/QPose
Common: Quaternion/QRand
Common: Quaternion/QUnit
Math: Linear/DupVect
Math: Linear/Mag
Math: Linear/Orthogonalize
Math: Linear/Skew
Math: Linear/Unit

Back to the SpacecraftEstimation Module page