StarPrediction:

Path: SpacecraftEstimation/StarCentroiding

% Finds stars in the field of view
 Return the indices of the star vectors within the camera FOV
 qBoresight locates the camera axis in the inertial frame assuming the
 boresight is along +z. This uses persistent store. Pixels are square.

--------------------------------------------------------------------------
   Form:
   [stars,xY] = StarPrediction(camera,uStar,qBoresight)
--------------------------------------------------------------------------

   ------0
   Inputs
   ------
   camera      (.)   Camera data structure
                     .m      (1,1) Number of pixels in x
                     .n      (1,1) Number of pixels in y
                     .pixel	(1,1) Pixel width
                     .f      (1,1) Focal length
   uStar       (3,:) Star vectors
   qBoresight  (4,1) Quaternion from camera base to catalog

   ------
   Outputs
   ------
   v           (1,:) Star ids
   xY          (2,:) Star focal plane locations

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

Children:

SC: Sensor/U2Pix
Common: Quaternion/Q2Mat

Back to the SpacecraftEstimation Module page